mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
Minor formatting cleanup
This commit is contained in:
parent
e8dd639f65
commit
583ed7eede
@ -119,9 +119,9 @@
|
|||||||
}
|
}
|
||||||
$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'] && @isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
|
if (!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($_GET['menuaction']))
|
||||||
{
|
{
|
||||||
list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']);
|
list($app,$class,$method) = explode('.',$_GET['menuaction']);
|
||||||
if (is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header'])
|
if (is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header'])
|
||||||
{
|
{
|
||||||
$GLOBALS[$class]->header();
|
$GLOBALS[$class]->header();
|
||||||
|
@ -39,8 +39,8 @@
|
|||||||
{
|
{
|
||||||
$title = $GLOBALS['phpgw_info']['apps'][$app]['title'];
|
$title = $GLOBALS['phpgw_info']['apps'][$app]['title'];
|
||||||
|
|
||||||
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title .
|
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title
|
||||||
'" title="'. $title . '" border="0" height="60">';
|
. '" title="'. $title . '" border="0" height="60">';
|
||||||
|
|
||||||
$app_icons .= '<TD align="center"><a href="' . $app_data['url'] . '"';
|
$app_icons .= '<TD align="center"><a href="' . $app_data['url'] . '"';
|
||||||
if (isset($GLOBALS['phpgw_info']['flags']['navbar_target']) &&
|
if (isset($GLOBALS['phpgw_info']['flags']['navbar_target']) &&
|
||||||
@ -145,7 +145,6 @@
|
|||||||
|
|
||||||
function display_sidebox($appname,$menu_title,$file)
|
function display_sidebox($appname,$menu_title,$file)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(!$appname || ($appname==$GLOBALS['phpgw_info']['flags']['currentapp'] && $file))
|
if(!$appname || ($appname==$GLOBALS['phpgw_info']['flags']['currentapp'] && $file))
|
||||||
{
|
{
|
||||||
$var['lang_title']=$menu_title;//$appname.' '.lang('Menu');
|
$var['lang_title']=$menu_title;//$appname.' '.lang('Menu');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user