if (!empty($user)) {
$pn = new PersonalGroupNav($this->action);
$this->submenu(_m('Home'), $pn);
-
- $sn = new SubGroupNav($this->action, $user);
- $this->submenu(_m('Profile'), $sn);
}
$bn = new PublicGroupNav($this->action);
_('Home'),
sprintf(_('%s and friends'), $name),
$action == 'all', 'nav_timeline_personal');
+ $this->out->menuItem(common_local_url('showstream', array('nickname' =>
+ $this->user->nickname)),
+ _('Profile'),
+ (empty($profile)) ? $this->user->nickname : $profile->getBestName(),
+ $action == 'showstream',
+ 'nav_profile');
$this->out->menuItem(common_local_url('replies', array('nickname' =>
$nickname)),
_('Replies'),