Merge pull request #5491 from tobiasd/20180725-issue1391
Make profile settings available in the user settings
This commit is contained in:
commit
3e5f8ee70a
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue