mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
quick move of the htmlcompliance settin
This commit is contained in:
parent
32b3b1026d
commit
23717a00ff
@ -30,8 +30,6 @@
|
|||||||
|
|
||||||
$phpgw_info["server"]["server_root"] = "__SERVER_ROOT__";
|
$phpgw_info["server"]["server_root"] = "__SERVER_ROOT__";
|
||||||
$phpgw_info["server"]["include_root"] = "__INCLUDE_ROOT__";
|
$phpgw_info["server"]["include_root"] = "__INCLUDE_ROOT__";
|
||||||
/* This is the basic include needed on each page for phpGroupWare application compliance */
|
|
||||||
$phpgw_info["flags"]["htmlcompliant"] = __HTMLCOMPLIANT__;
|
|
||||||
|
|
||||||
$phpgw_domain["default"] = array (
|
$phpgw_domain["default"] = array (
|
||||||
"db_host" => "__DB_HOST__",
|
"db_host" => "__DB_HOST__",
|
||||||
|
@ -286,6 +286,18 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php $selected = array(); ?>
|
<?php $selected = array(); ?>
|
||||||
|
|
||||||
|
<?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]">
|
||||||
|
<option value="bottom"<?php echo $selected["True"]; ?>>True</option>
|
||||||
|
<option value="top"<?php echo $selected["False"]; ?>>False</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<?php $selected = array(); ?>
|
||||||
|
|
||||||
<tr bgcolor="e6e6e6">
|
<tr bgcolor="e6e6e6">
|
||||||
<td>Would like like phpGroupWare to check for new version<br>when admins login ?:</td>
|
<td>Would like like phpGroupWare to check for new version<br>when admins login ?:</td>
|
||||||
<td><input type="checkbox" name="newsettings[checkfornewversion]" value="True"<?php echo ($current_config["checkfornewversion"]?" checked":""); ?>></td>
|
<td><input type="checkbox" name="newsettings[checkfornewversion]" value="True"<?php echo ($current_config["checkfornewversion"]?" checked":""); ?>></td>
|
||||||
|
@ -131,23 +131,6 @@
|
|||||||
<input type=hidden name=write_config value=true>
|
<input type=hidden name=write_config value=true>
|
||||||
<tr><td colspan=2><b>Server Root</b><br><input type=text name=server_root size=80 value="<? echo $phpgw_info["server"]["server_root"] ?>"></td></tr>
|
<tr><td colspan=2><b>Server Root</b><br><input type=text name=server_root size=80 value="<? echo $phpgw_info["server"]["server_root"] ?>"></td></tr>
|
||||||
<tr><td colspan=2><b>Include Root</b><br><input type=text name=include_root size=80 value="<? echo $phpgw_info["server"]["include_root"] ?>"></td></tr>
|
<tr><td colspan=2><b>Include Root</b><br><input type=text name=include_root size=80 value="<? echo $phpgw_info["server"]["include_root"] ?>"></td></tr>
|
||||||
<tr><td colspan=2><b>htmlcompliant<br>
|
|
||||||
<select name=htmlcompliant >
|
|
||||||
<?
|
|
||||||
if($phpgw_info["flags"]["htmlcompliant"] == True) {
|
|
||||||
?>
|
|
||||||
<option value=True selected>True
|
|
||||||
<option value=False>False
|
|
||||||
<?
|
|
||||||
} else {
|
|
||||||
?>
|
|
||||||
<option value=True>True
|
|
||||||
<option value=False selected>False
|
|
||||||
<?
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</td></tr>
|
|
||||||
<tr><td><b>DB Host</b><br><input type=text name=db_host value="<? echo $phpgw_info["server"]["db_host"] ?>"></td><td>Hostname/IP of Databaseserver</td></tr>
|
<tr><td><b>DB Host</b><br><input type=text name=db_host value="<? echo $phpgw_info["server"]["db_host"] ?>"></td><td>Hostname/IP of Databaseserver</td></tr>
|
||||||
<tr><td><b>DB Name</b><br><input type=text name=db_name value="<? echo $phpgw_info["server"]["db_name"] ?>"></td><td>Name of Database</td></tr>
|
<tr><td><b>DB Name</b><br><input type=text name=db_name value="<? echo $phpgw_info["server"]["db_name"] ?>"></td><td>Name of Database</td></tr>
|
||||||
<tr><td><b>DB User</b><br><input type=text name=db_user value="<? echo $phpgw_info["server"]["db_user"] ?>"></td><td>Name of DB User as phpgroupware has to connect as</td></tr>
|
<tr><td><b>DB User</b><br><input type=text name=db_user value="<? echo $phpgw_info["server"]["db_user"] ?>"></td><td>Name of DB User as phpgroupware has to connect as</td></tr>
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
$db->query("insert into config (config_name, config_value) values ('httpproxy_server', '')");
|
$db->query("insert into config (config_name, config_value) values ('httpproxy_server', '')");
|
||||||
$db->query("insert into config (config_name, config_value) values ('httpproxy_port', '')");
|
$db->query("insert into config (config_name, config_value) values ('httpproxy_port', '')");
|
||||||
$db->query("insert into config (config_name, config_value) values ('showpoweredbyon', 'bottom')");
|
$db->query("insert into config (config_name, config_value) values ('showpoweredbyon', 'bottom')");
|
||||||
|
$db->query("insert into config (config_name, config_value) values ('htmlcompliant', 'False')");
|
||||||
$db->query("insert into config (config_name, config_value) values ('checkfornewversion', 'False')");
|
$db->query("insert into config (config_name, config_value) values ('checkfornewversion', 'False')");
|
||||||
$db->query("insert into config (config_name, config_value) values ('freshinstall', 'True')");
|
$db->query("insert into config (config_name, config_value) values ('freshinstall', 'True')");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user