<div align="center">
-<form action="{!URL!}/modules.php?module=admin&what=config_birthday" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+{%form,formMethodPost=modules.php?module=admin&what=config_birthday%}
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
- <td colspan="3" align="center" class="admin_title bottom2" height="30">
- <strong>{--ADMIN_CONFIG_BIRTHDAY_HEADER--}</strong></td>
- </tr>
- <tr>
- <td colspan="3" class="seperator" height="5"> </td>
- </tr>
- <tr>
- <td width="400" align="right">{--ADMIN_BIRTHDAY_POINTS--}:
- <span class="admin_note">({--ADMIN_BIRTHDAY_POINTS_NOTE--})</span></td>
- <td class="seperator" width="5"> </td>
- <td width="170"><input type="text" name="birthday_points"
- class="admin_normal" value="{!__POINTS_VALUE!}" size="4"
- maxlength="6"> <div class="tiny">({!POINTS!})</div></td>
- </tr>
- <tr>
- <td colspan="3" class="seperator bottom2" height="5"> </td>
- </tr>
- <tr>
- <td colspan="3" class="seperator" height="5"> </td>
- </tr>
- <tr>
- <td align="right" height="20">{--ADMIN_BIRTHDAY_ONLY_ACTIVE--}</td>
- <td class="seperator" width="5"> </td>
- <td align="center"><input type="radio" name="birthday_active"
- class="admin_normal" value="Y"{!__BIRTHDAY_ACTIVE_Y!} /> {--YES--}<br />
- <input type="radio" name="birthday_active" class="admin_normal"
- value="N"{!__BIRTHDAY_ACTIVE_N!} /> {--NO--}</td>
- </tr>
- <tr>
- <td colspan="3" class="bottom2 seperator" height="5"> </td>
- </tr>
- <tr>
- <td colspan="3" align="center" class="admin_title bottom2" height="30">
- <strong>{--ADMIN_SELECT_BIRTHDAY_MODE--}:</strong></td>
- </tr>
- <tr>
- <td colspan="3" class="seperator" height="5"> </td>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_BIRTHDAY_TITLE--}</strong>
+ </td>
</tr>
<tr>
- <td align="right" height="20"><input type="radio"
- name="birthday_mode" class="admin_normal" value="DIRECT"{!__BIRTHDAY_MODE_DIRECT!}> {--BIRTHDAY_MODE_DIRECT--}<br />
+ <td align="right">
+ {--ADMIN_CONFIG_BIRTHDAY_POINTS--}:
+ <span class="notice">({--ADMIN_CONFIG_BIRTHDAY_POINTS_NOTICE--})</span>
</td>
- <td class="seperator" width="5"> </td>
- <td align="center"><input type="radio" name="birthday_mode"
- class="admin_normal" value="REF"{!__BIRTHDAY_MODE_REF!}> {--BIRTHDAY_MODE_REF--}
+ <td>
+ <input type="text" class="form_field" name="birthday_points" value="{?birthday_points?}" size="4" maxlength="6" />
+ <div class="tiny">({?POINTS?})</div>
</td>
</tr>
<tr>
- <td colspan="3" class="bottom2 seperator" height="5"> </td>
+ <td class="bottom" align="right">{--ADMIN_CONFIG_BIRTHDAY_ONLY_ACTIVE--}</td>
+ <td class="bottom" align="center">
+ {%template,ConfigurationYesNoSelectionBox=birthday_active%}
+ </td>
</tr>
<tr>
- <td colspan="3" class="admin_footer"><input
- type="reset" class="admin_reset" value="{--CLEAR_FORM--}" /> <input
- type="submit" name="ok" class="admin_submit"
- value="{--SAVE_SETTINGS--}" /></td>
+ <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>
+
+<div class="notice">
+ {--ADMIN_CONFIG_BIRTHDAY_NOTICE--}
</div>