Merge pull request #5491 from tobiasd/20180725-issue1391

Make profile settings available in the user settings
This commit is contained in:
Michael Vogel 2018-07-25 11:18:01 +02:00 committed by GitHub
commit 3e5f8ee70a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -79,6 +79,7 @@ General
../settings ../settings
--------- ---------
* o - Account * o - Account
* p - Profiles
* t - Additional features * t - Additional features
* w - Social Networks * w - Social Networks
* l - Addons * l - Addons

View file

@ -60,6 +60,13 @@ function settings_init(App $a)
], ],
]; ];
$tabs[] = [
'label' => L10n::t('Profiles'),
'url' => 'profiles',
'selected' => (($a->argc == 1) && ($a->argv[0] === 'profiles')?'active':''),
'accesskey' => 'p',
];
if (Feature::get()) { if (Feature::get()) {
$tabs[] = [ $tabs[] = [
'label' => L10n::t('Additional features'), 'label' => L10n::t('Additional features'),