X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fhtml%2Fpassword.php;h=837b70fc27942afc3b52d3c8ade23f21bb130703;hb=52e32bfcf171d32883c2e149e5057a8094626776;hp=0d807407fc82ae7ccac3a211099526f03e38ca94;hpb=b5216eb39c3051ae688dd810c738de7836247d0d;p=gosa.git diff --git a/gosa-core/html/password.php b/gosa-core/html/password.php index 0d807407f..837b70fc2 100644 --- a/gosa-core/html/password.php +++ b/gosa-core/html/password.php @@ -1,21 +1,23 @@ 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; } @@ -235,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 */ - show_errors($message); + msg_dialog::displayChecks($message); } else { /* Passed quality check, just try to change the password now */ @@ -249,7 +251,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['apply'])){ } if ($output != ""){ $message[]= _("External password changer reported a problem: ".$output); - show_errors($message); + msg_dialog::displayChecks($message); } else { if ($method != ""){ change_password ($ui->dn, $_POST['new_password'], 0, $method);