phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: setup config.php,1.78,1.78.2.1 manageheader.php


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup config.php,1.78,1.78.2.1 manageheader.php,1.45.2.3,1.45.2.4
Date: Tue, 27 May 2003 22:20:07 -0400

Update of /cvsroot/phpgroupware/setup
In directory subversions:/tmp/cvs-serv27248

Modified Files:
      Tag: Version-0_9_16-branch
        config.php manageheader.php 
Log Message:
full css support for setup

Index: config.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/config.php,v
retrieving revision 1.78
retrieving revision 1.78.2.1
diff -C2 -r1.78 -r1.78.2.1
*** config.php  7 Dec 2002 02:12:15 -0000       1.78
--- config.php  28 May 2003 02:20:04 -0000      1.78.2.1
***************
*** 47,51 ****
  
        /* Guessing default values. */
!       $GLOBALS['current_config']['hostname']  = $HTTP_HOST;
        $GLOBALS['current_config']['files_dir'] = 
ereg_replace('/setup','/files',dirname($SCRIPT_FILENAME));
        if(@is_dir('/tmp'))
--- 47,51 ----
  
        /* Guessing default values. */
!       $GLOBALS['current_config']['hostname']  = $_SERVER['HTTP_HOST'];
        $GLOBALS['current_config']['files_dir'] = 
ereg_replace('/setup','/files',dirname($SCRIPT_FILENAME));
        if(@is_dir('/tmp'))
***************
*** 188,195 ****
                $t->set_file(array('config' => 'config.tpl'));
                $t->set_block('config','body','body');
-               $t->set_var('th_bg',   '486591');
-               $t->set_var('th_text', 'FFFFFF');
-               $t->set_var('row_on',  'DDDDDD');
-               $t->set_var('row_off', 'EEEEEE');
  
                $vars = $t->get_undefined('body');
--- 188,191 ----
***************
*** 267,268 ****
--- 263,265 ----
        $GLOBALS['phpgw_setup']->html->show_footer();
  ?>
+ 

Index: manageheader.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/manageheader.php,v
retrieving revision 1.45.2.3
retrieving revision 1.45.2.4
diff -C2 -r1.45.2.3 -r1.45.2.4
*** manageheader.php    18 May 2003 22:02:44 -0000      1.45.2.3
--- manageheader.php    28 May 2003 02:20:04 -0000      1.45.2.4
***************
*** 96,100 ****
                case '3':
                        $GLOBALS['phpgw_info']['setup']['HeaderFormMSG'] = 
lang('Your header.inc.php needs upgrading.');
!                       $GLOBALS['phpgw_info']['setup']['PageMSG'] = lang('Your 
header.inc.php needs upgrading.<br><blink><font 
color=CC0000><b>WARNING!</b></font></blink><br><b>MAKE BACKUPS!</b>');
                        $GLOBALS['phpgw_info']['setup']['HeaderLoginMSG'] = 
lang('Your header.inc.php needs upgrading.');
                        if (!$GLOBALS['phpgw_setup']->auth('Header'))
--- 96,100 ----
                case '3':
                        $GLOBALS['phpgw_info']['setup']['HeaderFormMSG'] = 
lang('Your header.inc.php needs upgrading.');
!                       $GLOBALS['phpgw_info']['setup']['PageMSG'] = lang('Your 
header.inc.php needs upgrading.<br><blink><b 
class="msg">WARNING!</b></blink><br><b>MAKE BACKUPS!</b>');
                        $GLOBALS['phpgw_info']['setup']['HeaderLoginMSG'] = 
lang('Your header.inc.php needs upgrading.');
                        if (!$GLOBALS['phpgw_setup']->auth('Header'))
***************
*** 179,190 ****
                default:
                        
$GLOBALS['phpgw_setup']->html->show_header($GLOBALS['phpgw_info']['setup']['HeaderFormMSG'],
 False, 'header');
  
!                       $detected  = $GLOBALS['phpgw_info']['setup']['PageMSG'];
  
!                       $detected .= '<p><b>Please consult the <a 
href="../doc/en_US/html/admin/" target="manual">phpGroupWare Administration 
Manual</a>.</b></p>';
!                       $detected .= '<b>If you running this the first time, 
don\'t forget to manualy <a href="../doc/en_US/html/admin/x62.html#AEN134" 
target="manual">Setup the database</a> !!!</b>'; 
  
!                       $detected .= '<table border="0" width="100%" 
cellspacing="0" cellpadding="2">';
!                       $detected .= '<tr bgcolor="486591"><td align="center" 
colspan="2"><font color="fefefe">' . lang('Analysis') . 
'</font></td></tr><tr><td colspan="2">';
  
                        $supported_db = array();
--- 179,190 ----
                default:
                        
$GLOBALS['phpgw_setup']->html->show_header($GLOBALS['phpgw_info']['setup']['HeaderFormMSG'],
 False, 'header');
+                       $detected  = '<table border="0" width="100%" 
cellspacing="0" cellpadding="0" style="{ border: 1px solid #000000; }">' . "\n";
  
!                       $detected .= '<tr><td colspan="2"><p>' . 
$GLOBALS['phpgw_info']['setup']['PageMSG'] . '<br />&nbsp;</p></td></tr>';
  
!                       $detected .= '<tr><td colspan="2"><p><b>Please consult 
the <a href="../doc/en_US/html/admin/" target="manual">phpGroupWare 
Administration Manual</a>.</b></p>'. "\n";
!                       $detected .= '<b>If you running this the first time, 
don\'t forget to manualy <a href="../doc/en_US/html/admin/x62.html#AEN134" 
target="manual">Setup the database</a> !!!</b></td></tr>'. "\n"; 
  
!                       $detected .= '<tr class="th"><td colspan="2">' . 
lang('Analysis') . '</td></tr><tr><td colspan="2">'. "\n";
  
                        $supported_db = array();
***************
*** 235,251 ****
                        if(!count($supported_db))
                        {
!                               $detected .= '<b><p align="center"><font 
size="+2" color="red">'
                                        . lang('Did not find any valid DB 
support!')
!                                       . '<br>'
                                        . lang('Try to configure your php to 
support one of the above mentioned DBMS, or install phpGroupWare by hand.')
!                                       . 
'</font></p></b><td></tr></table></body></html>';
                                echo $detected;
                                exit;
                        }
  
!                       if (floor(phpversion()) == 3)
                        {
!                               $detected .= lang('You appear to be using PHP3. 
Disabling PHP4 sessions support') . '<br>' . "\n";
!                               $supported_sessions_type[] = 'db';
                        }
                        else
--- 235,254 ----
                        if(!count($supported_db))
                        {
!                               $detected .= '<b><p align="center" class="msg">'
                                        . lang('Did not find any valid DB 
support!')
!                                       . "<br>\n"
                                        . lang('Try to configure your php to 
support one of the above mentioned DBMS, or install phpGroupWare by hand.')
!                                       . 
'</p></b><td></tr></table></body></html>';
                                echo $detected;
                                exit;
                        }
  
!                       if (!function_exists('version_compare'))
                        {
!                               $detected .= '<b><p align="center" class="msg">'
!                                       . lang('You appear to be using PHP 
earlier than 4.1.0. phpGroupWare now requires 4.1.0 or later'). "\n"
!                                       . 
'</p></b><td></tr></table></body></html>';
!                               echo $detected;
!                               exit;
                        }
                        else
***************
*** 523,524 ****
--- 526,528 ----
        }
  ?>
+ 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]