Browse Source

Merge pull request #3304 from rebeka-catalina/local_dir_warning

Local dir warning
pull/3307/head^2
Hypolite Petovan 6 years ago committed by GitHub
parent
commit
29eac5ca49
  1. 4
      mod/settings.php

4
mod/settings.php

@ -1168,13 +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("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')))
));
} else {
$profile_in_net_dir = '';

Loading…
Cancel
Save