-// Login problems?
-if (!empty($ERROR)) {
- // Ok, which one now?
- $MSG = "<tr>
- <td width=\"10\" class=\"seperator\"> </td>
- <td colspan=\"7\" align=\"center\">
- <span class=\"guest_failed\">";
-
- switch ($ERROR) {
- case constant('CODE_WRONG_PASS'):
- $MSG .= getMessage('LOGIN_WRONG_PASS');
- break;
-
- case constant('CODE_WRONG_ID'):
- $MSG .= getMessage('LOGIN_WRONG_ID');
- break;
-
- case constant('CODE_ID_LOCKED'):
- $MSG .= getMessage('LOGIN_ID_LOCKED');
- break;
-
- case constant('CODE_ID_UNCONFIRMED'):
- $MSG .= getMessage('LOGIN_ID_UNCONFIRMED');
- break;
-
- case constant('CODE_NO_COOKIES'):
- $MSG .= getMessage('LOGIN_NO_COOKIES');
- break;
-
- case constant('CODE_EXTENSION_PROBLEM'):
- if (IS_ADMIN()) {
- $MSG .= sprintf(getMessage('EXTENSION_PROBLEM_NOT_INSTALLED'), "nickname");
- } else {
- $MSG .= getMessage('LOGIN_WRONG_ID');
- }
- break;
+// No problems, no output by detault
+$content['message'] = '';