mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Small cleanups for warnings.
This commit is contained in:
parent
a141ef21be
commit
6c511bdf96
@ -12,7 +12,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if ($phpgw_info['flags']['included_classes']['calendar_'] == True)
|
||||
if (isset($phpgw_info['flags']['included_classes']['calendar_']) &&
|
||||
$phpgw_info['flags']['included_classes']['calendar_'] == True)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -14,7 +14,8 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if ($phpgw_info['flags']['included_classes']['calendar_'] == True)
|
||||
if (isset($phpgw_info['flags']['included_classes']['calendar_']) &&
|
||||
$phpgw_info['flags']['included_classes']['calendar_'] == True)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -140,7 +140,8 @@
|
||||
|
||||
$phpgw_info['user']['account_id'] = $this->account_id;
|
||||
|
||||
if ($phpgw_info['server']['cache_phpgw_info'])
|
||||
if (isset($phpgw_info['server']['cache_phpgw_info']) &&
|
||||
$phpgw_info['server']['cache_phpgw_info'])
|
||||
{
|
||||
$t = $this->appsession('phpgw_info_cache','phpgwapi');
|
||||
$phpgw_info['server'] = $t['server'];
|
||||
|
@ -25,7 +25,8 @@
|
||||
$tpl->set_var('img_root_roll',PHPGW_IMAGES_DIR . '/rollover');
|
||||
$tpl->set_var('table_bg_color',$phpgw_info['theme']['navbar_bg']);
|
||||
|
||||
# echo '<pre>'; print_r($phpgw_info['navbar']); echo '</pre>';
|
||||
# echo '<pre>'; print_r($phpgw_info['navbar']); echo '</pre>';
|
||||
$applications = '';
|
||||
while ($app = each($phpgw_info['navbar']))
|
||||
{
|
||||
if ($app[1]['title'] != 'Home' && $app[1]['title'] != 'preferences' && ! ereg('About',$app[1]['title']) && $app[1]['title'] != 'Logout')
|
||||
@ -38,8 +39,7 @@
|
||||
|
||||
// onMouseOver="two.src='rollover/admin_over.gif'" onMouseOut="two.src='images/admin.gif'"><img src="images/admin.gif" border="0" name="two"
|
||||
$applications .= '<tr><td><a href="' . $app[1]['url'] . '"';
|
||||
if (isset($phpgw_info['flags']['navbar_target']) &&
|
||||
$phpgw_info['flags']['navbar_target'])
|
||||
if (isset($phpgw_info['flags']['navbar_target']))
|
||||
{
|
||||
$applications .= ' target="' . $phpgw_info['flags']['navbar_target'] . '"';
|
||||
}
|
||||
@ -118,7 +118,10 @@
|
||||
*/
|
||||
|
||||
// If the application has a header include, we now include it
|
||||
if ($phpgw_info['flags']['noheader'] && ! $phpgw_info['flags']['noappheader'])
|
||||
if ((isset($phpgw_info['flags']['noheader']) &&
|
||||
$phpgw_info['flags']['noheader']) &&
|
||||
(!isset($phpgw_info['flags']['noappheader']) ||
|
||||
!$phpgw_info['flags']['noappheader']))
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user