From: Mikael Nordfeldth Date: Wed, 3 Jun 2015 22:53:35 +0000 (+0200) Subject: Show network public feed link in PublicGroupNav X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=26631bf9e613a20157e23ae6310b301b1aaf0445;p=quix0rs-gnu-social.git Show network public feed link in PublicGroupNav --- 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'),