mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
more fixes for GLOBALS
This commit is contained in:
parent
6c1eb9f114
commit
d3cc0b59f3
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
$phpgw_info['flags'] = array(
|
$GLOBALS['phpgw_info']['flags'] = array(
|
||||||
'noheader' => True,
|
'noheader' => True,
|
||||||
'nonavbar' => True,
|
'nonavbar' => True,
|
||||||
'currentapp' => 'admin',
|
'currentapp' => 'admin',
|
||||||
@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
if ($GLOBALS['HTTP_POST_VARS']['submit'])
|
if ($GLOBALS['HTTP_POST_VARS']['submit'])
|
||||||
{
|
{
|
||||||
while (list($key,$config) = each($newsettings))
|
while (list($key,$config) = each($GLOBALS['HTTP_POST_VARS']['newsettings']))
|
||||||
{
|
{
|
||||||
if ($config)
|
if ($config)
|
||||||
{
|
{
|
||||||
@ -118,7 +118,7 @@
|
|||||||
$newval = ereg_replace(' ','_',$newval);
|
$newval = ereg_replace(' ','_',$newval);
|
||||||
$t->set_var($value,$current_config[$newval]);
|
$t->set_var($value,$current_config[$newval]);
|
||||||
break;
|
break;
|
||||||
/* case "checked":
|
/* case 'checked':
|
||||||
$newval = ereg_replace(' ','_',$newval);
|
$newval = ereg_replace(' ','_',$newval);
|
||||||
if ($current_config[$newval])
|
if ($current_config[$newval])
|
||||||
{
|
{
|
||||||
@ -149,7 +149,7 @@
|
|||||||
$t->set_var($value,'');
|
$t->set_var($value,'');
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "hook":
|
case 'hook':
|
||||||
$newval = ereg_replace(' ','_',$newval);
|
$newval = ereg_replace(' ','_',$newval);
|
||||||
$t->set_var($value,$newval($current_config));
|
$t->set_var($value,$newval($current_config));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user