Show network public feed link in PublicGroupNav

This commit is contained in:
Mikael Nordfeldth 2015-06-04 00:53:35 +02:00
parent 551c69ed56
commit 26631bf9e6

View File

@ -64,6 +64,12 @@ class PublicGroupNav extends Menu
// TRANS: Menu item title in search group navigation panel. // TRANS: Menu item title in search group navigation panel.
_('Public timeline'), $this->actionName == 'public', 'nav_timeline_public'); _('Public timeline'), $this->actionName == 'public', 'nav_timeline_public');
} }
if (!$this->scoped instanceof Profile && common_config('public', 'localonly')) {
// TRANS: Menu item in search group navigation panel.
$this->out->menuItem(common_local_url('networkpublic'), _m('MENU','Network'),
// TRANS: Menu item title in search group navigation panel.
_('Network public timeline'), $this->actionName == 'networkpublic', 'nav_timeline_networkpublic');
}
// TRANS: Menu item in search group navigation panel. // TRANS: Menu item in search group navigation panel.
$this->out->menuItem(common_local_url('groups'), _m('MENU','Groups'), $this->out->menuItem(common_local_url('groups'), _m('MENU','Groups'),