mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
We now have a single menu item again
This commit is contained in:
parent
3e8bde5730
commit
f66f631079
8 changed files with 22 additions and 39 deletions
|
@ -149,12 +149,8 @@ function nav_info(App $a)
|
|||
}
|
||||
}
|
||||
|
||||
if (in_array(Config::get('system', 'community_page_style'), [CP_USERS_ON_SERVER, CP_USERS_AND_GLOBAL])) {
|
||||
$nav['community'] = array('community/local', t('Community'), '', t('Conversations on this site'));
|
||||
}
|
||||
|
||||
if (in_array(Config::get('system', 'community_page_style'), [CP_GLOBAL_COMMUNITY, CP_USERS_AND_GLOBAL])) {
|
||||
$nav['global'] = array('community/global', t('Global Timeline'), '', t('Conversations on the network'));
|
||||
if (Config::get('system', 'community_page_style') != CP_NO_COMMUNITY_PAGE) {
|
||||
$nav['community'] = array('community', t('Community'), '', t('Conversations on this and other servers'));
|
||||
}
|
||||
|
||||
if (local_user()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue