From: Evan Prodromou Date: Tue, 10 Jun 2008 19:45:53 +0000 (-0400) Subject: move help menu and change class of menuitem li,s X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9a899781b44beabb6fc71fc737a50d9b160e269;p=quix0rs-gnu-social.git move help menu and change class of menuitem li,s darcs-hash:20080610194553-84dde-adf2c70341bda9e3c06e2513426cddbfdf4c5d53.gz --- diff --git a/lib/util.php b/lib/util.php index e443438879..a7570e814e 100644 --- a/lib/util.php +++ b/lib/util.php @@ -226,6 +226,8 @@ function common_nav_menu() { $user = common_current_user(); common_element_start('ul', array('id' => 'nav')); common_menu_item(common_local_url('public'), _t('Public')); + common_menu_item(common_local_url('doc', array('title' => 'help')), + _t('Help')); if ($user) { common_menu_item(common_local_url('profilesettings'), _t('Settings')); @@ -253,8 +255,6 @@ function common_foot_menu() { common_element_start('ul', array('id' => 'nav_sub')); common_menu_item(common_local_url('doc', array('title' => 'about')), _t('About')); - common_menu_item(common_local_url('doc', array('title' => 'help')), - _t('Help')); common_menu_item(common_local_url('doc', array('title' => 'privacy')), _t('Privacy')); common_menu_item(common_local_url('doc', array('title' => 'source')), @@ -267,7 +267,7 @@ function common_menu_item($url, $text, $title=NULL) { if ($title) { $attrs['title'] = $title; } - common_element_start('li', 'menuitem'); + common_element_start('li'); common_element('a', $attrs, $text); common_element_end('li'); }