fixed display code problems

This commit is contained in:
seek3r 2001-01-09 08:32:46 +00:00
parent 7da16388f2
commit 7d597b91d1
2 changed files with 6 additions and 4 deletions

View File

@ -32,6 +32,6 @@
$phpgw_setup->db->query("DROP TABLE lang"); $phpgw_setup->db->query("DROP TABLE lang");
$phpgw_setup->db->query("DROP TABLE languages"); $phpgw_setup->db->query("DROP TABLE languages");
$phpgw_setup->db->query("DROP TABLE customers"); $phpgw_setup->db->query("DROP TABLE customers");
$phpgw_setup->db->query("DROP TABLE categories"); $phpgw_setup->db->query("DROP TABLE phpgw_categories");
$phpgw_setup->db->query("DROP TABLE notes"); $phpgw_setup->db->query("DROP TABLE notes");
?> ?>

View File

@ -793,12 +793,14 @@
while (list ($key, $value) = each ($test)){ while (list ($key, $value) = each ($test)){
if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) { if ($phpgw_info["setup"]["currentver"]["phpgwapi"] == $value) {
$ver = "upgrade".ereg_replace("\.","_",$value); $ver = "upgrade".ereg_replace("\.","_",$value);
$ver(); echo "<tr><td><table>";
echo "<table>";
echo " <tr bgcolor=\"e6e6e6\">\n"; echo " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>Upgrade from $value to ".$phpgw_info["setup"]["currentver"]["phpgwapi"]." is completed.</td>\n"; echo " <td>Upgrade from $value to ".$phpgw_info["setup"]["currentver"]["phpgwapi"]." is completed.</td>\n";
echo " </tr>\n"; echo " </tr>\n";
echo "</table>"; echo " <tr><td>\n";
$ver();
echo " </td></tr>\n";
echo "</table></td></tr>\n";
if ($tableschanged == True){$tablechanges = True;} if ($tableschanged == True){$tablechanges = True;}
if (!$phpgw_info["setup"]["prebeta"]){ if (!$phpgw_info["setup"]["prebeta"]){
$phpgw_setup->db->query("update applications set app_version='".$phpgw_info["setup"]["currentver"]["phpgwapi"]."' where (app_name='admin' or app_name='filemanager' or app_name='addressbook' or app_name='todo' or app_name='calendar' or app_name='email' or app_name='nntp' or app_name='cron_apps' or app_name='notes')"); $phpgw_setup->db->query("update applications set app_version='".$phpgw_info["setup"]["currentver"]["phpgwapi"]."' where (app_name='admin' or app_name='filemanager' or app_name='addressbook' or app_name='todo' or app_name='calendar' or app_name='email' or app_name='nntp' or app_name='cron_apps' or app_name='notes')");