Make profile settings available in the user settings
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 25 Jul 2018 07:37:08 +0000 (09:37 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 25 Jul 2018 07:37:08 +0000 (09:37 +0200)
mod/settings.php

index e8e1edd..aec0334 100644 (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'),