From 4720787ca018e3d701479698f02b5a1df491c466 Mon Sep 17 00:00:00 2001 From: Wesley Miaw Date: Tue, 25 Nov 2003 22:13:56 +0000 Subject: Fleshed out invalid login error response. Only checks for invalid logins for non-HTTP authentication (even if there is no calendar map for an HTTP authenticated user). Switched some include() directives to include_once() to prevent possible future redeclaration errors. --- includes/login.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'includes/login.php') diff --git a/includes/login.php b/includes/login.php index 5df5d01..f29159b 100644 --- a/includes/login.php +++ b/includes/login.php @@ -1,7 +1,7 @@ '; } - // For Wesley - $login_message = ($user_passed == TRUE) ? $invalid_login_lang : $login_lang; + // If the attempted login was invalid, change the box title. + $login_message = ($invalid_login == TRUE) ? "$invalid_login_lang" : ''; echo << -
{$login_message}
+
{$login_lang}
+ {$login_message} - - + + -- cgit v1.2.3
{$username_lang}:
Password:{$password_lang}: