<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_holiday%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&what=config_holiday%}
<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
- <tr>
- <td colspan="2" align="center" class="table_header bottom">
- <strong>{--ADMIN_HOLIDAY_CONFIG_HEADER--}</strong>
- </td>
- </tr>
- <tr>
- <td width="300" style="padding-left: 5px">{--ADMIN_HOLIDAY_MAX_HOLIDAY--}:</td>
- <td width="270">
- <input type="text" class="form_field" name="holiday_max" value="{?holiday_max?}" size="4" maxlength="6" />
- <div class="tiny">({--DAYS--})</div>
- </td>
- </tr>
- <tr>
- <td width="300" style="padding-left: 5px">{--ADMIN_HOLIDAY_LOCKED--}:</td>
- <td width="270">$content[holiday_lock]</td>
- </tr>
- <tr>
- <td class="bottom" width="300" style="padding-left: 5px">{--ADMIN_HOLIDAY_MODE--}:</td>
- <td class="bottom" width="270">
- <input type="radio" class="form_field" name="holiday_mode" value="RESET"$content[holiday_mode_reset] />
- {--ADMIN_HOLIDAY_MODE_RESET--}<br />
- <input type="radio" class="form_field" name="holiday_mode" value="DIRECT"$content[holiday_mode_direct] />
- {--ADMIN_HOLIDAY_MODE_DIRECT--}
- </td>
- </tr>
- <tr>
- <td colspan="2" class="table_footer">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
- </td>
- </tr>
+<tr>
+ <td colspan="2" align="center" class="table_header bottom">
+ {--ADMIN_CONFIG_HOLIDAY_TITLE--}
+ </td>
+</tr>
+
+<tr>
+ <td width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_MAX_TIME--}</td>
+ <td width="270">
+ <input type="text" class="form_field" name="holiday_max" value="{?holiday_max?}" size="4" maxlength="6" />
+ <div class="tiny">({--DAYS--})</div>
+ </td>
+</tr>
+
+<tr>
+ <td width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_LOCKED--}</td>
+ <td width="270">$content[holiday_lock]</td>
+</tr>
+
+<tr>
+ <td class="bottom" width="300" style="padding-left: 5px">{--ADMIN_CONFIG_HOLIDAY_MODE--}</td>
+ <td class="bottom" width="270">
+ <input type="radio" class="form_field" name="holiday_mode" value="RESET"$content[holiday_mode_reset] />
+ {--ADMIN_CONFIG_HOLIDAY_MODE_RESET--}<br />
+ <input type="radio" class="form_field" name="holiday_mode" value="DIRECT"$content[holiday_mode_direct] />
+ {--ADMIN_CONFIG_HOLIDAY_MODE_DIRECT--}
+ </td>
+</tr>
+
+<tr>
+ <td colspan="2" class="table_footer">
+ <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>