diff options
author | Mario <mario@mariovavti.com> | 2022-01-12 21:08:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-12 21:08:29 +0000 |
commit | abe3039926dd388108e620148868880cb1da3fa3 (patch) | |
tree | 5df8a062da5e7829d23045fc7e197392a9655baa /Zotlabs/Module/Settings | |
parent | 82a1117e917a0c97de961f31f4d4aea7affa069f (diff) | |
download | volse-hubzilla-abe3039926dd388108e620148868880cb1da3fa3.tar.gz volse-hubzilla-abe3039926dd388108e620148868880cb1da3fa3.tar.bz2 volse-hubzilla-abe3039926dd388108e620148868880cb1da3fa3.zip |
ux improvements
Diffstat (limited to 'Zotlabs/Module/Settings')
-rw-r--r-- | Zotlabs/Module/Settings/Profiles.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Settings/Profiles.php b/Zotlabs/Module/Settings/Profiles.php index 67b03e04f..a1a1b8d96 100644 --- a/Zotlabs/Module/Settings/Profiles.php +++ b/Zotlabs/Module/Settings/Profiles.php @@ -13,14 +13,14 @@ class Profiles { $module = substr(strrchr(strtolower(static::class), '\\'), 1); check_form_security_token_redirectOnErr('/settings/' . $module, 'settings_' . $module); - + $features = get_module_features($module); process_module_features_post(local_channel(), $features, $_POST); $profile_assign = ((x($_POST,'profile_assign')) ? notags(trim($_POST['profile_assign'])) : ''); set_pconfig(local_channel(),'system','profile_assign',$profile_assign); - + Libsync::build_sync_packet(); if($_POST['rpath']) @@ -38,7 +38,7 @@ class Profiles { $extra_settings_html = ''; if(feature_enabled(local_channel(),'multi_profiles')) - $extra_settings_html = contact_profile_assign(get_pconfig(local_channel(),'system','profile_assign','')); + $extra_settings_html = contact_profile_assign(get_pconfig(local_channel(),'system','profile_assign',''), t('Default profile for new contacts')); $tpl = get_markup_template("settings_module.tpl"); @@ -51,7 +51,7 @@ class Profiles { '$extra_settings_html' => $extra_settings_html, '$submit' => t('Submit') )); - + return $o; } |