<div align="center">
-<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=config_register2%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+{%form,formMethodPost=modules.php?module=admin&what=config_register2%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
- <td class="admin_title bottom" colspan="2" align="center">
- <strong>{--EDIT_REGFORM_SETTINGS--}</strong>
+ <td class="table_header bottom" colspan="2" align="center">
+ <strong>{--ADMIN_CONFIG_REGISTER_TITLE--}</strong>
</td>
</tr>
+
<tr>
- <td align="right" width="250">{--LEAST_CATS--}:</td>
+ <td align="right" width="250">{--ADMIN_CONFIG_LEAST_CATEGORIES--}:</td>
<td align="center" width="150">
- <input type="text" name="least_cats" class="admin_normal" size="6" maxlength="6" value="{?least_cats?}" />
+ <input type="text" class="form_field" name="least_cats" size="6" maxlength="6" value="{?least_cats?}" />
</td>
</tr>
+
<tr>
- <td align="right" width="250">{--ADMIN_CFG_REGISTER_DEFAULT--}:</td>
- <td align="center" width="150">$content[register_default]</td>
+ <td align="right" width="250">{--ADMIN_CONFIG_REGISTER_DEFAULT--}:</td>
+ <td align="center" width="150">{%template,ConfigurationYesNoSelectionBox=register_default%}</td>
</tr>
+
<tr>
- <td align="right">{--ADMIN_CFG_REGISTER_DISPLAY_REFID--}:</td>
- <td align="center">$content[display_refid]</td>
+ <td align="right">{--ADMIN_CONFIG_REGISTER_DISPLAY_REFID--}:</td>
+ <td align="center">{%template,ConfigurationYesNoSelectionBox=display_refid%}</td>
</tr>
+
<tr>
- <td align="right">{--IP_TIMEOUT--}:</td>
+ <td align="right">{--ADMIN_CONFIG_REGISTER_IP_TIMEOUT--}:</td>
<td align="center">$content[ip_timeout]</td>
</tr>
+
<tr>
- <td align="right" width="280">{--REJECT_DOUBLE_EMAIL--}:</td>
- <td align="center">$content[check_double_email]</td>
+ <td class="bottom" align="right" width="280">{--ADMIN_CONFIG_REGISTER_GENERATE_PASSWORD_EMPTY--}</td>
+ <td class="bottom" align="center">{%template,ConfigurationYesNoSelectionBox=register_generate_password_empty%}</td>
</tr>
+
<tr>
- <td class="bottom" align="right" width="280">{--REJECT_DOUBLE_PASS--}:</td>
- <td class="bottom" align="center">$content[check_double_pass]</td>
- </tr>
- <tr>
- <td class="admin_footer" colspan="2" align="center">
- <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" name="ok" class="admin_submit" value="{--SAVE_SETTINGS--}" />
+ <td class="table_footer" colspan="2" align="center">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
</td>
</tr>
</table>
-</form>
+{%form_close%}
</div>