function show()
{
$user = common_current_user();
- $this->action->elementStart('ul', array('class' => 'nav',
- 'id' => 'site_nav_global_primary'));
+ $this->menuStart();
if (Event::handle('StartPrimaryNav', array($this->action))) {
if (!empty($user)) {
$this->action->menuItem(common_local_url('profilesettings'),
Event::handle('EndPrimaryNav', array($this->action));
}
-
+ $this->menuEnd();
$this->action->elementEnd('ul');
}
+
+ function id()
+ {
+ return 'site_nav_global_primary';
+ }
}