From 26631bf9e613a20157e23ae6310b301b1aaf0445 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 4 Jun 2015 00:53:35 +0200 Subject: [PATCH] Show network public feed link in PublicGroupNav --- lib/publicgroupnav.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/publicgroupnav.php b/lib/publicgroupnav.php index 69347bc0d4..1c9d013293 100644 --- a/lib/publicgroupnav.php +++ b/lib/publicgroupnav.php @@ -64,6 +64,12 @@ class PublicGroupNav extends Menu // TRANS: Menu item title in search group navigation panel. _('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. $this->out->menuItem(common_local_url('groups'), _m('MENU','Groups'), -- 2.39.5