All pastes #758226 Raw Edit

Untitled

public php v1 · immutable
·published 2007-11-02 00:33 UTC
rendered paste body
function 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;}