X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fpassword.php;h=837b70fc27942afc3b52d3c8ade23f21bb130703;hb=3c635e52dd5a36f4ef1ef1ee5eee6ae86cf42746;hp=1391d03a787a0320f96e523fec6050a8964f28e8;hpb=5f9cc66e9b9a37e62621851b28c0eb9075e370aa;p=gosa.git diff --git a/gosa-core/html/password.php b/gosa-core/html/password.php index 1391d03a7..837b70fc2 100644 --- a/gosa-core/html/password.php +++ b/gosa-core/html/password.php @@ -55,7 +55,7 @@ session::set('LastError',""); /* Check if CONFIG_FILE is accessible */ if (!is_readable(CONFIG_DIR."/".CONFIG_FILE)){ - msg_dialog::display("", sprintf(_("GOsa configuration %s/%s is not readable. Aborted."),CONFIG_DIR,CONFIG_FILE), FATAL_ERROR_DIALOG); + msg_dialog::display(_("Fatal error"), sprintf(_("GOsa configuration %s/%s is not readable. Aborted."),CONFIG_DIR,CONFIG_FILE), FATAL_ERROR_DIALOG); exit; } @@ -75,7 +75,7 @@ if (isset ($config->data['MAIN']['COMPILE'])){ /* Check for compile directory */ if (!(is_dir($smarty->compile_dir) && is_writable($smarty->compile_dir))){ - msg_dialog::display(_("Accessibility"), sprintf(_("Directory '%s' specified as compile directory is not accessible!"), + msg_dialog::display(_("Configuration error"), sprintf(_("Directory '%s' specified as compile directory is not accessible!"), $smarty->compile_dir), FATAL_ERROR_DIALOG); exit; } @@ -237,7 +237,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])){ /* Do we need to show error messages? */ if (count ($message) != 0){ /* Show error message and continue editing */ - msgDialog::displayChecks($message); + msg_dialog::displayChecks($message); } else { /* Passed quality check, just try to change the password now */ @@ -251,7 +251,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])){ } if ($output != ""){ $message[]= _("External password changer reported a problem: ".$output); - msgDialog::displayChecks($message); + msg_dialog::displayChecks($message); } else { if ($method != ""){ change_password ($ui->dn, $_POST['new_password'], 0, $method);