Better title for the different communities
This commit is contained in:
parent
4949be60a8
commit
662d2b31a1
2 changed files with 8 additions and 3 deletions
|
@ -15,6 +15,11 @@ General
|
||||||
* f: notifications
|
* f: notifications
|
||||||
* u: user menu (in themes "vier" and "quattro")
|
* u: user menu (in themes "vier" and "quattro")
|
||||||
|
|
||||||
|
/community
|
||||||
|
--------
|
||||||
|
* l: Local community
|
||||||
|
* g: Global community
|
||||||
|
|
||||||
/profile
|
/profile
|
||||||
--------
|
--------
|
||||||
* m: Status Messages and Posts
|
* m: Status Messages and Posts
|
||||||
|
|
|
@ -72,7 +72,7 @@ function community_content(App $a, $update = 0)
|
||||||
|
|
||||||
if ((local_user() || in_array($page_style, [CP_USERS_AND_GLOBAL, CP_USERS_ON_SERVER])) && empty(Config::get('system', 'singleuser'))) {
|
if ((local_user() || in_array($page_style, [CP_USERS_AND_GLOBAL, CP_USERS_ON_SERVER])) && empty(Config::get('system', 'singleuser'))) {
|
||||||
$tabs[] = [
|
$tabs[] = [
|
||||||
'label' => L10n::t('Community'),
|
'label' => L10n::t('Local Community'),
|
||||||
'url' => 'community/local',
|
'url' => 'community/local',
|
||||||
'sel' => $content == 'local' ? 'active' : '',
|
'sel' => $content == 'local' ? 'active' : '',
|
||||||
'title' => L10n::t('Posts from local users on this server'),
|
'title' => L10n::t('Posts from local users on this server'),
|
||||||
|
@ -83,10 +83,10 @@ function community_content(App $a, $update = 0)
|
||||||
|
|
||||||
if (local_user() || in_array($page_style, [CP_USERS_AND_GLOBAL, CP_GLOBAL_COMMUNITY])) {
|
if (local_user() || in_array($page_style, [CP_USERS_AND_GLOBAL, CP_GLOBAL_COMMUNITY])) {
|
||||||
$tabs[] = [
|
$tabs[] = [
|
||||||
'label' => L10n::t('Global Timeline'),
|
'label' => L10n::t('Global Community'),
|
||||||
'url' => 'community/global',
|
'url' => 'community/global',
|
||||||
'sel' => $content == 'global' ? 'active' : '',
|
'sel' => $content == 'global' ? 'active' : '',
|
||||||
'title' => L10n::t('Posts from users of the federated network'),
|
'title' => L10n::t('Posts from users of the whole federated network'),
|
||||||
'id' => 'community-global-tab',
|
'id' => 'community-global-tab',
|
||||||
'accesskey' => 'g'
|
'accesskey' => 'g'
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue