Untitled
public php v1 · immutablefunction suthfix_menu($may_cache) { $items = array(); if (!$may_cache) { if (checkform()) { $items[] = array('path' => 'forum', 'title' => t('Forums Menu'), 'callback' => 'forum_page', 'access' => TRUE, 'type' => MENU_DYNAMIC_ITEM); } else { $items[] = array('path' => 'forum', 'title' => t('Forums'), 'callback' => 'no_form', 'access' => TRUE, 'type' => MENU_DYNAMIC_ITEM); }return $items;}