From 5cefe649601fea1fe5db5277fbdfd033655f7dbb Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 18 Sep 2001 03:56:01 +0000 Subject: [PATCH] Cleanups to clear out warnings. --- phpgwapi/templates/default/head.inc.php | 2 +- phpgwapi/templates/default/navbar.inc.php | 2 +- phpgwapi/templates/idsociety/head.inc.php | 2 +- phpgwapi/templates/idsociety/navbar.inc.php | 2 +- phpgwapi/templates/justweb/head.inc.php | 2 +- phpgwapi/templates/justweb/navbar.inc.php | 2 +- phpgwapi/templates/verdilak/head.inc.php | 2 +- phpgwapi/templates/verdilak/navbar.inc.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/phpgwapi/templates/default/head.inc.php b/phpgwapi/templates/default/head.inc.php index 745d5643f8..0c6f5e7d3c 100644 --- a/phpgwapi/templates/default/head.inc.php +++ b/phpgwapi/templates/default/head.inc.php @@ -12,7 +12,7 @@ /* $Id$ */ $app_css = ''; - if(isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) + if(@isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css']) diff --git a/phpgwapi/templates/default/navbar.inc.php b/phpgwapi/templates/default/navbar.inc.php index 0c53b5459e..dc7576e519 100644 --- a/phpgwapi/templates/default/navbar.inc.php +++ b/phpgwapi/templates/default/navbar.inc.php @@ -110,7 +110,7 @@ $tpl->set_var($var); $tpl->pfp('out','navbar'); // If the application has a header include, we now include it - if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction']) + if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if (is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header']) diff --git a/phpgwapi/templates/idsociety/head.inc.php b/phpgwapi/templates/idsociety/head.inc.php index 378bdbf955..96b0b2cdbd 100644 --- a/phpgwapi/templates/idsociety/head.inc.php +++ b/phpgwapi/templates/idsociety/head.inc.php @@ -23,7 +23,7 @@ } $app_css = ''; - if($GLOBALS['HTTP_GET_VARS']['menuaction']) + if(@isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css']) diff --git a/phpgwapi/templates/idsociety/navbar.inc.php b/phpgwapi/templates/idsociety/navbar.inc.php index 5b13749c9b..1581740dbe 100644 --- a/phpgwapi/templates/idsociety/navbar.inc.php +++ b/phpgwapi/templates/idsociety/navbar.inc.php @@ -139,7 +139,7 @@ $tpl->set_var($var); $tpl->pfp('out','navbar'); // If the application has a header include, we now include it - if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction']) + if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if (is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header']) diff --git a/phpgwapi/templates/justweb/head.inc.php b/phpgwapi/templates/justweb/head.inc.php index 82944cd681..342138ad37 100644 --- a/phpgwapi/templates/justweb/head.inc.php +++ b/phpgwapi/templates/justweb/head.inc.php @@ -12,7 +12,7 @@ /* $Id$ */ $app_css = ''; - if($GLOBALS['menuaction']) + if(@isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css']) diff --git a/phpgwapi/templates/justweb/navbar.inc.php b/phpgwapi/templates/justweb/navbar.inc.php index f5afdf34d4..36ddcda947 100644 --- a/phpgwapi/templates/justweb/navbar.inc.php +++ b/phpgwapi/templates/justweb/navbar.inc.php @@ -114,7 +114,7 @@ $tpl->set_var($var); $tpl->pfp('out','navbar'); // If the application has a header include, we now include it - if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction']) + if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if (is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header']) diff --git a/phpgwapi/templates/verdilak/head.inc.php b/phpgwapi/templates/verdilak/head.inc.php index 382ded2345..42cb9166e4 100644 --- a/phpgwapi/templates/verdilak/head.inc.php +++ b/phpgwapi/templates/verdilak/head.inc.php @@ -12,7 +12,7 @@ /* $Id$ */ $app_css = ''; - if($GLOBALS['HTTP_GET_VARS']['menuaction']) + if(@isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css']) diff --git a/phpgwapi/templates/verdilak/navbar.inc.php b/phpgwapi/templates/verdilak/navbar.inc.php index d63bfb9d3e..911da8ce00 100644 --- a/phpgwapi/templates/verdilak/navbar.inc.php +++ b/phpgwapi/templates/verdilak/navbar.inc.php @@ -121,7 +121,7 @@ $tpl->set_var($var); $tpl->pfp('out','navbar'); // If the application has a header include, we now include it - if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction']) + if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($GLOBALS['HTTP_GET_VARS']['menuaction'])) { list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']); if (is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header'])