From: Hypolite Petovan Date: Sun, 9 Apr 2017 03:17:31 +0000 (-0400) Subject: Merge branch 'develop' into space_before_t X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=472345d7402e28cecb82a8c7de35625b0f3fac40;p=friendica.git Merge branch 'develop' into space_before_t --- 472345d7402e28cecb82a8c7de35625b0f3fac40 diff --cc mod/settings.php index eebac66781,67aa40de5b..1d83251d4b --- a/mod/settings.php +++ b/mod/settings.php @@@ -1164,17 -1164,17 +1164,17 @@@ function settings_content(App $a) } $opt_tpl = get_markup_template("field_yesno.tpl"); -- if(get_config('system','publish_all')) { ++ if (get_config('system','publish_all')) { $profile_in_dir = ''; } else { -- $profile_in_dir = replace_macros($opt_tpl,array( - '$field' => array('profile_in_directory', t('Publish your default profile in your local site directory?'), $profile['publish'], '', array(t('No'), t('Yes'))), - '$field' => array('profile_in_directory', t('Publish your default profile in your local site directory?'), $profile['publish'], t("Your profile may be visible in public."), array(t('No'),t('Yes'))) ++ $profile_in_dir = replace_macros($opt_tpl, array( ++ '$field' => array('profile_in_directory', t('Publish your default profile in your local site directory?'), $profile['publish'], t("Your profile may be visible in public."), array(t('No'), t('Yes'))) )); } if (strlen(get_config('system','directory'))) { -- $profile_in_net_dir = replace_macros($opt_tpl,array( - '$field' => array('profile_in_netdirectory', t('Publish your default profile in the global social directory?'), $profile['net-publish'], '', array(t('No'), t('Yes'))), - '$field' => array('profile_in_netdirectory', t('Publish your default profile in the global social directory?'), $profile['net-publish'], '', array(t('No'),t('Yes'))) ++ $profile_in_net_dir = replace_macros($opt_tpl, array( ++ '$field' => array('profile_in_netdirectory', t('Publish your default profile in the global social directory?'), $profile['net-publish'], '', array(t('No'), t('Yes'))) )); } else { $profile_in_net_dir = '';