Network wide feed link would NEVER show!
This commit is contained in:
parent
50f0235654
commit
b24d711f55
@ -64,7 +64,8 @@ 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->action->getScoped() instanceof Profile && common_config('public', 'localonly')) {
|
if (!common_config('public', 'localonly') || $this->action->getScoped() instanceof Profile) {
|
||||||
|
// Allow network wide view if you're logged in
|
||||||
// TRANS: Menu item in search group navigation panel.
|
// TRANS: Menu item in search group navigation panel.
|
||||||
$this->out->menuItem(common_local_url('networkpublic'), _m('MENU','Network'),
|
$this->out->menuItem(common_local_url('networkpublic'), _m('MENU','Network'),
|
||||||
// TRANS: Menu item title in search group navigation panel.
|
// TRANS: Menu item title in search group navigation panel.
|
||||||
|
Loading…
Reference in New Issue
Block a user