]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #5491 from tobiasd/20180725-issue1391
authorMichael Vogel <icarus@dabo.de>
Wed, 25 Jul 2018 09:18:01 +0000 (11:18 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Jul 2018 09:18:01 +0000 (11:18 +0200)
Make profile settings available in the user settings

doc/Accesskeys.md
mod/settings.php

index 7434fc049867d326cde28e6aa1033e3dd588fd6d..8e889fa99c28bee8894d513d9fbddecd966351eb 100644 (file)
@@ -79,6 +79,7 @@ General
 ../settings
 ---------
 * o - Account
+* p - Profiles
 * t - Additional features
 * w - Social Networks
 * l - Addons
index e8e1eddc213dfcaa21a00a17d5fb97c72002d4ec..aec0334d71eb1207c460a50a4c3f453aeea88497 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'),