]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
move help menu and change class of menuitem li,s
authorEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 19:45:53 +0000 (15:45 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 19:45:53 +0000 (15:45 -0400)
darcs-hash:20080610194553-84dde-adf2c70341bda9e3c06e2513426cddbfdf4c5d53.gz

lib/util.php

index e4434388791d00b56d31fa10754b107b5d3afc2a..a7570e814e5e4987066b403511c61c7be3724f30 100644 (file)
@@ -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');
 }