2000-09-28 03:59:21 +02:00
|
|
|
<?php
|
|
|
|
/**************************************************************************\
|
2000-11-05 07:47:24 +01:00
|
|
|
* phpGroupWare - Setup *
|
2000-09-28 03:59:21 +02:00
|
|
|
* http://www.phpgroupware.org *
|
|
|
|
* -------------------------------------------- *
|
|
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
|
|
* under the terms of the GNU General Public License as published by the *
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
|
|
* option) any later version. *
|
|
|
|
\**************************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-12-14 07:38:47 +01:00
|
|
|
$phpgw_info["flags"] = array("noheader" => True, "nonavbar" => True, "currentapp" => "home", "noapi" => True);
|
2000-12-01 19:25:01 +01:00
|
|
|
include("./inc/functions.inc.php");
|
2000-09-28 03:59:21 +02:00
|
|
|
include("../header.inc.php");
|
|
|
|
|
2000-11-22 09:34:19 +01:00
|
|
|
// Authorize the user to use setup app and load the database
|
2000-09-28 16:28:34 +02:00
|
|
|
// Does not return unless user is authorized
|
2000-12-27 23:04:44 +01:00
|
|
|
if (!$phpgw_setup->auth("Config")){
|
2000-12-01 19:25:01 +01:00
|
|
|
Header("Location: index.php");
|
|
|
|
exit;
|
|
|
|
}
|
2000-12-27 10:05:13 +01:00
|
|
|
$phpgw_setup->loaddb();
|
2000-09-28 04:32:53 +02:00
|
|
|
|
2000-12-04 09:45:30 +01:00
|
|
|
/* Guessing default paths. */
|
|
|
|
$current_config["files_dir"] = ereg_replace("/setup","/files",dirname($SCRIPT_FILENAME));
|
|
|
|
if (is_dir("/tmp")){
|
|
|
|
$current_config["temp_dir"] = "/tmp";
|
|
|
|
}else{
|
|
|
|
$current_config["temp_dir"] = "/path/to/temp/dir";
|
|
|
|
}
|
|
|
|
|
2000-09-28 04:32:53 +02:00
|
|
|
if ($submit) {
|
2000-12-27 10:05:13 +01:00
|
|
|
@$phpgw_setup->db->query("delete from config");
|
2000-12-14 07:38:47 +01:00
|
|
|
while ($newsetting = each($newsettings)) {
|
2000-12-01 21:07:23 +01:00
|
|
|
if ($newsetting[0] == "nntp_server") {
|
2000-12-27 10:05:13 +01:00
|
|
|
$phpgw_setup->db->query("select config_value FROM config WHERE config_name='nntp_server'");
|
|
|
|
if ($phpgw_setup->db->num_rows()) {
|
|
|
|
$phpgw_setup->db->next_record();
|
|
|
|
if ($phpgw_setup->db->f("config_value") <> $newsetting[1]) {
|
|
|
|
$phpgw_setup->db->query("DELETE FROM newsgroups");
|
|
|
|
$phpgw_setup->db->query("DELETE FROM users_newsgroups");
|
2000-11-04 05:50:02 +01:00
|
|
|
}
|
|
|
|
}
|
2000-12-01 21:07:23 +01:00
|
|
|
}
|
2000-12-27 10:05:13 +01:00
|
|
|
$phpgw_setup->db->query("insert into config (config_name, config_value) values ('" . addslashes($newsetting[0])
|
2000-12-01 21:07:23 +01:00
|
|
|
. "','" . addslashes($newsetting[1]) . "')");
|
2000-12-14 07:38:47 +01:00
|
|
|
}
|
2000-12-01 21:07:23 +01:00
|
|
|
if ($newsettings["auth_type"] == "ldap") {
|
|
|
|
Header("Location: ldap.php");
|
|
|
|
exit;
|
|
|
|
} else {
|
|
|
|
//echo "<center>Your config has been updated<br><a href='".$newsettings["webserver_url"]."/login.php'>Click here to login</a>";
|
|
|
|
Header("Location: index.php");
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($newsettings["auth_type"] != "ldap") {
|
2000-12-27 10:05:13 +01:00
|
|
|
$phpgw_setup->show_header("Configuration");
|
2000-09-28 04:32:53 +02:00
|
|
|
}
|
|
|
|
|
2000-12-27 10:05:13 +01:00
|
|
|
@$phpgw_setup->db->query("select * from config");
|
|
|
|
while (@$phpgw_setup->db->next_record()) {
|
|
|
|
$current_config[$phpgw_setup->db->f("config_name")] = $phpgw_setup->db->f("config_value");
|
2000-12-14 07:38:47 +01:00
|
|
|
}
|
2000-12-12 17:39:18 +01:00
|
|
|
|
|
|
|
if ($current_config["files_dir"] == "/path/to/dir/phpgroupware/files") {
|
|
|
|
$current_config["files_dir"] = $phpgw_info["server"]["server_root"] . "/files";
|
|
|
|
}
|
|
|
|
|
2000-11-17 16:35:25 +01:00
|
|
|
|
|
|
|
if ($error == "badldapconnection") {
|
|
|
|
// Please check the number and dial again :)
|
|
|
|
echo "<br><center><b>Error:</b> There was a problem tring to connect to your LDAP server, please "
|
|
|
|
. "check your config.</center>";
|
|
|
|
}
|
|
|
|
|
2000-09-28 04:32:53 +02:00
|
|
|
?>
|
2000-09-28 03:59:21 +02:00
|
|
|
<form method="POST" action="config.php">
|
2000-09-28 06:38:04 +02:00
|
|
|
<table border="0" align="center">
|
|
|
|
<tr bgcolor="486591">
|
|
|
|
<td colspan="2"><font color="fefefe"> <b>Directory information</b></font></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<tr bgcolor="e6e6e6">
|
2000-11-03 06:27:48 +01:00
|
|
|
<td>Enter path for temporary files.</td>
|
|
|
|
<td><input name="newsettings[temp_dir]" value="<?php echo $current_config["temp_dir"]; ?>" size="40"></td>
|
2000-09-28 03:59:21 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 03:59:21 +02:00
|
|
|
<td>Enter path for users and group files.</td>
|
2000-11-03 06:27:48 +01:00
|
|
|
<td><input name="newsettings[files_dir]" value="<?php echo $current_config["files_dir"]; ?>" size="40"></td>
|
2000-09-28 03:59:21 +02:00
|
|
|
</tr>
|
2000-09-28 06:38:04 +02:00
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
2000-11-03 06:27:48 +01:00
|
|
|
<td>Enter the location of phpGroupWare's URL.<br>Example: /phpGroupWare<br>(leave blank if at http://yourserver/)</td>
|
2000-09-28 03:59:21 +02:00
|
|
|
<td><input name="newsettings[webserver_url]" value="<?php echo $current_config["webserver_url"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="FFFFFF">
|
|
|
|
<td colspan="2"> </td>
|
2000-09-28 03:59:21 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="486591">
|
|
|
|
<td colspan="2"><font color="fefefe"> <b>Mail settings</b></font></td>
|
2000-09-28 03:59:21 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 03:59:21 +02:00
|
|
|
<td>Enter the location of your mail server:</td>
|
|
|
|
<td><input name="newsettings[mail_server]" value="<?php echo $current_config["mail_server"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected[$current_config["mail_server_type"]] = " selected"; ?>
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 03:59:21 +02:00
|
|
|
<td>Select your mail server type:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[mail_server_type]">
|
2000-09-28 06:10:11 +02:00
|
|
|
<option value="imap"<?php echo $selected["imap"]; ?>>IMAP</option>
|
|
|
|
<option value="pop3"<?php echo $selected["pop3"]; ?>>POP-3</option>
|
2000-09-28 03:59:21 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected = array(); ?>
|
2000-09-28 03:59:21 +02:00
|
|
|
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected[$current_config["imap_server_type"]] = " selected"; ?>
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 03:59:21 +02:00
|
|
|
<td>IMAP server type:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[imap_server_type]">
|
2000-11-26 11:32:24 +01:00
|
|
|
<option value="Cyrus"<?php echo $selected["Cyrus"]; ?>>Cyrus or Courier</option>
|
2000-09-28 06:10:11 +02:00
|
|
|
<option value="UWash"<?php echo $selected["UWash"]; ?>>UWash</option>
|
2000-12-06 12:19:59 +01:00
|
|
|
<option value="UW-Maildir"<?php echo $selected["UW-Maildir"]; ?>>UW-Maildir</option>
|
2000-09-28 03:59:21 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected = array(); ?>
|
2000-09-28 03:59:21 +02:00
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 03:59:21 +02:00
|
|
|
<td>Enter your mail sufix:</td>
|
|
|
|
<td><input name="newsettings[mail_suffix]" value="<?php echo $current_config["mail_suffix"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected[$current_config["mail_login_type"]] = " selected"; ?>
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:08:07 +02:00
|
|
|
<td>Mail server login type:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[mail_login_type]">
|
2000-09-28 06:10:11 +02:00
|
|
|
<option value="standard"<?php echo $selected["standard"]; ?>>standard</option>
|
|
|
|
<option value="vmailmgr"<?php echo $selected["vmailmgr"]; ?>>vmailmgr</option>
|
2000-09-28 04:08:07 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected = array(); ?>
|
2000-09-28 04:08:07 +02:00
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:08:07 +02:00
|
|
|
<td>Enter your SMTP server hostname:</td>
|
|
|
|
<td><input name="newsettings[smtp_server]" value="<?php echo $current_config["smtp_server"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:08:07 +02:00
|
|
|
<td>Enter your SMTP server port:</td>
|
|
|
|
<td><input name="newsettings[smtp_port]" value="<?php echo $current_config["smtp_port"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="FFFFFF">
|
|
|
|
<td colspan="2"> </td>
|
2000-09-28 04:08:07 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="486591">
|
2000-11-19 09:28:29 +01:00
|
|
|
<td colspan="2"><font color="fefefe"> <b>Authentication / Accounts</b></font></td>
|
2000-09-28 04:08:07 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<?php $selected[$current_config["auth_type"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
2000-11-03 06:27:48 +01:00
|
|
|
<td>Select which type of authentication you are using.</td>
|
2000-09-28 06:38:04 +02:00
|
|
|
<td>
|
|
|
|
<select name="newsettings[auth_type]">
|
|
|
|
<option value="sql"<?php echo $selected["sql"]; ?>>SQL</option>
|
|
|
|
<option value="ldap"<?php echo $selected["ldap"]; ?>>LDAP</option>
|
2000-11-19 09:28:29 +01:00
|
|
|
<option value="mail"<?php echo $selected["mail"]; ?>>Mail</option>
|
2000-12-15 04:27:17 +01:00
|
|
|
<option value="http"<?php echo $selected["http"]; ?>>HTTP</option>
|
2000-11-19 09:28:29 +01:00
|
|
|
<option value="pam"<?php echo $selected["pam"]; ?>>PAM (Not Ready)</option>
|
2000-09-28 06:38:04 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
2000-09-28 04:08:07 +02:00
|
|
|
</tr>
|
2000-09-28 06:38:04 +02:00
|
|
|
<?php $selected = array(); ?>
|
2000-09-28 04:08:07 +02:00
|
|
|
|
2000-11-19 09:28:29 +01:00
|
|
|
<?php $selected[$current_config["account_repository"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Select where you want to store/retrieve user accounts.</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[account_repository]">
|
|
|
|
<option value="sql"<?php echo $selected["sql"]; ?>>SQL</option>
|
|
|
|
<option value="ldap"<?php echo $selected["ldap"]; ?>>LDAP</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Auto create account records for authenticated users:</td>
|
|
|
|
<td><input type="checkbox" name="newsettings[auto_create_acct]" value="True"<?php echo ($current_config["auto_create_acct"]?" checked":""); ?>></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-11-26 11:32:24 +01:00
|
|
|
<?php $selected[$current_config["acl_default"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>If no ACL records for user or any group the user is a member of: </td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[acl_default]">
|
|
|
|
<option value="grant"<?php echo $selected["grant"]; ?>>Grant Access</option>
|
|
|
|
<option value="deny"<?php echo $selected["deny"]; ?>>Deny Access</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>LDAP host:</td>
|
|
|
|
<td><input name="newsettings[ldap_host]" value="<?php echo $current_config["ldap_host"]; ?>"></td>
|
2000-09-28 04:08:07 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>LDAP context:</td>
|
2000-11-03 06:27:48 +01:00
|
|
|
<td><input name="newsettings[ldap_context]" value="<?php echo $current_config["ldap_context"]; ?>" size="40"></td>
|
2000-09-28 04:08:07 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-10-20 07:51:27 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>LDAP root dn:</td>
|
2000-11-03 06:27:48 +01:00
|
|
|
<td><input name="newsettings[ldap_root_dn]" value="<?php echo $current_config["ldap_root_dn"]; ?>" size="40"></td>
|
2000-10-20 07:51:27 +02:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>LDAP root password:</td>
|
|
|
|
<td><input name="newsettings[ldap_root_pw]" value="<?php echo $current_config["ldap_root_pw"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<?php $selected[$current_config["ldap_encryption_type"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>LDAP encryption type</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[ldap_encryption_type]">
|
|
|
|
<option value="DES"<?php echo $selected["DES"]; ?>>DES</option>
|
|
|
|
<option value="MD5"<?php echo $selected["MD5"]; ?>>MD5</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Use cookies to pass sessionid:</td>
|
|
|
|
<td><input type="checkbox" name="newsettings[usecookies]" value="True"<?php echo ($current_config["usecookies"]?" checked":""); ?>></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter some random text for app_session <br>encryption (requires mcrypt)</td>
|
2000-11-03 06:27:48 +01:00
|
|
|
<td><input name="newsettings[encryptkey]" value="<?php echo $current_config["encryptkey"]; ?>" size="40"></td>
|
2000-09-28 06:38:04 +02:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="FFFFFF">
|
|
|
|
<td colspan="2"> </td>
|
2000-09-28 04:18:29 +02:00
|
|
|
</tr>
|
2000-09-28 04:08:07 +02:00
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="486591">
|
|
|
|
<td colspan="2"><font color="fefefe"> <b>Server information</b></font></td>
|
2000-09-28 04:18:29 +02:00
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:18:29 +02:00
|
|
|
<td>Enter your default FTP server.</td>
|
|
|
|
<td><input name="newsettings[default_ftp_server]" value="<?php echo $current_config["default_ftp_server"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:18:29 +02:00
|
|
|
<td>Enter your HTTP proxy server.</td>
|
|
|
|
<td><input name="newsettings[httpproxy_server]" value="<?php echo $current_config["httpproxy_server"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:18:29 +02:00
|
|
|
<td>Enter your HTTP proxy server port.</td>
|
|
|
|
<td><input name="newsettings[httpproxy_port]" value="<?php echo $current_config["httpproxy_port"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected[$current_config["showpoweredbyon"]] = " selected"; ?>
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:18:29 +02:00
|
|
|
<td>Showed powered by logo on:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[showpoweredbyon]">
|
2000-09-28 06:10:11 +02:00
|
|
|
<option value="bottom"<?php echo $selected["bottom"]; ?>>bottom</option>
|
|
|
|
<option value="top"<?php echo $selected["top"]; ?>>top</option>
|
2000-09-28 04:18:29 +02:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2000-09-28 06:10:11 +02:00
|
|
|
<?php $selected = array(); ?>
|
2000-09-28 04:18:29 +02:00
|
|
|
|
2000-12-11 10:18:09 +01:00
|
|
|
<?php $selected[$current_config["useframes"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Frame support:</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[useframes]">
|
|
|
|
<option value="allowed"<?php echo $selected["allowed"]; ?>>Allow frames</option>
|
|
|
|
<option value="always"<?php echo $selected["always"]; ?>>Force frames</option>
|
|
|
|
<option value="never"<?php echo $selected["never"]; ?>>Disable frames</option>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
2000-12-05 10:33:16 +01:00
|
|
|
<?php $selected[$current_config["htmlcompliant"]] = " selected"; ?>
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Use pure HTML compliant code (not fully working yet):</td>
|
|
|
|
<td>
|
|
|
|
<select name="newsettings[htmlcompliant]">
|
2000-12-25 10:38:47 +01:00
|
|
|
<option value="True"<?php echo $selected["True"]; ?>>True</option>
|
|
|
|
<option value="False"<?php echo $selected["False"]; ?>>False</option>
|
2000-12-05 10:33:16 +01:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php $selected = array(); ?>
|
|
|
|
|
2000-09-28 06:38:04 +02:00
|
|
|
<tr bgcolor="e6e6e6">
|
2000-09-28 04:18:29 +02:00
|
|
|
<td>Would like like phpGroupWare to check for new version<br>when admins login ?:</td>
|
2000-09-28 06:10:11 +02:00
|
|
|
<td><input type="checkbox" name="newsettings[checkfornewversion]" value="True"<?php echo ($current_config["checkfornewversion"]?" checked":""); ?>></td>
|
2000-09-28 04:18:29 +02:00
|
|
|
</tr>
|
2000-09-28 06:38:04 +02:00
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter the title for your site.</td>
|
|
|
|
<td><input name="newsettings[site_title]" value="<?php echo $current_config["site_title"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter the hostname of the machine this server is running on.</td>
|
|
|
|
<td><input name="newsettings[hostname]" value="<?php echo $SERVER_NAME; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="FFFFFF">
|
|
|
|
<td colspan="2"> </td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="486591">
|
|
|
|
<td colspan="2"><font color="fefefe"> <b>NNTP settings</b></font></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP server hostname:</td>
|
|
|
|
<td><input name="newsettings[nntp_server]" value="<?php echo $current_config["nntp_server"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP server port:</td>
|
|
|
|
<td><input name="newsettings[nntp_port]" value="<?php echo $current_config["nntp_port"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP sender:</td>
|
|
|
|
<td><input name="newsettings[nntp_sender]" value="<?php echo $current_config["nntp_sender"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP organization:</td>
|
|
|
|
<td><input name="newsettings[nntp_organization]" value="<?php echo $current_config["nntp_organization"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP admins email address:</td>
|
|
|
|
<td><input name="newsettings[nntp_admin]" value="<?php echo $current_config["nntp_admin"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP login:</td>
|
|
|
|
<td><input name="newsettings[nntp_login_username]" value="<?php echo $current_config["nntp_login_username"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="e6e6e6">
|
|
|
|
<td>Enter your NNTP password:</td>
|
|
|
|
<td><input name="newsettings[nntp_login_password]" value="<?php echo $current_config["nntp_login_password"]; ?>"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr bgcolor="FFFFFF">
|
|
|
|
<td colspan="2"> </td>
|
|
|
|
</tr>
|
|
|
|
|
2000-09-28 03:59:21 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="2" align="center"><input type="submit" name="submit" value="Submit"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2000-09-28 16:28:34 +02:00
|
|
|
</form>
|
|
|
|
</body></html>
|