* Added "Login failure" message in backend login box
authorKasper Skårhøj <kasper@typo3.org>
Fri, 23 Apr 2004 10:39:24 +0000 (10:39 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Fri, 23 Apr 2004 10:39:24 +0000 (10:39 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@220 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/index.php
typo3/stylesheet.css

index ef2b492..f81b36a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-04-23  Kasper Skårhøj,,,  <kasper@typo3.com>
 
+       * Added "Login failure" message in backend login box
+
+2004-04-23  Kasper Skårhøj,,,  <kasper@typo3.com>
+
        * Added to user authentication that the HTTP_USER_AGENT is hashed and a part of the session lookup (in other words, if the HTTP_USER_AGENT stays constant the session stays as well). Also added possibility of configuring that the IP adresse used to lock down sessions is only part 1,2,3 or 4 (all) used. Mainly this is easily configurable for frontend users (which has had the "security level" set to "2" now instead of disabled totally!). For backend users I didn't make configuration options in TYPO3_CONF_VARS - just wanted to know if people needed it there first (not to bloat options....)
 
 2004-04-23  Kasper Skårhøj,,,  <kasper@typo3.com>
index 27acdc6..0c3bd3c 100755 (executable)
@@ -267,7 +267,10 @@ class SC_index {
                                                        <table cellspacing="0" cellpadding="0" border="0" id="logintable">
                                                                        <tr>
                                                                                <td colspan="2"><h2>'.htmlspecialchars($this->L_vars[6]).'</h2></td>
-                                                                       </tr>
+                                                                       </tr>'.($this->commandLI ? '
+                                                                       <tr class="c-wrong">
+                                                                               <td colspan="2"><p class="c-wrong">'.htmlspecialchars($this->L_vars[9]).'</p></td>
+                                                                       </tr>' : '').'
                                                                        <tr class="c-username">
                                                                                <td><p class="c-username">'.htmlspecialchars($this->L_vars[0]).':</p></td>
                                                                                <td><input type="text" name="username" value="'.htmlspecialchars($this->u).'" class="c-username" /></td>
index 6178fcb..2382304 100755 (executable)
@@ -259,6 +259,7 @@ TABLE#logintable TR TD { padding: 1px 1px 1px 1px;}
 TABLE#logintable H2 { background-color: transparent; font-size: 14px; color: white; text-align: left; }
 TABLE#logintable P { font-size: 12px; color: white; font-weight: bold; }
 TABLE#logintable P.c-info { font-size: 10px; font-weight: normal; }
+TABLE#logintable P.c-wrong { font-size: 10px; width: 300px; border: #62731A solid 1px; margin: 5px 0px 5px 0px; padding: 5px 15px 5px 15px; }
 TABLE#logintable INPUT.c-username, TABLE#logintable INPUT.c-password, TABLE#logintable SELECT.c-interfaceselector { width: 150px; }
 TABLE#logintable INPUT { border: #62731A solid 1px; background-color: white; }