[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: admin/inc class.uiconfig.inc.php,1.6.2.3,1.6.2.
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: admin/inc class.uiconfig.inc.php,1.6.2.3,1.6.2.3.2.1 |
Date: |
Sun, 18 May 2003 01:57:45 -0400 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv24931
Modified Files:
Tag: Version-0_9_16-branch
class.uiconfig.inc.php
Log Message:
globals fix
Index: class.uiconfig.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uiconfig.inc.php,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.3.2.1
diff -C2 -r1.6.2.3 -r1.6.2.3.2.1
*** class.uiconfig.inc.php 12 Mar 2003 14:08:52 -0000 1.6.2.3
--- class.uiconfig.inc.php 18 May 2003 05:57:43 -0000 1.6.2.3.2.1
***************
*** 19,23 ****
function index()
{
! switch($GLOBALS['HTTP_GET_VARS']['appname'])
{
case 'admin':
--- 19,23 ----
function index()
{
! switch($_GET['appname'])
{
case 'admin':
***************
*** 34,38 ****
case 'bogusappname':
*/
! $appname =
$GLOBALS['HTTP_GET_VARS']['appname'];
$config_appname = 'phpgwapi';
break;
--- 34,38 ----
case 'bogusappname':
*/
! $appname = $_GET['appname'];
$config_appname = 'phpgwapi';
break;
***************
*** 43,47 ****
break;
default:
! $appname =
$GLOBALS['HTTP_GET_VARS']['appname'];
$config_appname = $appname;
break;
--- 43,47 ----
break;
default:
! $appname = $_GET['appname'];
$config_appname = $appname;
break;
***************
*** 63,77 ****
}
! if ($GLOBALS['HTTP_POST_VARS']['cancel'])
{
Header('Location:
'.$GLOBALS['phpgw']->link('/admin/index.php'));
}
! if ($GLOBALS['HTTP_POST_VARS']['submit'])
{
/* Load hook file with functions to validate
each config (one/none/all) */
$GLOBALS['phpgw']->hooks->single('config_validate',$appname);
! while (list($key,$config) =
each($GLOBALS['HTTP_POST_VARS']['newsettings']))
{
if ($config)
--- 63,77 ----
}
! if ($_POST['cancel'])
{
Header('Location:
'.$GLOBALS['phpgw']->link('/admin/index.php'));
}
! if ($_POST['submit'])
{
/* Load hook file with functions to validate
each config (one/none/all) */
$GLOBALS['phpgw']->hooks->single('config_validate',$appname);
! while (list($key,$config) =
each($_POST['newsettings']))
{
if ($config)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: admin/inc class.uiconfig.inc.php,1.6.2.3,1.6.2.3.2.1,
Dave Hall <address@hidden> <=