]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/admin/admin_config_bonus.tpl
Rewrote some code, added templates/functions:
[mailer.git] / templates / de / html / admin / admin_config_bonus.tpl
index cb6f6a51fd22e53dbaef6f0d008a4f0997733914..1a396e727cddbc3dfa326e55a2deb9c0ea69528a 100644 (file)
@@ -1,9 +1,9 @@
 <div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&amp;what=config_bonus%}" method="post">
+{%form,formMethodPost=modules.php?module=admin&amp;what=config_bonus%}
 <table border="0" cellspacing="0" cellpadding="0" class="table dashed">
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BONUS_RALLYE_TITLE--}</strong>
+                       {--ADMIN_CONFIG_BONUS_RALLYE_TITLE--}
                </td>
        </tr>
        <tr>
@@ -11,8 +11,7 @@
                        {--ADMIN_CONFIG_BONUS_RALLYE_IS_ACTIVE--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_active" value="Y"$content[active_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_active" value="N"$content[active_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=bonus_active%}
                </td>
        </tr>
        <tr>
@@ -20,8 +19,7 @@
                        {--ADMIN_CONFIG_BONUS_RALLYE_INCLUDE_ONW--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_include_own" value="Y"$content[include_own_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_include_own" value="N"$content[include_own_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=bonus_include_own%}
                </td>
        </tr>
        <tr>
@@ -29,8 +27,7 @@
                        {--ADMIN_CONFIG_BONUS_RALLYE_CLICK_INCLUDE--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_click_yn" value="Y"$content[click_yn_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_click_yn" value="N"$content[click_yn_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=include_bonus_click%}
                </td>
        </tr>
        <tr>
@@ -38,8 +35,7 @@
                        {--ADMIN_CONFIG_BONUS_RALLYE_LOGIN_INCLUDE--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_login_yn" value="Y"$content[login_yn_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_login_yn" value="N"$content[login_yn_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=include_bonus_login%}
                </td>
        </tr>
        <tr>
@@ -47,8 +43,7 @@
                        {--ADMIN_CONFIG_BONUS_RALLYE_ORDER_INCLUDE--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_order_yn" value="Y"$content[order_yn_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_order_yn" value="N"$content[order_yn_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=include_bonus_order%}
                </td>
        </tr>
        <tr>
                        {--ADMIN_CONFIG_BONUS_RALLYE_STATS_INCLUDE--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_stats_yn" value="Y"$content[stats_yn_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_stats_yn" value="N"$content[stats_yn_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=include_bonus_stats%}
                </td>
        </tr>
        <tr>
                <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_BONUS_RALLYE_REFERAL_INCLUDE--}
+                       {--ADMIN_CONFIG_BONUS_RALLYE_REFERRAL_INCLUDE--}
                </td>
                <td class="bottom" align="center">
-                       <input type="radio" class="form_field" name="bonus_ref_yn" value="Y"$content[ref_yn_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_ref_yn" value="N"$content[ref_yn_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=include_bonus_ref%}
                </td>
        </tr>
        <tr>
                <td colspan="2" align="center" class="table_header bottom">
-                       <strong>{--ADMIN_CONFIG_BONUS_TITLE--}</strong>
+                       {--ADMIN_CONFIG_BONUS_TITLE--}
                </td>
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BONUS_ORDER--}:
+                       {--ADMIN_CONFIG_BONUS_ORDER--}
                </td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_order" size="8" maxlength="20" value="{%config,translateComma=bonus_order%}" />
@@ -85,7 +78,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BONUS_REFERAL--}:
+                       {--ADMIN_CONFIG_BONUS_REFERRAL--}
                </td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_ref" size="8" maxlength="20" value="{%config,translateComma=bonus_ref%}" />
@@ -94,7 +87,7 @@
        </tr>
        <tr>
                <td align="right">
-                       {--ADMIN_CONFIG_BONUS_STATS--}:
+                       {--ADMIN_CONFIG_BONUS_STATS--}
                </td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_stats" size="8" maxlength="20" value="{%config,translateComma=bonus_stats%}" />
        </tr>
        <tr>
                <td class="bottom" align="right">
-                       {--ADMIN_CONFIG_BONUS_LOGIN--}:
+                       {--ADMIN_CONFIG_BONUS_LOGIN--}
                </td>
                <td class="bottom" align="center">
                        <input type="text" class="form_field" name="login_bonus" size="8" maxlength="20" value="{%config,translateComma=login_bonus%}" />
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_TURBO_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_TURBO_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO--}</td>
                <td align="center">
                        <input type="text" class="form_field" name="turbo_bonus" size="10" maxlength="20" value="{%config,translateComma=turbo_bonus%}" />
                        <span class="notice">({?POINTS?})</span>
        </tr>
        <tr>
                <td class="bottom" align="right" valign="top">
-                       {--ADMIN_CONFIG_TURBO_RATES--}:<br />
+                       {--ADMIN_CONFIG_TURBO_RATES--}<br />
                        <br />
                        <div align="left">
                                <ol>
-                                       <li><strong>{--ADMIN_CONFIG_TURBO_RATES_NOTE1--}:</strong></li>
-                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTE2--}</li>
-                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTE3--}</li>
-                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTE4--}</li>
+                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE1--}</li>
+                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE2--}</li>
+                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE3--}</li>
+                                       <li>{--ADMIN_CONFIG_TURBO_RATES_NOTICE4--}</li>
                                </ol>
                        </div>
                </td>
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_TURBO_TIMEOUT_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_TURBO_TIMEOUT_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_LOGIN_TIMEOUT--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_LOGIN_TIMEOUT--}</td>
                <td align="center">$content[login_timeout_selection]</td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_TIMEOUT--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_TIMEOUT--}</td>
                <td class="bottom" align="center">$content[bonus_timeout_selection]</td>
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_TURBO_MISC_TITLE--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_TURBO_MISC_TITLE--}
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_RANKS--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_RANKS--}</td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_ranks" size="3" maxlength="5" value="{?bonus_ranks?}" />
                </td>
        </tr>
        <tr>
