A few changes for the navbar.

This commit is contained in:
skeeter 2001-09-04 03:14:16 +00:00
parent deb2991868
commit 3856821e6a
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@
$tpl->set_var($var); $tpl->set_var($var);
$tpl->pfp('out','navbar'); $tpl->pfp('out','navbar');
// If the application has a header include, we now include it // If the application has a header include, we now include it
if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['menuaction']) if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction'])
{ {
if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['header']) if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['header'])
{ {

View File

@ -139,7 +139,7 @@
$tpl->set_var($var); $tpl->set_var($var);
$tpl->pfp('out','navbar'); $tpl->pfp('out','navbar');
// If the application has a header include, we now include it // If the application has a header include, we now include it
if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['menuaction']) if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && $GLOBALS['HTTP_GET_VARS']['menuaction'])
{ {
if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['header']) if (is_array($GLOBALS['obj']->public_functions) && $GLOBALS['obj']->public_functions['header'])
{ {