Browse Source

Correction of 1177 and added modification to 1171

pull/3304/head
rebeka-catalina 4 years ago
parent
commit
895a6254a0
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      mod/settings.php

+ 2
- 3
mod/settings.php View File

@ -1168,14 +1168,13 @@ function settings_content(App $a) {
$profile_in_dir = '<input type="hidden" name="profile_in_directory" value="1" />';
} 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("Depending on the server settings 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_in_directory, t("Depending on the server settings your profile may be visible in public."), $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'))),));
} else {
$profile_in_net_dir = '';
}


Loading…
Cancel
Save