Localize true/false selection boxes.

This commit is contained in:
petere78 2004-04-20 09:29:04 +00:00
parent 76f22cc700
commit ab0d4c5989
2 changed files with 8 additions and 6 deletions

View File

@ -650,6 +650,8 @@
$setup_tpl->set_var('lang_domselect',lang('Domain select box on login'));
$setup_tpl->set_var('lang_finaldescr',lang('After retrieving the file, put it into place as the header.inc.php. Then, click "continue".'));
$setup_tpl->set_var('lang_continue',lang('Continue'));
$setup_tpl->set_var('lang_Yes',lang('Yes'));
$setup_tpl->set_var('lang_No',lang('No'));
$setup_tpl->pfp('out','manageheader');

View File

@ -44,8 +44,8 @@
<tr>
<td><b>{lang_persist}</b><br>
<select type="checkbox" name="setting[db_persistent]">
<option value="True"{db_persistent_yes}>True</option>
<option value="False"{db_persistent_no}>False</option>
<option value="True"{db_persistent_yes}>{lang_Yes}</option>
<option value="False"{db_persistent_no}>{lang_No}</option>
</select>
</td>
<td>{lang_persistdescr}</td>
@ -61,8 +61,8 @@
<tr>
<td><b>{lang_enablemcrypt}</b><br>
<select name="setting[enable_mcrypt]">
<option value="True"{mcrypt_enabled_yes}>True
<option value="False"{mcrypt_enabled_no}>False
<option value="True"{mcrypt_enabled_yes}>{lang_Yes}</option>
<option value="False"{mcrypt_enabled_no}>{lang_No}</option>
</select>
</td>
<td>{lang_mcrypt_warning}</td>
@ -78,8 +78,8 @@
<tr>
<td><b>{lang_domselect}</b><br>
<select name="setting[domain_selectbox]">
<option value="True"{domain_selectbox_yes}>True</option>
<option value="False"{domain_selectbox_no}>False</option>
<option value="True"{domain_selectbox_yes}>{lang_Yes}</option>
<option value="False"{domain_selectbox_no}>{lang_No}</option>
</select></td><td>&nbsp;
</td>
</tr>