Revert "primarynav uses menustart and menuend"
This reverts commit 8e03c83a57
.
This commit is contained in:
parent
8e03c83a57
commit
6ab7329e85
@ -50,7 +50,8 @@ class PrimaryNav extends Menu
|
||||
function show()
|
||||
{
|
||||
$user = common_current_user();
|
||||
$this->menuStart();
|
||||
$this->action->elementStart('ul', array('class' => 'nav',
|
||||
'id' => 'site_nav_global_primary'));
|
||||
if (Event::handle('StartPrimaryNav', array($this->action))) {
|
||||
if (!empty($user)) {
|
||||
$this->action->menuItem(common_local_url('profilesettings'),
|
||||
@ -88,12 +89,7 @@ class PrimaryNav extends Menu
|
||||
|
||||
Event::handle('EndPrimaryNav', array($this->action));
|
||||
}
|
||||
$this->menuEnd();
|
||||
|
||||
$this->action->elementEnd('ul');
|
||||
}
|
||||
|
||||
function id()
|
||||
{
|
||||
return 'site_nav_global_primary';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user