]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/admin/admin_config_secure.tpl
Heacy rewrite/cleanup:
[mailer.git] / templates / de / html / admin / admin_config_secure.tpl
index 44a4421be2f153d1484e3fae798189eb71e8b9a3..6953c71e4024651ab2cff18d91a6b5f70643c45e 100644 (file)
@@ -1,48 +1,54 @@
-<form action="{!URL!}/modules.php?module=admin&amp;what=config_secure"
-       method="POST">
-<TABLE border="0" cellspacing="0" cellpadding="0" align="center"
-       width="520" class="admin_table dashed">
-       <TR>
-               <TD class="admin_title bottom2 seperator" width="10" height="30">&nbsp;</TD>
-               <TD class="admin_title bottom2" colspan="3" align="center"><strong>{--EDIT_SECURITY_SETTINGS--}</strong>
-               </TD>
-               <TD class="admin_title bottom2 seperator" width="10">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="5" height="7" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD width="10" class="seperator">&nbsp;</TD>
-               <TD align="right" width="280">{--MIN_PASS_LENGTH--}:</TD>
-               <TD width="10" class="seperator">&nbsp;</TD>
-               <TD><INPUT type="text" name="pass_len" class="admin_normal"
-                       size="3" maxlength="3" value="{!__PASS_LEN!}"></TD>
-               <TD width="10" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="5" height="7" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD width="10" class="seperator">&nbsp;</TD>
-               <TD align="right" width="280">{--ADMIN_SALT_LENGTH--}:</TD>
-               <TD width="10" class="seperator">&nbsp;</TD>
-               <TD><INPUT type="text" name="salt_length" class="admin_normal"
-                       size="3" maxlength="3" value="{!__SALT_LENGTH!}"></TD>
-               <TD width="10" class="seperator">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="5" height="7" class="seperator bottom2">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD class="admin_footer seperator" width="10">&nbsp;</TD>
-               <TD class="admin_footer" colspan="3" align="center"><INPUT
-                       type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />&nbsp;<INPUT
-                       type="submit" name="ok" class="admin_submit"
-                       value="{--SAVE_SETTINGS--}" /></TD>
-               <TD class="admin_footer seperator" width="10">&nbsp;</TD>
-       </TR>
-</TABLE>
-</form>
-
-<div class="admin_note"><div class="admin_note">{--ADMIN_SALT_LENGTH_NOTE--}</div>
+<div align="center">
+{%form,formMethodPost=modules.php?module=admin&amp;what=config_secure%}
+<div class="table dashed">
+       <div class="table_header bottom">
+               {--ADMIN_CONFIG_SECURE_TITLE--}
+       </div>
+
+       <fieldset id="config_min_password_length">
+               <legend>{--ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH_LEGEND--}</legend>
+
+               <div class="admin_input">
+                       <label for="min_password_length">{--ADMIN_CONFIG_MINIMUM_PASSWORD_LENGTH--}</label>
+                       <div align="center">
+                               <input type="text" class="form_field" name="min_password_length" value="{?min_password_length?}" size="3" maxlengt="20" />
+                       </div>
+               </div>
+
+               <div class="clear"></div>
+
+               <div class="admin_input">
+                       <label for="min_password_score">{--ADMIN_CONFIG_MINIMUM_PASSWORD_SCORE--}</label>
+                       <div align="center">
+                               <select name="min_password_score" size="1" class="form_select">
+                                       <option value="0"$content[min_password_score_0]>{--PASSWORD_SCORE_0--}</option>
+                                       <option value="1"$content[min_password_score_1]>{--PASSWORD_SCORE_1--}</option>
+                                       <option value="2"$content[min_password_score_2]>{--PASSWORD_SCORE_2--}</option>
+                                       <option value="3"$content[min_password_score_3]>{--PASSWORD_SCORE_3--}</option>
+                                       <option value="4"$content[min_password_score_4]>{--PASSWORD_SCORE_4--}</option>
+                                       <option value="5"$content[min_password_score_5]>{--PASSWORD_SCORE_5--}</option>
+                               </select>
+                       </div>
+               </div>
+
+               <div class="clear"></div>
+
+               <div class="admin_input">
+                       <label for="salt_length">{--ADMIN_CONFIG_SALT_LENGTH--}</label>
+                       <div align="center">
+                               <input type="text" class="form_field" name="salt_length" value="{?salt_length?}" size="3" maxlengt="20" />
+                       </div>
+               </div>
+       </fieldset>
+
+       <div class="table_footer top">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
+       </div>
+</div>
+{%form_close%}
+</div>
+
+<div class="notice">
+       {--ADMIN_CONFIG_SECURE_NOTICE--}
 </div>