More fixes for installation and extension registration
[mailer.git] / templates / de / html / admin / admin_login_form.tpl
index 136ea4b2e1549123524a77be98546c25a34bc743..bf071ab2e3d979a68c9b70e0999ff8d0840dc1a8 100644 (file)
@@ -1,65 +1,62 @@
-<FORM
-       action="{!URL!}/modules.php?module=admin&amp;$content[target]=$content[value]"
-       method="POST">
-<TABLE border="0" cellspacing="0" cellpadding="0"
-       class="admin_table register" align="center">
-       <TR>
-               <TD colspan="2" height="14" class="admin_title seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="2" align="center" class="admin_title"><STRONG>{--ADMIN_LOGIN_NOW--}</STRONG>
-               </TD>
-       </TR>
-       <TR>
-               <TD colspan="2" height="14" class="admin_title seperator bottom2">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="2" height="14" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD width="50%" align="right">{--ENTER_ADMIN_LOGIN--}:&nbsp;&nbsp;</TD>
-               <TD width="50%"><INPUT type="text" name="login" size="10"
-                       maxlength="100" class="admin_normal" value="{!__LOGIN_VALUE!}"></TD>
-       </TR>
-       {!__MSG_LOGIN!}
-       <TR>
-               <TD colspan="2" height="14" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD width="50%" align="right">{--ENTER_ADMIN_PASS--}:&nbsp;&nbsp;</TD>
-               <TD width="50%"><INPUT type="password" name="pass" size="10"
-                       maxlength="100" class="admin_normal"></TD>
-       </TR>
-       {!__MSG_PASS!}
-       <TR>
-               <TD colspan="2" height="14" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD width="50%" align="right">{--SELECT_TIMEOUT--}:&nbsp;&nbsp;</TD>
-               <TD width="50%"><SELECT name="timeout" size="1"
-                       class="admin_select">
-                       <OPTION value="86400">{--TIMEOUT_ONE_DAY--}</OPTION>
-                       <OPTION value="172800">{--TIMEOUT_TWO_DAYS--}</OPTION>
-                       <OPTION value="259200">{--TIMEOUT_THREE_DAYS--}</OPTION>
-                       <OPTION value="604800">{--TIMEOUT_ONE_WEEK--}</OPTION>
-                       <OPTION value="1209600">{--TIMEOUT_TWO_WEEKS--}</OPTION>
-                       <OPTION value="2592000">{--TIMEOUT_ONE_MONTH--}</OPTION>
-                       <OPTION value="15984000">{--TIMEOUT_HALF_YEAR--}</OPTION>
-                       <OPTION value="31536000" selected>{--TIMEOUT_FULL_YEAR--}</OPTION>
-               </SELECT></TD>
-       </TR>
-       <TR>
-               <TD colspan="2" height="14" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD align="center" colspan="2"><INPUT type="reset"
-                       class="admin_reset" value="{--CLEAR_FORM--}" class="admin_reset">&nbsp;*
-               <INPUT type="submit" class="admin_submit submit" name="ok"
-                       value="{--ADMIN_LOGIN_SUBMIT--}" class="admin_submit submit">
-               </TD>
-       </TR>
-       <TR>
-               <TD colspan="2" height="14" class="seperator">&nbsp;</TD>
-       </TR>
-</TABLE>
-</FORM>
\ No newline at end of file
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&amp;$content[target]=$content[value]%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+       <tr>
+               <td colspan="2" align="center" class="admin_title bottom">
+                       <strong>{--ADMIN_LOGIN_TITLE--}</strong>
+               </td>
+       </tr>
+       <tr>
+               <td colspan="2" align="center">
+                       {--ADMIN_LOGIN_NOW--}
+               </td>
+       </tr>
+       <tr>
+               <td width="50%" align="right">{--ENTER_ADMIN_LOGIN--}:</td>
+               <td width="50%">
+                       <input type="text" name="login" size="10" maxlength="100" class="admin_normal" value="$content[login]" />
+               </td>
+       </tr>
+       $content[login_message]
+       <tr>
+               <td width="50%" align="right">
+                       {--ENTER_ADMIN_PASS--}:
+                       <div class="tiny">
+                               [<a href="{%url=modules.php?module=admin&amp;reset_pass=1%}">{--ADMIN_RESET_PASSWORD--}</a>]
+                       </div>
+               </td>
+               <td width="50%">
+                       <input type="password" class="admin_normal" name="pass" size="10" maxlength="100" />
+               </td>
+       </tr>
+       $content[pass_message]
+       <tr><td colspan="2" class="bottom seperator">&nbsp;</td></tr>
+       <!--
+       @TODO Doesn't work with sessions
+       <tr>
+               <td class="bottom" width="50%" align="right">{--SELECT_TIMEOUT--}:</td>
+               @TODO Try to move the select box to our generic functions
+               <td class="bottom" width="50%">
+                       <select name="timeout" size="1" class="admin_select">
+                               <option value="86400">{--TIMEOUT_ONE_DAY--}</option>
+                               <option value="172800">{--TIMEOUT_TWO_DAYS--}</option>
+                               <option value="259200">{--TIMEOUT_THREE_DAYS--}</option>
+                               <option value="604800">{--TIMEOUT_ONE_WEEK--}</option>
+                               <option value="1209600">{--TIMEOUT_TWO_WEEKS--}</option>
+                               <option value="2592000">{--TIMEOUT_ONE_MONTH--}</option>
+                               <option value="15984000">{--TIMEOUT_HALF_YEAR--}</option>
+                               <option value="31536000" selected="selected">{--TIMEOUT_FULL_YEAR--}</option>
+                       </select>
+               </td>
+       </tr>
+       //-->
+       <tr>
+               <td align="center" colspan="2" class="admin_footer">
+                       <input type="hidden" name="timeout" value="0" />
+                       <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
+                       <input type="submit" class="admin_submit" name="ok" value="{--ADMIN_LOGIN_SUBMIT--}" />
+               </td>
+       </tr>
+</table>
+</form>
+</div>