mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
rc: gettext() foo
This commit is contained in:
parent
c8d185a443
commit
ec9fdf7862
@ -44,12 +44,14 @@ printf(_('Do you want to proceed [y|n]? '));
|
||||
|
||||
if (strcasecmp(chop(fgets($fp)), 'y') == 0) {
|
||||
if (isset($config['system']['webgui']['authmode']) &&
|
||||
$config['system']['webgui']['authmode'] != "Local Database") {
|
||||
echo "\n" . gettext('
|
||||
The User manager authentication server is set to "' . $config['system']['webgui']['authmode'] . '".') . "\n" .
|
||||
gettext('Do you want to set it back to Local Database [y|n]?');
|
||||
if (strcasecmp(chop(fgets($fp)), "y") == 0)
|
||||
$config['system']['webgui']['authmode'] = "Local Database";
|
||||
$config['system']['webgui']['authmode'] != 'Local Database') {
|
||||
printf("\n\n");
|
||||
printf(_('The User manager authentication server is set to "%s".'), $config['system']['webgui']['authmode']);
|
||||
printf("\n");
|
||||
printf(_('Do you want to set it back to Local Database [y|n]? '));
|
||||
if (strcasecmp(chop(fgets($fp)), 'y') == 0) {
|
||||
$config['system']['webgui']['authmode'] = 'Local Database';
|
||||
}
|
||||
}
|
||||
$admin_user =& getUserEntryByUID(0);
|
||||
if (!$admin_user) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user