<div align="center">
-<form accept-charset="utf-8" action="{%url=modules.php?module=admin&what=config_other%}" method="post">
-<table border="0" cellspacing="0" cellpadding="0" class="admin_table dashed">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=admin&what=config_other%}" method="post">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed">
<tr>
- <td colspan="2" align="center" class="admin_title bottom">
- <strong>{--ADMIN_OTHER_SETTINGS--}</strong>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_OTHER_TITLE--}</strong>
</td>
</tr>
<tr>
- <td align="right" width="300">{--ADMIN_OPTION_CODE_LENGTH--}:</td>
+ <td align="right" width="300">
+ {--ADMIN_CONFIG_CODE_LENGTH--}:
+ </td>
<td>
- <input type="text" name="code_length" class="admin_normal" size="3" maxlength="5" value="{?code_length?}" />
- <div class="tiny">{--ADMIN_CODE_LENGTH_NOTE--}</div>
+ <input type="text" class="form_field" name="code_length" size="3" maxlength="5" value="{?code_length?}" />
+ <span class="tiny">{--ADMIN_CODE_LENGTH_NOTE--}</span>
</td>
</tr>
<tr>
<td align="right">
- {--ADMIN_OPTION_ACTIVATE_EXCHANGE--}:
+ {--ADMIN_CONFIG_ACTIVATE_EXCHANGE--}:
</td>
<td>
- <input type="text" name="activate_xchange" class="admin_normal" size="10" maxlength="10" value="{?activate_xchange?}" />
+ <input type="text" class="form_field" name="activate_xchange" size="10" maxlength="10" value="{?activate_xchange?}" />
</td>
</tr>
<tr>
<td align="right">
- {--ADMIN_OPTION_MINIMUM_AGE--}:
+ {--ADMIN_CONFIG_MINIMUM_AGE--}:
</td>
<td>
- <input type="text" name="min_age" class="admin_normal" size="3" maxlength="3" value="{?min_age?}" />
+ <input type="text" class="form_field" name="min_age" size="3" maxlength="3" value="{?min_age?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_POINTS_WORD--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_POINTS_WORD--}:
+ </td>
<td>
- <input type="text" name="points_word" class="admin_normal" size="7" maxlength="255" value="{?POINTS?}" />
+ <input type="text" class="form_field" name="points_word" size="7" maxlength="255" value="{?POINTS?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_MT_WORD--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_MT_WORD--}:
+ </td>
<td>
- <input type="text" name="mt_word" class="admin_normal" size="15" maxlength="255" value="{?mt_word?}" />
+ <input type="text" class="form_field" name="mt_word" size="15" maxlength="255" value="{?mt_word?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_MT_WORD2--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_MT_WORD2--}:
+ </td>
<td>
- <input type="text" name="mt_word2" class="admin_normal" size="15" maxlength="255" value="{?mt_word2?}" />
+ <input type="text" class="form_field" name="mt_word2" size="15" maxlength="255" value="{?mt_word2?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_MT_WORD3--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_MT_WORD3--}:
+ </td>
<td>
- <input type="text" name="mt_word3" class="admin_normal" size="15" maxlength="255" value="{?mt_word3?}" />
+ <input type="text" class="form_field" name="mt_word3" size="15" maxlength="255" value="{?mt_word3?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_MAX_COMMA--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_MAX_COMMA--}:
+ </td>
<td>
<!-- @TODO Rewrite this selection to one of our functions //-->
- <select name="max_comma" size="1" class="admin_select">
+ <select name="max_comma" size="1" class="form_select">
<option value="0"$content[comma_def_0]>0</option>
<option value="1"$content[comma_def_1]>1</option>
<option value="2"$content[comma_def_2]>2</option>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_REJECT_URL--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_REJECT_URL--}:
+ </td>
<td>
- <input type="text" name="reject_url" class="admin_normal" size="15" maxlength="255" value="{?reject_url?}" />
+ <input type="text" class="form_field" name="reject_url" size="15" maxlength="255" value="{?reject_url?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_CSS_PHP--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_CSS_PHP--}
+ </td>
<td>
- <input type="radio" name="css_php" value="DIRECT"$content[css_php_direct] /> {--ADMIN_CSS_PHP_DIRECT--}<br />
- <input type="radio" name="css_php" value="FILE"$content[css_php_file] /> {--ADMIN_CSS_PHP_FILE--}<br />
- <input type="radio" name="css_php" value="INLINE"$content[css_php_inline] /> {--ADMIN_CSS_PHP_INLINE--}
+ <input type="radio" class="form_field" name="css_php" value="DIRECT"$content[css_php_direct] /> {--ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_DIRECT--}<br />
+ <input type="radio" class="form_field" name="css_php" value="FILE"$content[css_php_file] /> {--ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_FILE--}<br />
+ <input type="radio" class="form_field" name="css_php" value="INLINE"$content[css_php_inline] /> {--ADMIN_CONFIG_SELECT_CSS_OUTPUT_MODE_INLINE--}
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_GUEST_MENU--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_GUEST_MENU--}
+ </td>
<td>
- <input type="radio" name="guest_menu" value="Y"$content[guest_menu_y] /> {--ADMIN_GUEST_MENU_ACTIVE--}<br />
- <input type="radio" name="guest_menu" value="N"$content[guest_menu_n] /> {--ADMIN_GUEST_MENU_INACTIVE--}
+ {%template,ConfigurationYesNoSelectionBox=guest_menu%}
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_MEMBER_MENU--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_MEMBER_MENU--}
+ </td>
<td>
- <input type="radio" name="member_menu" value="Y"$content[member_menu_y] /> {--ADMIN_MEMBER_MENU_ACTIVE--}<br />
- <input type="radio" name="member_menu" value="N"$content[member_menu_n] /> {--ADMIN_MEMBER_MENU_INACTIVE--}
+ {%template,ConfigurationYesNoSelectionBox=member_menu%}
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_YOURE_HERE--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_YOURE_HERE--}
+ </td>
<td>
- <input type="radio" name="youre_here" value="Y"$content[youre_here_y] /> {--ADMIN_YOURE_HERE_ACTIVE--}<br />
- <input type="radio" name="youre_here" value="N"$content[youre_here_n] /> {--ADMIN_YOURE_HERE_INACTIVE--}
+ {%template,ConfigurationYesNoSelectionBox=youre_here%}
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_SHOW_TIMINGS--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_SHOW_TIMINGS--}
+ </td>
<td>
- <input type="radio" name="show_timings" value="Y"$content[show_timings_y] /> {--YES--}<br />
- <input type="radio" name="show_timings" value="N"$content[show_timings_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=show_timings%}
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_SHOW_POINTS_UNCONFIRMED--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_SHOW_POINTS_UNCONFIRMED--}
+ </td>
<td>
- <input type="radio" name="show_points_unconfirmed" value="Y"$content[show_points_unconfirmed_y] /> {--YES--}<br />
- <input type="radio" name="show_points_unconfirmed" value="N"$content[show_points_unconfirmed_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=show_points_unconfirmed%}
</td>
</tr>
<tr>
- <td class="bottom" align="right">{--ADMIN_OPTION_MAILID_REDIRECT--}:</td>
+ <td class="bottom" align="right">
+ {--ADMIN_CONFIG_MAILID_REDIRECT--}
+ </td>
<td class="bottom">
- <input type="radio" name="mailid_error_redirect" value="INDEX"$content[mailid_error_redirect_index] /> {--ADMIN_CONFIG_MAILID_REDIRECT_INDEX--}<br />
- <input type="radio" name="mailid_error_redirect" value="REJECT"$content[mailid_error_redirect_reject] /> {--ADMIN_CONFIG_MAILID_REDIRECT_REJECT--}
+ <input type="radio" class="form_field" name="mailid_error_redirect" value="INDEX"$content[mailid_error_redirect_index] /> {--ADMIN_CONFIG_MAILID_REDIRECT_INDEX--}<br />
+ <input type="radio" class="form_field" name="mailid_error_redirect" value="REJECT"$content[mailid_error_redirect_reject] /> {--ADMIN_CONFIG_MAILID_REDIRECT_REJECT--}
</td>
</tr>
<tr>
- <td colspan="2" align="center" class="admin_title bottom">
- <strong>{--ADMIN_SENDING_SETTINGS--}</strong>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_SENDING_TITLE--}</strong>
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_POOL_MAX_SEND--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_POOL_MAX_SEND--}:
+ </td>
<td align="center">
- <input type="text" name="max_send" class="admin_normal" size="10" maxlength="100" value="{?max_send?}" />
+ <input type="text" class="form_field" name="max_send" size="10" maxlength="100" value="{?max_send?}" />
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_ZIPCODE_ACTIVE--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_ZIPCODE_ACTIVE--}
+ </td>
<td align="center">
- <input type="radio" name="order_multi_page" value="Y"$content[order_multi_page_y] /> {--YES--}<br />
- <input type="radio" name="order_multi_page" value="N"$content[order_multi_page_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=order_multi_page%}
</td>
</tr>
<tr>
- <td class="bottom" align="right">{--ADMIN_OPTION_AUTOSEND_ACTIVE--}:</td>
+ <td class="bottom" align="right">
+ {--ADMIN_CONFIG_AUTOSEND_ACTIVE--}
+ </td>
<td class="bottom" align="center">
- <input type="radio" name="autosend_active" value="Y"$content[autosend_active_y] /> {--YES--}<br />
- <input type="radio" name="autosend_active" value="N"$content[autosend_active_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=autosend_active%}
</td>
</tr>
<tr>
- <td colspan="2" align="center" class="admin_title bottom">
- <strong>{--ADMIN_NOTIFY_SETTINGS--}</strong>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_NOTIFY_TITLE--}</strong>
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_SEND_UPDATE--}:</td>
+ <td align="right">
+ {--ADMIN_CONFIG_SEND_UPDATE--}
+ </td>
<td align="center">
- <input type="radio" name="send_prof_update" value="Y"$content[send_prof_update_y] /> {--YES--}<br />
- <input type="radio" name="send_prof_update" value="N"$content[send_prof_update_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=send_prof_update%}
</td>
</tr>
<tr>
- <td class="bottom" align="right">{--ADMIN_OPTION_NOTIFY_ADMIN--}:</td>
+ <td class="bottom" align="right">
+ {--ADMIN_CONFIG_NOTIFY_ADMIN--}
+ </td>
<td class="bottom" align="center">
- <input type="radio" name="admin_notify" value="Y"$content[admin_notify_y] /> {--YES--}<br />
- <input type="radio" name="admin_notify" value="N"$content[admin_notify_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=admin_notify%}
</td>
</tr>
<tr>
- <td colspan="2" align="center" class="admin_title bottom">
- <strong>{--ADMIN_TIMEOUT_SETTINGS--}</strong>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_TIMEOUT_TITLE--}</strong>
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_MAX_ONLINETIME--}:</td>
+ <td align="right">{--ADMIN_CONFIG_MAX_ONLINETIME--}:</td>
<td>$content[online_timeout]</td>
</tr>
<tr>
- <td class="bottom" align="right">{--ADMIN_OPTION_URL_TIME_LOCK--}:</td>
+ <td class="bottom" align="right">{--ADMIN_CONFIG_URL_TIME_LOCK--}:</td>
<td class="bottom">$content[url_tlock]</td>
</tr>
<tr>
- <td colspan="2" align="center" class="admin_title bottom">
- <strong>{--ADMIN_PROFILE_TIME_SETTINGS--}</strong>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_PROFILE_TIME_TITLE--}</strong>
</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_LOCK_PROFILE_TIME--}:</td>
+ <td align="right">{--ADMIN_CONFIG_LOCK_PROFILE_TIME--}:</td>
<td>$content[profile_lock]</td>
</tr>
<tr>
- <td align="right">{--ADMIN_OPTION_PROFILE_UPDATE--}:</td>
+ <td align="right">{--ADMIN_CONFIG_PROFILE_UPDATE--}:</td>
<td>$content[profile_update]</td>
</tr>
<tr>
- <td class="bottom" align="right">{--ADMIN_OPTION_PROFILE_REUPDATE--}:</td>
+ <td class="bottom" align="right">{--ADMIN_CONFIG_PROFILE_REUPDATE--}:</td>
<td class="bottom">$content[profile_reupdate]</td>
</tr>
<tr>
- <td colspan="2" align="center" class="admin_title bottom">
- <strong>{--ADMIN_SQL_SETTINGS--}</strong>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_SQL_TITLE--}</strong>
</td>
</tr>
<tr>
- <td class="bottom" align="right">{--ADMIN_DISPLAY_DEBUG_SQLS--}:</td>
+ <td class="bottom" align="right">
+ {--ADMIN_CONFIG_DISPLAY_DEBUG_SQLS--}
+ </td>
+ <td class="bottom" align="center">
+ {%template,ConfigurationYesNoSelectionBox=display_debug_sqls%}
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2" align="center" class="table_header bottom">
+ <strong>{--ADMIN_CONFIG_STATS_TITLE--}</strong>
+ </td>
+ </tr>
+
+ <tr>
+ <td class="bottom" align="right">
+ {--ADMIN_CONFIG_STATS_ENABLED--}
+ </td>
<td class="bottom" align="center">
- <input type="radio" name="display_debug_sqls" value="Y"$content[display_debug_sqls_y] /> {--YES--}<br />
- <input type="radio" name="display_debug_sqls" value="N"$content[display_debug_sqls_n] /> {--NO--}
+ {%template,ConfigurationYesNoSelectionBox=stats_enabled%}
</td>
</tr>
<tr>
- <td colspan="2" align="center" class="admin_title">
- <input type="reset" class="admin_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" name="ok" class="admin_submit" value="{--SAVE_SETTINGS--}" />
+ <td colspan="2" align="center" 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>
</table>