Header("Cache-Control: no-cache");
Header("Cache-Control: must-revalidate");
-require_once('../../../www/env.inc.php');
+require_once '../../../www/env.inc.php';
require_once $gfcommon.'include/pre.php';
-require_once('../../../www/include/login-form.php');
+require_once '../../../www/include/login-form.php';
/* because session_check_credentials_in_database is setting warning_msg */
global $warning_msg;
}
} else {
if ($form_loginname && $form_pw) {
+ $warning_msg = _('Invalid Password Or User Name');
} else {
$warning_msg = _('Missing Password Or User Name');
}
$warning_msg .= '<br /><p>'. _('Your account does not exist.').'</p>';
}
}
- } else if ($userstatus == "P") {
+ } elseif ($userstatus == "P") {
$warning_msg .= '<br />'. sprintf(_('<p>Your account is currently pending your email confirmation.<br/>Visiting the link sent to you in this email will activate your account.<br/>If you need this email resent, please click below and a confirmation email will be sent to the email address you provided in registration.</p><a href="%1$s">[Resend Confirmation Email]</a><br><hr>'), util_make_url ("/account/pending-resend.php?form_user=".htmlspecialchars($form_loginname)));
} else {
if ($userstatus == "D") {
// mode: php
// c-file-style: "bsd"
// End:
-
-?>