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$ */
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'about';
$GLOBALS['phpgw_info']['flags']['disable_Template_class'] = True;
include('header.inc.php');

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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