summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-15 21:21:55 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-15 21:21:55 +0000
commit621c58a292884cadadbee9ad760e0c0c603f0a75 (patch)
treed68eb3564646feefd998c35e6d5b126f4cd8ee39
parent1fc03ba63aaa50a1ed4ade38ed449e79bee70ecd (diff)
Updated show()'s site_nav_local_views'
-rw-r--r--lib/publicgroupnav.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/publicgroupnav.php b/lib/publicgroupnav.php
index abda8663e..ee087d8a8 100644
--- a/lib/publicgroupnav.php
+++ b/lib/publicgroupnav.php
@@ -77,22 +77,27 @@ class PublicGroupNav extends Widget
function show()
{
+ $this->action->elementStart('dl', array('id' => 'site_nav_local_views'));
+ $this->action->element('dt', null, _('Local views'));
+ $this->action->elementStart('dd', null);
$this->action->elementStart('ul', array('class' => 'nav'));
- $this->out->menuItem(common_local_url('public'), _('Public'),
+ $this->out->menuItem(common_local_url('public'), _('Public'), 'nav_timeline_public',
_('Public timeline'), $this->action == 'public');
- $this->out->menuItem(common_local_url('tag'), _('Recent tags'),
+ $this->out->menuItem(common_local_url('tag'), _('Recent tags'), 'nav_recent-tags',
_('Recent tags'), $this->action == 'tag');
if (count(common_config('nickname', 'featured')) > 0) {
- $this->out->menuItem(common_local_url('featured'), _('Featured'),
+ $this->out->menuItem(common_local_url('featured'), _('Featured'), 'nav_featured',
_('Featured users'), $this->action == 'featured');
}
- $this->out->menuItem(common_local_url('favorited'), _('Popular'),
+ $this->out->menuItem(common_local_url('favorited'), _('Popular'), 'nav_timeline_favorited',
_("Popular notices"), $this->action == 'favorited');
$this->action->elementEnd('ul');
+ $this->action->elementEnd('dd');
+ $this->action->elementEnd('dl')
}
}