summaryrefslogtreecommitdiff
path: root/lib/publicgroupnav.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-15 21:33:01 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-15 21:33:01 +0000
commit8521cc6219d014e37779e80b09e6b63c81af952d (patch)
treebfbea3e0c24673d7c20fa87f67cefaf4ef885a2c /lib/publicgroupnav.php
parent60fa833908da5476e7c2e971fb60c85d7fa134e8 (diff)
Using id param properly
Diffstat (limited to 'lib/publicgroupnav.php')
-rw-r--r--lib/publicgroupnav.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/publicgroupnav.php b/lib/publicgroupnav.php
index 458614338..1e5ed7359 100644
--- a/lib/publicgroupnav.php
+++ b/lib/publicgroupnav.php
@@ -82,19 +82,19 @@ class PublicGroupNav extends Widget
$this->action->elementStart('dd', null);
$this->action->elementStart('ul', array('class' => 'nav'));
- $this->out->menuItem(common_local_url('public'), _('Public'), 'nav_timeline_public',
- _('Public timeline'), $this->action == 'public');
+ $this->out->menuItem(common_local_url('public'), _('Public'),
+ _('Public timeline'), $this->action == 'public', 'nav_timeline_public');
- $this->out->menuItem(common_local_url('tag'), _('Recent tags'), 'nav_recent-tags',
- _('Recent tags'), $this->action == 'tag');
+ $this->out->menuItem(common_local_url('tag'), _('Recent tags'),
+ _('Recent tags'), $this->action == 'tag', 'nav_recent-tags');
if (count(common_config('nickname', 'featured')) > 0) {
- $this->out->menuItem(common_local_url('featured'), _('Featured'), 'nav_featured',
- _('Featured users'), $this->action == 'featured');
+ $this->out->menuItem(common_local_url('featured'), _('Featured'),
+ _('Featured users'), $this->action == 'featured', 'nav_featured');
}
- $this->out->menuItem(common_local_url('favorited'), _('Popular'), 'nav_timeline_favorited',
- _("Popular notices"), $this->action == 'favorited');
+ $this->out->menuItem(common_local_url('favorited'), _('Popular'),
+ _("Popular notices"), $this->action == 'favorited', 'nav_timeline_favorited');
$this->action->elementEnd('ul');
$this->action->elementEnd('dd');