- $this->out->menuItem(($this->lists->mainpage) ?
- $this->lists->mainpage :
- common_local_url('showprofiletag',
- array('tagger' => $this->profile->nickname,
- 'tag' => $this->lists->tag)),
- $this->lists->tag,
- '',
- $action == 'showprofiletag' &&
- $this->action->arg('tagger') == $this->profile->nickname &&
- $this->action->arg('tag') == $this->lists->tag,
- 'nav_timeline_list_'.$this->lists->id,
- 'mode-' . $mode);
- }
- Event::handle('EndListsNav', array($this));
- }
+ $items[] = array('showprofiletag',
+ array('nickname' => $this->profile->getNickname(),
+ 'tag' => $this->lists->tag),
+ $this->lists->tag,
+ '');
+ }