- // Stub section w/ home link
- $this->action->elementStart('ul');
- $this->action->element('h3', null, _('Home'));
- $this->action->elementStart('ul', 'nav');
- $this->out->menuItem(common_local_url('all', array('nickname' =>
- $nickname)),
- _('Home'),
- sprintf(_('%s and friends'), $name),
- $this->action == 'all', 'nav_timeline_personal');
-
- $this->action->elementEnd('ul');
- $this->action->elementEnd('ul');
-
+ $stub = new HomeStubNav($this->action);
+ $this->submenu(_m('MENU','Home'), $stub);
+