Disabled frames

This commit is contained in:
jengo 2001-01-10 03:08:03 +00:00
parent f20d77f356
commit d3bcb08a08
2 changed files with 16 additions and 14 deletions

View File

@ -39,7 +39,7 @@
</tr>
<?php $selected = array(); ?>
<?php $selected[$current_config["useframes"]] = " selected"; ?>
<?php/* $selected[$current_config["useframes"]] = " selected"; ?>
<tr bgcolor="e6e6e6">
<td>Frame support:</td>
<td>
@ -50,7 +50,7 @@
</select>
</td>
</tr>
<?php $selected = array(); ?>
<?php $selected = array(); */?>
<?php $selected[$current_config["htmlcompliant"]] = " selected"; ?>
<tr bgcolor="e6e6e6">

View File

@ -33,6 +33,8 @@
if ($submit) {
@$phpgw_setup->db->query("delete from config");
// This is only temp.
$phpgw_setup->db->query("insert into config (config_name, config_value) values ('useframes','never')");
while ($newsetting = each($newsettings)) {
if ($newsetting[0] == "nntp_server") {
$phpgw_setup->db->query("select config_value FROM config WHERE config_name='nntp_server'");