cleaned up some default settings

This commit is contained in:
seek3r 2000-09-28 09:35:59 +00:00
parent c80b248c26
commit 7c6c0c3efd
2 changed files with 4 additions and 2 deletions

View File

@ -118,4 +118,6 @@
$db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','dateformat','m/d/Y','common')"); $db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','dateformat','m/d/Y','common')");
$db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','theme','default','common')"); $db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','theme','default','common')");
$db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','tz_offset','0','common')"); $db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','tz_offset','0','common')");
$db->query("insert into preferences (preference_owner, preference_name, preference_value, preference_appname) values ('demo','lang','en','common')");
?> ?>

View File

@ -56,7 +56,7 @@
echo " <tr bgcolor=\"e6e6e6\">\n"; echo " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>You appear to be running a pre-beta version of phpGroupWare<br>\n"; echo " <td>You appear to be running a pre-beta version of phpGroupWare<br>\n";
echo " We are providing an automated upgrade system, but we highly recommend backing up your tables incase the script causes damage to your data.<br>\n"; echo " We are providing an automated upgrade system, but we highly recommend backing up your tables incase the script causes damage to your data.<br>\n";
echo " <td>These automated scripts can easily destroy your data. Please backup before gonig any further!</td>\n"; echo " These automated scripts can easily destroy your data. Please backup before gonig any further!</td>\n";
echo " </tr>\n"; echo " </tr>\n";
echo "</table>\n"; echo "</table>\n";
?> ?>
@ -125,7 +125,7 @@
echo "</table>\n"; echo "</table>\n";
$currentver = $oldversion; $currentver = $oldversion;
include ("upgradetables_".$phpgw_info["server"]["db_type"].".inc.php"); include ("upgradetables_".$phpgw_info["server"]["db_type"].".inc.php");
include ("default_records.inc.php"); // include ("default_records.inc.php");
include ("lang_records.inc.php"); include ("lang_records.inc.php");
echo "<table border=\"0\" align=\"center\">\n"; echo "<table border=\"0\" align=\"center\">\n";
echo " <tr bgcolor=\"486591\">\n"; echo " <tr bgcolor=\"486591\">\n";