CC-2814: Login error messages need to be highlighted

- done
- Recaptcha box and submit button is moved to center
This commit is contained in:
James 2011-09-14 17:50:00 -04:00
parent f60a4439be
commit 1e4bcdf831
5 changed files with 15 additions and 5 deletions

View file

@ -18,6 +18,7 @@ class LoginController extends Zend_Controller_Action
//uses separate layout without a navigation.
$this->_helper->layout->setLayout('login');
$error = false;
$request = $this->getRequest();
$baseUrl = $request->getBaseUrl();
@ -73,12 +74,14 @@ class LoginController extends Zend_Controller_Action
Application_Model_Subjects::increaseLoginAttempts($username);
Application_Model_LoginAttempts::increaseAttempts($_SERVER['REMOTE_ADDR']);
$form = new Application_Form_Login();
$error = true;
}
}
}
}
$this->view->message = $message;
$this->view->error = $error;
$this->view->form = $form;
$this->view->airtimeVersion = AIRTIME_VERSION;
$this->view->airtimeCopyright = AIRTIME_COPYRIGHT_DATE;