Reverted of changes in 1704, see ticket #160
[mailer.git] / templates / de / html / admin / admin_config_birthday.tpl
index 8d88768d5267ae8489c78abd34424f7d2a382fbd..ab849346b42b8823d21e0e270bdf5da4f699a190 100644 (file)
@@ -1,63 +1,49 @@
-<FORM action="{!URL!}/modules.php?module=admin&amp;what=config_birthday"
-       method="POST">
-<TABLE border="0" cellspacing="0" cellpadding="0" width="580"
-       class="admin_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">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD width="400" align="right">{--ADMIN_BIRTHDAY_POINTS--}:<BR />
-               <FONT class="admin_note">({--ADMIN_BIRTHDAY_POINTS_NOTE--})</FONT></TD>
-               <TD class="seperator" width="5">&nbsp;</TD>
-               <TD width="170"><INPUT type="text" name="birthday_points"
-                       class="admin_normal" value="{!__POINTS_VALUE!}" size="4"
-                       maxlength="6">&nbsp;<FONT class="tiny">({!POINTS!})</FONT></TD>
-       </TR>
-       <TR>
-               <TD colspan="3" class="seperator bottom2" height="5">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="3" class="seperator" height="5">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD align="right" height="20">{--ADMIN_BIRTHDAY_ONLY_ACTIVE--}</TD>
-               <TD class="seperator" width="5">&nbsp;</TD>
-               <TD align="center"><INPUT type="radio" name="birthday_active"
-                       class="admin_normal" value="Y"{--__BIRTHDAY_ACTIVE_Y--}>&nbsp;{--YES--}<BR />
-               <INPUT type="radio" name="birthday_active" class="admin_normal"
-                       value="N"{--__BIRTHDAY_ACTIVE_N--}>&nbsp;{--NO--}</TD>
-       </TR>
-       <TR>
-               <TD colspan="3" class="bottom2 seperator" height="5">&nbsp;</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">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD align="right" height="20"><INPUT type="radio"
-                       name="birthday_mode" class="admin_normal" value="DIRECT"{--__BIRTHDAY_MODE_DIRECT--}>&nbsp;{--BIRTHDAY_MODE_DIRECT--}<BR />
-               </TD>
-               <TD class="seperator" width="5">&nbsp;</TD>
-               <TD align="center"><INPUT type="radio" name="birthday_mode"
-                       class="admin_normal" value="REF"{--__BIRTHDAY_MODE_REF--}>&nbsp;{--BIRTHDAY_MODE_REF--}
-               </TD>
-       </TR>
-       <TR>
-               <TD colspan="3" class="bottom2 seperator" height="5">&nbsp;</TD>
-       </TR>
-       <TR>
-               <TD colspan="3" class="admin_footer"><INPUT
-                       type="reset" class="admin_reset" value="{--CLEAR_FORM--}">&nbsp;*&nbsp;<INPUT
-                       type="submit" name="ok" class="admin_submit"
-                       value="{--SAVE_SETTINGS--}"></TD>
-       </TR>
-</TABLE>
-</FORM>
+<div align="center">
+<form accept-charset="utf-8" action="{%url=modules.php?module=admin&amp;what=config_birthday%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+       <tr>
+               <td colspan="2" align="center" class="admin_title bottom">
+                       <strong>{--ADMIN_CONFIG_BIRTHDAY_HEADER--}</strong>
+               </td>
+       </tr>
+       <tr>
+               <td align="right">
+                       {--ADMIN_BIRTHDAY_POINTS--}:
+                       <span class="admin_note">({--ADMIN_BIRTHDAY_POINTS_NOTE--})</span>
+               </td>
+               <td>
+                       <input type="text" name="birthday_points" class="admin_normal" value="{?birthday_points?}" size="4" maxlength="6" />
+                       <div class="tiny">({?POINTS?})</div>
+               </td>
+       </tr>
+       <tr>
+               <td align="right">{--ADMIN_BIRTHDAY_ONLY_ACTIVE--}</td>
+               <td align="center">
+                       <input type="radio" name="birthday_active" class="admin_normal" value="Y"$content[active_y] /> {--YES--}<br />
+                       <input type="radio" name="birthday_active" class="admin_normal" value="N"$content[active_n] /> {--NO--}
+               </td>
+       </tr>
+       <tr>
+               <td colspan="2" align="center" class="admin_title bottom">
+                       <strong>{--ADMIN_SELECT_BIRTHDAY_MODE--}:</strong>
+               </td>
+       </tr>
+       <tr>
+               <td class="bottom" align="right">
+                       <input type="radio" name="birthday_mode" class="admin_normal" value="DIRECT"$content[mode_direct] />
+                       {--BIRTHDAY_MODE_DIRECT--}
+               </td>
+               <td class="bottom" align="center">
+                       <input type="radio" name="birthday_mode" class="admin_normal" value="REF"$content[mode_ref] />
+                       {--BIRTHDAY_MODE_REF--}
+               </td>
+       </tr>
+       <tr>
+               <td colspan="2" class="admin_footer">
+                       <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
+                       <input type="submit" name="ok" class="admin_submit" value="{--SAVE_SETTINGS--}" />
+               </td>
+       </tr>
+</table>
+</form>
+</div>