summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-10 15:45:53 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-10 15:45:53 -0400
commitc9a899781b44beabb6fc71fc737a50d9b160e269 (patch)
tree1d639962adb1544d2875dc67f8adf5eacb6c636a /lib
parent36894e6a7f804da280c0eacaa3c86d29225e6e2f (diff)
move help menu and change class of menuitem li,s
darcs-hash:20080610194553-84dde-adf2c70341bda9e3c06e2513426cddbfdf4c5d53.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util.php b/lib/util.php
index e44343887..a7570e814 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');
}