- define('__MSG_LOGIN', LOAD_TEMPLATE('admin_login_msg', true, $loginMessage));
- define('__MSG_PASS', LOAD_TEMPLATE('admin_login_msg', true, $passwdMessage));
-
- // Reset variables
- $loginMessage = ''; $passwdMessage = '';
- } else {
- // Reset values to nothing
- define('__MSG_LOGIN', '');
- define('__MSG_PASS' , '');
- }
+ $content['login_message'] = loadTemplate('admin_login_msg', true, $loginMessage);
+ $content['pass1_message'] = loadTemplate('admin_login_msg', true, $pass1Message);
+ $content['pass2_message'] = loadTemplate('admin_login_msg', true, $pass2Message);
+ $content['error_message'] = loadTemplate('admin_login_msg', true, $errorMessage);
+ } // END - if