mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:49:44 +01:00
Fixed setup_header() showing up twice
This commit is contained in:
parent
312abeb7b5
commit
8b39fc8ec9
@ -18,7 +18,14 @@
|
|||||||
$phpgw_info["server"]["api_dir"] = $phpgw_info["server"]["include_root"]."/phpgwapi";
|
$phpgw_info["server"]["api_dir"] = $phpgw_info["server"]["include_root"]."/phpgwapi";
|
||||||
|
|
||||||
function setup_header($title = "",$nologoutbutton = False) {
|
function setup_header($title = "",$nologoutbutton = False) {
|
||||||
global $phpgw_info, $PHP_SELF;
|
global $phpgw_info, $PHP_SELF, $dontshowtheheaderagain;
|
||||||
|
|
||||||
|
// Ok, so it isn't the greatest idea, but it works for now. Setup needs to be rewritten.
|
||||||
|
if ($dontshowtheheaderagain) {
|
||||||
|
return False;
|
||||||
|
}
|
||||||
|
|
||||||
|
$dontshowtheheaderagain = True;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
Loading…
Reference in New Issue
Block a user