<div align="center">
-<form accept-charset="utf-8" action="{%url=modules.php?module=sponsor&what=settings%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" width="550" class="sponsor_table dashed">
+{%form,formMethodPost=modules.php?module=sponsor&what=settings%}
+<table border="0" cellspacing="0" cellpadding="0" width="550" class="table dashed">
<tr>
- <td colspan="2" align="center" class="sponsor_header bottom" height="32">
- <strong>{--SPONSOR_SETTINGS_HEADER--}:</strong>
- </td>
+ <td colspan="2" align="center" class="table_header bottom" height="32">
+ <strong>{--SPONSOR_SETTINGS_HEADER--}:</strong>
+ </td>
</tr>
<tr>
- <td class="bottom right" align="right" height="75" style="padding-right: 5px">
- {--GUEST_SPONSOR_RECEIVE_WARNINGS--}
- </td>
- <td class="bottom" align="center">
- {--YES--}<input type="radio" name="receive_warnings" class="guest_normal" value="Y"$content[receive_warnings_y] />
- {--NO--}<input type="radio" name="receive_warnings" class="guest_normal" value="N"$content[receive_warnings_n] />
- </td>
+ <td class="bottom right" align="right" height="75" style="padding-right: 5px">
+ {--GUEST_SPONSOR_RECEIVE_WARNINGS--}
+ </td>
+ <td class="bottom" align="center">
+ <input type="radio" class="form_field" name="receive_warnings" value="Y"$content[receive_warnings_y] />
+ {--YES--}
+ <input type="radio" class="form_field" name="receive_warnings" value="N"$content[receive_warnings_n] />
+ {--NO--}
+ </td>
</tr>
<tr>
- <td class="bottom right" align="right" height="55" style="padding-right: 5px">
- {--SPONSOR_WARNING_INTERVAL--}
- </td>
- <td class="bottom" align="center">
- <select name="warning_interval" class="guest_select" size="1">
- <option value="$content[warning_interval]">{%pipe,createFancyTime=$content[current]%}</option>
- <option value="{--({?ONE_DAY?}*1)--}">1 {--DAYS--}</option>
- <option value="{--({?ONE_DAY?}*3)--}">3 {--DAYS--}</option>
- <option value="{--({?ONE_DAY?}*7)--}">1 {--LIFE_WEEKS--}</option>
- <option value="{--({?ONE_DAY?}*14)--}">2 {--LIFE_WEEKS--}</option>
- <option value="{--({?ONE_DAY?}*28)--}">4 {--LIFE_WEEKS--}</option>
- <option value="{--({?ONE_DAY?}*56)--}">8 {--LIFE_WEEKS--}</option>
- </select>
- </td>
+ <td class="bottom right" align="right" height="55" style="padding-right: 5px">
+ {--SPONSOR_WARNING_INTERVAL--}
+ </td>
+ <td class="bottom" align="center">
+ <select name="warning_interval" class="form_select" size="1">
+ <option value="$content[warning_interval]">{%pipe,createFancyTime=$content[warning_interval]%}</option>
+ <option value="{%math,Day=1%}">1 {--DAYS--}</option>
+ <option value="{%math,Day=3%}">3 {--DAYS--}</option>
+ <option value="{%math,Week=1%}">1 {--LIFE_WEEKS--}</option>
+ <option value="{%math,Week=2%}">2 {--LIFE_WEEKS--}</option>
+ <option value="{%math,Week=4%}">4 {--LIFE_WEEKS--}</option>
+ <option value="{%math,Week=8%}">8 {--LIFE_WEEKS--}</option>
+ </select>
+ </td>
</tr>
<tr>
- <td class="bottom right" align="right" height="32">
- {--SPONSOR_ENTER_PASSWORD--}:
- </td>
- <td class="bottom">
- <input type="password" name="password" class="guest_normal" size="10" maxlength="255" />
- </td>
+ <td class="bottom right" align="right" height="32">
+ {--SPONSOR_ENTER_PASSWORD--}:
+ </td>
+ <td class="bottom" align="center">
+ <input type="password" class="form_field" name="password" size="10" maxlength="255" />
+ </td>
</tr>
<tr>
- <td class="sponsor_footer" colspan="2" align="center" height="32">
- <input type="reset" class="guest_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" name="ok" class="guest_submit" value="{--SAVE_SETTINGS--}" />
- </td>
+ <td class="table_footer" colspan="2" align="center" height="32">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
+ </td>
</tr>
</table>
-</form>
+{%form_close%}
</div>