2002-04-07 06:11:50 +02:00
|
|
|
<!-- BEGIN manageheader -->
|
2003-10-10 01:08:04 +02:00
|
|
|
|
2003-12-08 05:50:23 +01:00
|
|
|
<script language="JavaScript" type="text/javascript">
|
|
|
|
<!--
|
|
|
|
{js_default_db_ports}
|
|
|
|
function setDefaultDBPort(selectBox,portField)
|
|
|
|
{
|
|
|
|
//alert("select: " + selectBox + "; portField: " + portField);
|
|
|
|
if(selectBox.selectedIndex != -1 && selectBox.options[selectBox.selectedIndex].value)
|
|
|
|
{
|
|
|
|
//alert("value = " + selectBox.options[selectBox.selectedIndex].value);
|
|
|
|
portField.value = default_db_ports[selectBox.options[selectBox.selectedIndex].value];
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
|
2003-10-10 01:08:04 +02:00
|
|
|
<table border="0" width="90%" cellspacing="0" cellpadding="0" align="center">
|
|
|
|
<tbody><tr><td>
|
|
|
|
|
2002-04-07 06:11:50 +02:00
|
|
|
{detected}
|
2003-10-10 01:08:04 +02:00
|
|
|
|
|
|
|
<tr class="th">
|
2003-08-28 16:31:11 +02:00
|
|
|
<th colspan="2">{lang_settings}</th>
|
2002-04-08 01:56:03 +02:00
|
|
|
</tr>
|
2003-12-08 05:50:23 +01:00
|
|
|
<form name="domain_settings" action="manageheader.php" method="post">
|
2002-04-07 06:11:50 +02:00
|
|
|
<input type="hidden" name="setting[write_config]" value="true">
|
2002-04-08 01:56:03 +02:00
|
|
|
<tr>
|
2002-04-07 06:11:50 +02:00
|
|
|
<td colspan="2"><b>{lang_serverroot}</b>
|
2002-04-08 01:56:03 +02:00
|
|
|
<br><input type="text" name="setting[server_root]" size="80" value="{server_root}">
|
|
|
|
</td>
|
2002-04-07 06:11:50 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><b>{lang_includeroot}</b><br><input type="text" name="setting[include_root]" size="80" value="{include_root}"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2004-01-18 22:03:56 +01:00
|
|
|
<td colspan="2"><b>{lang_adminuser}</b><br><input type="text" name="setting[HEADER_ADMIN_USER]" size="30" value="{header_admin_user}"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2004-04-01 14:18:22 +02:00
|
|
|
<td colspan="2"><b>{lang_adminpass}</b><br><input type="password" name="setting[HEADER_ADMIN_PASSWORD]" size="30" value="{header_admin_password}"><input type="hidden" name="setting[HEADER_ADMIN_PASS]" value="{header_admin_pass}"></td>
|
2002-04-07 06:11:50 +02:00
|
|
|
</tr>
|
2002-04-08 01:56:03 +02:00
|
|
|
<br><br>
|
2002-04-07 06:11:50 +02:00
|
|
|
<tr>
|
|
|
|
<td><b>{lang_persist}</b><br>
|
|
|
|
<select type="checkbox" name="setting[db_persistent]">
|
2004-04-20 11:29:04 +02:00
|
|
|
<option value="True"{db_persistent_yes}>{lang_Yes}</option>
|
|
|
|
<option value="False"{db_persistent_no}>{lang_No}</option>
|
2002-04-07 06:11:50 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td>{lang_persistdescr}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{lang_sesstype}</b><br>
|
|
|
|
<select name="setting[sessions_type]">
|
|
|
|
{session_options}
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td>{lang_sesstypedescr}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2003-11-03 23:21:55 +01:00
|
|
|
<td><b>{lang_enablemcrypt}</b><br>
|
2002-04-07 06:11:50 +02:00
|
|
|
<select name="setting[enable_mcrypt]">
|
2004-04-20 11:29:04 +02:00
|
|
|
<option value="True"{mcrypt_enabled_yes}>{lang_Yes}</option>
|
|
|
|
<option value="False"{mcrypt_enabled_no}>{lang_No}</option>
|
2002-04-07 06:11:50 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
2003-11-03 23:21:55 +01:00
|
|
|
<td>{lang_mcrypt_warning}</td>
|
2002-04-07 06:11:50 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2002-04-08 01:56:03 +02:00
|
|
|
<td><b>{lang_mcryptversion}</b><br><input type="text" name="setting[mcrypt_version]" value="{mcrypt}"></td>
|
2002-04-07 06:11:50 +02:00
|
|
|
<td>{lang_mcryptversiondescr}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{lang_mcryptiv}</b><br><input type="text" name="setting[mcrypt_iv]" value="{mcrypt_iv}" size="30"></td>
|
|
|
|
<td>{lang_mcryptivdescr}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{lang_domselect}</b><br>
|
|
|
|
<select name="setting[domain_selectbox]">
|
2004-04-20 11:29:04 +02:00
|
|
|
<option value="True"{domain_selectbox_yes}>{lang_Yes}</option>
|
|
|
|
<option value="False"{domain_selectbox_no}>{lang_No}</option>
|
2002-04-07 06:11:50 +02:00
|
|
|
</select></td><td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2002-04-08 01:56:03 +02:00
|
|
|
{domains}{comment_l}
|
2003-08-28 16:31:11 +02:00
|
|
|
<tr class="th">
|
2002-04-08 01:56:03 +02:00
|
|
|
<td colspan="2"><input type="submit" name="adddomain" value="{lang_adddomain}"></td>
|
|
|
|
</tr>{comment_r}
|
2003-08-28 16:31:11 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">{errors}</td>
|
|
|
|
</tr>
|
2002-04-07 06:11:50 +02:00
|
|
|
{formend}
|
2003-08-28 16:31:11 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="3">
|
2002-04-07 06:11:50 +02:00
|
|
|
<form action="index.php" method="post">
|
|
|
|
<br>{lang_finaldescr}<br>
|
|
|
|
<input type="hidden" name="FormLogout" value="header">
|
|
|
|
<input type="hidden" name="ConfigLogin" value="Login">
|
2004-01-18 22:03:56 +01:00
|
|
|
<input type="hidden" name="FormUser" value="{FormUser}">
|
2002-04-07 06:11:50 +02:00
|
|
|
<input type="hidden" name="FormPW" value="{FormPW}">
|
|
|
|
<input type="hidden" name="FormDomain" value="{FormDomain}">
|
2003-08-28 16:31:11 +02:00
|
|
|
<input type="submit" name="junk" value="{lang_continue}">
|
2002-04-07 06:11:50 +02:00
|
|
|
</form>
|
2003-08-28 16:31:11 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr class="banner">
|
|
|
|
<td colspan="3"> </td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2002-04-07 06:11:50 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
2002-04-08 01:56:03 +02:00
|
|
|
<!-- END manageheader -->
|
|
|
|
|
|
|
|
<!-- BEGIN domain -->
|
2003-08-28 16:31:11 +02:00
|
|
|
<tr class="th">
|
|
|
|
<td>{lang_domain}:</td> <td><input name="domains[{db_domain}]" value="{db_domain}"> <input type="checkbox" name="deletedomain[{db_domain}]"> <font color="fefefe">{lang_delete}</font></td>
|
2002-04-08 01:56:03 +02:00
|
|
|
</tr>
|
2003-12-08 05:50:23 +01:00
|
|
|
<tr>
|
|
|
|
<td><b>{lang_dbtype}</b><br>
|
|
|
|
<select name="setting_{db_domain}[db_type]" onchange="setDefaultDBPort(this,this.form['setting_{db_domain}[db_port]']);">
|
|
|
|
{dbtype_options}
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td>{lang_whichdb}</td>
|
|
|
|
</tr>
|
2002-04-08 01:56:03 +02:00
|
|
|
<tr>
|
|
|
|
<td><b>{lang_dbhost}</b><br><input type="text" name="setting_{db_domain}[db_host]" value="{db_host}"></td><td>{lang_dbhostdescr}</td>
|
|
|
|
</tr>
|
2003-12-08 05:50:23 +01:00
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{lang_dbport}</b><br><input type="text" name="setting_{db_domain}[db_port]" value="{db_port}"></td><td>{lang_dbportdescr}</td>
|
|
|
|
</tr>
|
2002-04-08 01:56:03 +02:00
|
|
|
<tr>
|
|
|
|
<td><b>{lang_dbname}</b><br><input type="text" name="setting_{db_domain}[db_name]" value="{db_name}"></td><td>{lang_dbnamedescr}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{lang_dbuser}</b><br><input type="text" name="setting_{db_domain}[db_user]" value="{db_user}"></td><td>{lang_dbuserdescr}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2004-01-17 17:48:12 +01:00
|
|
|
<td><b>{lang_dbpass}</b><br><input type="password" name="setting_{db_domain}[db_pass]" value="{db_pass}"></td><td>{lang_dbpassdescr}</td>
|
2002-04-08 01:56:03 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2004-01-18 22:03:56 +01:00
|
|
|
<td><b>{lang_configuser}</b><br><input type="text" name="setting_{db_domain}[config_user]" value="{config_user}"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{lang_configpass}</b><br><input type="password" name="setting_{db_domain}[config_pass]" value="{config_pass}"><input type="hidden" name="setting_{db_domain}[config_password]" value="{config_password}"></td>
|
2002-04-08 01:56:03 +02:00
|
|
|
<td>{lang_passforconfig}</td>
|
|
|
|
</tr>
|
|
|
|
<!-- END domain -->
|
2003-10-10 01:08:04 +02:00
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|