<div align="center">
-<form accept-charset="utf-8" action="{?URL?}/modules.php?module=admin&$content[target]=$content[value]" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+{%form,formMethodPost=modules.php?$content[all_parameter]%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
- <td colspan="2" align="center" height="30" class="admin_title bottom2">
+ <td colspan="2" align="center" class="table_header bottom">
<strong>{--ADMIN_LOGIN_TITLE--}</strong>
</td>
</tr>
</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 align="right">{--ENTER_ADMIN_LOGIN--}:</td>
+ <td>
+ <input type="text" class="form_field" name="admin_login" tabindex="1" size="20" maxlength="100" value="$content[admin_login]" />
</td>
</tr>
$content[login_message]
<tr>
- <td width="50%" align="right">
+ <td align="right" class="bottom">
{--ENTER_ADMIN_PASS--}:
<div class="tiny">
- [<a href="{?URL?}/modules.php?module=admin&reset_pass=1">{--ADMIN_RESET_PASSWORD--}</a>]
+ [<a href="{%url=modules.php?module=admin&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 class="bottom">
+ <input type="password" class="form_field" name="admin_password" tabindex="2" size="20" maxlength="100" />
</td>
</tr>
$content[pass_message]
- <tr><td colspan="2" class="bottom2 seperator"> </td></tr>
<!--
@TODO Doesn't work with sessions
<tr>
- <td class="bottom2" width="50%" align="right">{--SELECT_TIMEOUT--}:</td>
- <!-- @TODO Try to move the select box to our generic functions //-->
- <td class="bottom2" 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>
+ <td class="bottom" align="right">{--SELECT_TIMEOUT--}:</td>
+ @TODO Try to move the select box to our generic functions
+ <td class="bottom">
+ <select name="timeout" size="1" class="form_select" tabindex="3">
+ <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">
+ <td align="center" colspan="2" class="table_footer">
<input type="hidden" name="timeout" value="0" />
- <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="admin_submit submit" name="ok" value="{--ADMIN_LOGIN_SUBMIT--}" />
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="login" value="{--ADMIN_LOGIN_SUBMIT--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>