summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-15 20:15:36 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-15 20:15:36 +0000
commit168aef366543cc7f9c554a266a4e0076049c84e0 (patch)
treefe76ec46a241e205e05af9263919738153741be0 /lib
parent7bb074898f0be7e606eeb9844adcba001c571b38 (diff)
parent1915a07fdadb57a675131a048c9829583f53cc79 (diff)
Merge branch 'uiredesign' of ../evan into uiredesign
Diffstat (limited to 'lib')
-rw-r--r--lib/publicgroupnav.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/publicgroupnav.php b/lib/publicgroupnav.php
index c85882496..abda8663e 100644
--- a/lib/publicgroupnav.php
+++ b/lib/publicgroupnav.php
@@ -53,7 +53,7 @@ require_once INSTALLDIR.'/lib/widget.php';
* @see HTMLOutputter
*/
-class PublicGroupNav
+class PublicGroupNav extends Widget
{
var $action = null;
@@ -79,18 +79,18 @@ class PublicGroupNav
{
$this->action->elementStart('ul', array('class' => 'nav'));
- $this->menuItem(common_local_url('public'), _('Public'),
+ $this->out->menuItem(common_local_url('public'), _('Public'),
_('Public timeline'), $this->action == 'public');
- $this->menuItem(common_local_url('tag'), _('Recent tags'),
+ $this->out->menuItem(common_local_url('tag'), _('Recent tags'),
_('Recent tags'), $this->action == 'tag');
if (count(common_config('nickname', 'featured')) > 0) {
- $this->menuItem(common_local_url('featured'), _('Featured'),
+ $this->out->menuItem(common_local_url('featured'), _('Featured'),
_('Featured users'), $this->action == 'featured');
}
- $this->menuItem(common_local_url('favorited'), _('Popular'),
+ $this->out->menuItem(common_local_url('favorited'), _('Popular'),
_("Popular notices"), $this->action == 'favorited');
$this->action->elementEnd('ul');