mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
setting vars empty, which get only conditionally set
This commit is contained in:
parent
58ce706d2c
commit
dba87a90cf
@ -201,6 +201,7 @@ abstract class egw_framework
|
||||
'img_root' => $GLOBALS['egw_info']['server']['webserver_url'] . $this->template_dir.'/images',
|
||||
'version' => $GLOBALS['egw_info']['server']['versions']['phpgwapi']
|
||||
);
|
||||
$var['page_generation_time'] = '';
|
||||
if($GLOBALS['egw_info']['user']['preferences']['common']['show_generation_time'])
|
||||
{
|
||||
$totaltime = sprintf('%4.2lf',microtime(true) - $GLOBALS['egw_info']['flags']['page_start_time']);
|
||||
|
@ -474,6 +474,10 @@ class idots_framework extends egw_framework
|
||||
));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->tpl->set_var('upper_tabs','');
|
||||
}
|
||||
|
||||
if (!($max_icons=$GLOBALS['egw_info']['user']['preferences']['common']['max_icons']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user