Fix for passing phpgw_info in the querystring

This commit is contained in:
Miles Lott 2001-12-05 16:19:12 +00:00
parent 12615164e2
commit c67fd7c7ee
10 changed files with 16 additions and 7 deletions

View File

@ -11,6 +11,7 @@
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'about'; $GLOBALS['phpgw_info']['flags']['currentapp'] = 'about';
$GLOBALS['phpgw_info']['flags']['disable_Template_class'] = True; $GLOBALS['phpgw_info']['flags']['disable_Template_class'] = True;
include('header.inc.php'); include('header.inc.php');

View File

@ -12,6 +12,7 @@
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'addressbook'; $GLOBALS['phpgw_info']['flags']['currentapp'] = 'addressbook';
include('../header.inc.php'); include('../header.inc.php');

View File

@ -12,6 +12,7 @@
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'addressbook'; $GLOBALS['phpgw_info']['flags']['currentapp'] = 'addressbook';
$GLOBALS['phpgw_info']['flags']['enable_contacts_class'] = True; $GLOBALS['phpgw_info']['flags']['enable_contacts_class'] = True;
include('../header.inc.php'); include('../header.inc.php');

View File

@ -11,6 +11,7 @@
\**************************************************************************/ \**************************************************************************/
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
if ($HTTP_POST_VARS['confirm']) if ($HTTP_POST_VARS['confirm'])
{ {
$GLOBALS['phpgw_info']['flags'] = array( $GLOBALS['phpgw_info']['flags'] = array(

View File

@ -11,6 +11,7 @@
\**************************************************************************/ \**************************************************************************/
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw']_info['flags']['currentapp'] = 'addressbook'; $GLOBALS['phpgw']_info['flags']['currentapp'] = 'addressbook';
include('../header.inc.php'); include('../header.inc.php');

View File

@ -11,6 +11,7 @@
\**************************************************************************/ \**************************************************************************/
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags'] = array( $GLOBALS['phpgw_info']['flags'] = array(
'currentapp' => 'addressbook', 'currentapp' => 'addressbook',
'enable_nextmatchs_class' => True 'enable_nextmatchs_class' => True

View File

@ -14,6 +14,8 @@
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags'] = array( $GLOBALS['phpgw_info']['flags'] = array(
'currentapp' => 'addressbook', 'currentapp' => 'addressbook',
'noheader' => True, 'noheader' => True,

View File

@ -14,15 +14,14 @@
/* $Id$ */ /* $Id$ */
$phpgw_info['flags']['currentapp'] = 'admin'; $GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'admin';
include('../header.inc.php'); include('../header.inc.php');
$GLOBALS['admin_tpl'] = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); $GLOBALS['admin_tpl'] = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
$GLOBALS['admin_tpl']->set_file( $GLOBALS['admin_tpl']->set_file(array(
Array( 'admin' => 'index.tpl'
'admin' => 'index.tpl' ));
)
);
$GLOBALS['admin_tpl']->set_block('admin','list'); $GLOBALS['admin_tpl']->set_block('admin','list');
$GLOBALS['admin_tpl']->set_block('admin','app_row'); $GLOBALS['admin_tpl']->set_block('admin','app_row');

View File

@ -12,6 +12,7 @@
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags'] = array( $GLOBALS['phpgw_info']['flags'] = array(
'disable_Template_class' => True, 'disable_Template_class' => True,
'currentapp' => 'login', 'currentapp' => 'login',

View File

@ -12,6 +12,7 @@
/* $Id$ */ /* $Id$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags'] = array( $GLOBALS['phpgw_info']['flags'] = array(
'currentapp' => 'login', 'currentapp' => 'login',
'noheader' => True 'noheader' => True
@ -22,7 +23,7 @@
$server = CreateObject('phpgwapi.xmlrpc_server'); $server = CreateObject('phpgwapi.xmlrpc_server');
$server->authed = False; $server->authed = False;
/* _debug_array($server);exit; */ /* _debug_array($server);exit; */
//include(PHPGW_API_INC . '/xmlrpc.interop.php'); include(PHPGW_API_INC . '/xmlrpc.interop.php');
$headers = getallheaders(); $headers = getallheaders();