-               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_LINES--}:</td>
+               <td align="right">{--ADMIN_CONFIG_BONUS_TURBO_LINES--}</td>
                <td align="center">
                        <input type="text" class="form_field" name="bonus_lines" size="3" maxlength="5" value="{?bonus_lines?}" />
                </td>
        </tr>
        <tr>
-               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_USERID--}:</td>
+               <td class="bottom" align="right">{--ADMIN_CONFIG_BONUS_USERID--}</td>
                <td class="bottom" align="center">
                        $content[bonus_userid]
                </td>
        </tr>
        <tr>
                <td colspan="2" class="table_header bottom" align="center">
-                       <strong>{--ADMIN_CONFIG_BONUS_RALLYE_NOTIFTICATIONS--}:</strong>
+                       {--ADMIN_CONFIG_BONUS_RALLYE_NOTIFTICATIONS--}
                </td>
        </tr>
        <tr>
                        {--ADMIN_CONFIG_BONUS_RALLYE_ENABLE_NOTIFY--}
                </td>
                <td align="center">
-                       <input type="radio" class="form_field" name="bonus_enable_notify" value="Y"$content[enable_notify_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_enable_notify" value="N"$content[enable_notify_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=bonus_enable_notify%}
                </td>
        </tr>
        <tr>
                        {--ADMIN_CONFIG_BONUS_RALLYE_DISABLE_NOTIFY--}
                </td>
                <td align="center">
-                       <input type="radio" class="form_field" name="bonus_disable_notify" value="Y"$content[disable_notify_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_disable_notify" value="N"$content[disable_notify_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=bonus_disable_notify%}
                </td>
        </tr>
        <tr>
                        {--ADMIN_CONFIG_BONUS_RALLYE_NEW_MEMBER_NOTIFY--}
                </td>
                <td align="center">
-                       <input type="radio" class="form_field" name="bonus_new_member_notify" value="Y"$content[new_member_notify_y] /> {--YES--}<br />
-                       <input type="radio" class="form_field" name="bonus_new_member_notify" value="N"$content[new_member_notify_n] /> {--NO--}
+                       {%template,ConfigurationYesNoSelectionBox=bonus_new_member_notify%}
                </td>
        </tr>
        <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--}" />
+                       <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
                </td>
        </tr>
 </table>
-</form>
+{%form_close%}
 </div>