Commit 16619439 authored by Evan Prodromou's avatar Evan Prodromou

Move some accounting stuff from publicgroupnav to action

More dl's and dd's. Rather than replicate them in every sub-class,
let's just put them in one place.
parent e697faf2
......@@ -297,7 +297,12 @@ class Action extends HTMLOutputter // lawsuit
function showCore()
$this->elementStart('div', array('id' => 'core'));
$this->elementStart('dl', array('id' => 'site_nav_local_views'));
$this->element('dt', null, _('Local views'));
......@@ -77,9 +77,6 @@ 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'),
......@@ -97,7 +94,5 @@ class PublicGroupNav extends Widget
_("Popular notices"), $this->action == 'favorited', 'nav_timeline_favorited');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment