mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-28 08:14:56 +01:00
if nofooter is set as flag, then do not show footer, return immediately
This commit is contained in:
parent
715083765e
commit
022b8bb391
@ -568,6 +568,8 @@ class jdots_framework extends egw_framework
|
|||||||
function footer($no_framework=true)
|
function footer($no_framework=true)
|
||||||
{
|
{
|
||||||
static $footer_done;
|
static $footer_done;
|
||||||
|
if (!(!isset($GLOBALS['egw_info']['flags']['nofooter']) || !$GLOBALS['egw_info']['flags']['nofooter'])) return;
|
||||||
|
//error_log(__METHOD__.array2string(function_backtrace()));
|
||||||
if ($footer_done++) return; // prevent multiple footers, not sure we still need this (RalfBecker)
|
if ($footer_done++) return; // prevent multiple footers, not sure we still need this (RalfBecker)
|
||||||
|
|
||||||
if($no_framework && $GLOBALS['egw_info']['user']['preferences']['common']['show_generation_time'])
|
if($no_framework && $GLOBALS['egw_info']['user']['preferences']['common']['show_generation_time'])
|
||||||
|
Loading…
Reference in New Issue
Block a user