summaryrefslogtreecommitdiff
path: root/lib/personalgroupnav.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 06:33:45 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 06:33:45 +0000
commite7687c66b21fec1a2db524842505d229ce896e72 (patch)
treedc7bae27b7e3bcd5ae070ab4052c006efac9041c /lib/personalgroupnav.php
parent5a10287bc3e2ee2b2529bd95ce73d22e8c237e22 (diff)
Using @id instead of @class for navigation li
Diffstat (limited to 'lib/personalgroupnav.php')
-rw-r--r--lib/personalgroupnav.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/personalgroupnav.php b/lib/personalgroupnav.php
index 5d727a505..63e6138df 100644
--- a/lib/personalgroupnav.php
+++ b/lib/personalgroupnav.php
@@ -91,28 +91,28 @@ class PersonalGroupNav extends Widget
$user_profile = false;
}
- $this->out->elementStart('ul', array('id' => 'nav_views'));
+ $this->out->elementStart('ul', array('class' => 'nav'));
$this->out->menuItem(common_local_url('all', array('nickname' =>
$nickname)),
_('Personal'),
sprintf(_('%s and friends'), (($user_profile && $user_profile->fullname) ? $user_profile->fullname : $nickname)),
- $action == 'all');
+ $action == 'all', 'nav_timeline_personal');
$this->out->menuItem(common_local_url('replies', array('nickname' =>
$nickname)),
_('Replies'),
sprintf(_('Replies to %s'), (($user_profile && $user_profile->fullname) ? $user_profile->fullname : $nickname)),
- $action == 'replies');
+ $action == 'replies', 'nav_timeline_replies');
$this->out->menuItem(common_local_url('showstream', array('nickname' =>
$nickname)),
_('Profile'),
($user_profile && $user_profile->fullname) ? $user_profile->fullname : $nickname,
- $action == 'showstream');
+ $action == 'showstream', 'nav_profile');
$this->out->menuItem(common_local_url('showfavorites', array('nickname' =>
$nickname)),
_('Favorites'),
sprintf(_('%s\'s favorite notices'), ($user_profile) ? $user_profile->getBestName() : _('User')),
- $action == 'showfavorites');
+ $action == 'showfavorites', 'nav_timeline_favorites');
$cur = common_current_user();