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
---------
* o - Account
* p - Profiles
* t - Additional features
* w - Social Networks
* 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()) {
$tabs[] = [
'label' => L10n::t('Additional features'),