phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: setup lang.php,1.46.2.5,1.46.2.6


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup lang.php,1.46.2.5,1.46.2.6
Date: Thu, 29 May 2003 03:46:22 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        lang.php 
Log Message:
changed $GLOBALS[HTTP_POST_VARS] to $_POST to get the automatic lang-update 
working again


Index: lang.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/lang.php,v
retrieving revision 1.46.2.5
retrieving revision 1.46.2.6
diff -C2 -r1.46.2.5 -r1.46.2.6
*** lang.php    18 Apr 2003 02:23:57 -0000      1.46.2.5
--- lang.php    29 May 2003 07:46:19 -0000      1.46.2.6
***************
*** 48,55 ****
        }
  
!       if (@$GLOBALS['HTTP_POST_VARS']['submit'])
        {
!               $lang_selected = @$GLOBALS['HTTP_POST_VARS']['lang_selected'];
!               $upgrademethod = @$GLOBALS['HTTP_POST_VARS']['upgrademethod'];
                
                if (!isset($GLOBALS['phpgw_info']['server']) && $upgrademethod 
!= 'dumpold')
--- 48,55 ----
        }
  
!       if (@$_POST['submit'])
        {
!               $lang_selected = @$_POST['lang_selected'];
!               $upgrademethod = @$_POST['upgrademethod'];
                
                if (!isset($GLOBALS['phpgw_info']['server']) && $upgrademethod 
!= 'dumpold')
***************
*** 164,168 ****
        else
        {
!               if (@$GLOBALS['HTTP_POST_VARS']['cancel'])
                {
                        Header('Location: index.php');
--- 164,168 ----
        else
        {
!               if (@$_POST['cancel'])
                {
                        Header('Location: index.php');
***************
*** 238,242 ****
                        $setup_tpl->set_var('lang_cancel',lang('cancel'));
  
!                       $ConfigDomain = 
$GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] ? 
$GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] : 
$GLOBALS['HTTP_POST_VARS']['ConfigDomain'];
                        
$GLOBALS['phpgw_setup']->html->show_header("$stage_title",False,'config',$ConfigDomain
 . '(' . $phpgw_domain[$ConfigDomain]['db_type'] . ')');
                        $setup_tpl->pparse('out','T_lang_main');
--- 238,242 ----
                        $setup_tpl->set_var('lang_cancel',lang('cancel'));
  
!                       $ConfigDomain = 
$GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] ? 
$GLOBALS['HTTP_COOKIE_VARS']['ConfigDomain'] : $_POST['ConfigDomain'];
                        
$GLOBALS['phpgw_setup']->html->show_header("$stage_title",False,'config',$ConfigDomain
 . '(' . $phpgw_domain[$ConfigDomain]['db_type'] . ')');
                        $setup_tpl->pparse('out','T_lang_main');





reply via email to

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