From 594434dc47ee88e5b80ccd7f2ded66cba224c3a2 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 31 Dec 2000 14:24:29 +0000 Subject: [PATCH] reintroduced setup_header because it broke lang.php and ldap.php --- setup/inc/phpgw_setup.inc.php | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/setup/inc/phpgw_setup.inc.php b/setup/inc/phpgw_setup.inc.php index c76c944bfb..c578838313 100644 --- a/setup/inc/phpgw_setup.inc.php +++ b/setup/inc/phpgw_setup.inc.php @@ -312,5 +312,45 @@ } */ } + + function setup_header($title = "",$nologoutbutton = False) { + global $phpgw_info, $PHP_SELF; + + // Ok, so it isn't the greatest idea, but it works for now. Setup needs to be rewritten. + if ($phpgw_info["setup"]["dontshowtheheaderagain"]) { + return False; + } + + $phpgw_info["setup"]["dontshowtheheaderagain"] = True; +?> + + phpGroupWare setup <?php echo $title; ?> + + + + + + +
 phpGroupWare version setup + +Logout '; + } + echo "
"; + } + + + } ?> \ No newline at end of file