Some functions rewritten to hungarian notation, handling of array rewritten
[mailer.git] / inc / modules / admin.php
index 719533118c282da673b8d8cd738f95bbb0ad7623..9bb05dc9ec0814cf6ddd19103a2d8452f32abc84 100644 (file)
@@ -332,7 +332,7 @@ if (!isBooleanConstantAndTrue('admin_registered')) {
                OUTPUT_HTML("<STRONG class=\"admin_fatal\">".ADMIN_LOGOUT_FAILED."</STRONG>");
 
                // Add fatal message
-               ADD_FATAL(CANNOT_UNREG_SESS);
+               addFatalMessage(CANNOT_UNREG_SESS);
        }
 } else {
        // Maybe an Admin want's to login?
@@ -369,13 +369,13 @@ if (!isBooleanConstantAndTrue('admin_registered')) {
        case "404": // Administrator login not found
                $_POST['ok'] = $ret;
                DESTROY_ADMIN_SESSION();
-               ADD_FATAL(ADMIN_NOT_FOUND);
+               addFatalMessage(ADMIN_NOT_FOUND);
                break;
 
        case "pass": // Wrong password
                $_POST['ok'] = $ret;
                DESTROY_ADMIN_SESSION();
-               ADD_FATAL(WRONG_PASS);
+               addFatalMessage(WRONG_PASS);
                break;
 
        default: // Others will be logged