From 00fdbec533f2cf94e8db8e25b4c8dac12f07d760 Mon Sep 17 00:00:00 2001 From: jengo Date: Thu, 23 Nov 2000 09:36:57 +0000 Subject: [PATCH] Cleanup the setup_header() and changed the logout button --- setup/inc/setup_auth.inc.php | 42 +++++++++++++++++++++++++----------- setup/index.php | 3 ++- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/setup/inc/setup_auth.inc.php b/setup/inc/setup_auth.inc.php index 1986ba32fd..c409b7f1c0 100644 --- a/setup/inc/setup_auth.inc.php +++ b/setup/inc/setup_auth.inc.php @@ -17,24 +17,42 @@ $phpgw_info["server"]["api_dir"] = $phpgw_info["server"]["include_root"]."/phpgwapi"; - function setup_header($title = ""){ + function setup_header($title = "",$nologoutbutton = False) { global $phpgw_info, $PHP_SELF; - - echo 'phpGroupWare setup ' . $title . '' - . '
 phpGroupWare version ' - . $phpgw_info["server"]["version"] . ' setup'; - echo "
\n"; - echo " \n"; - echo " \n"; - echo "
\n"; - echo "
"; + ?> + + + phpGroupWare setup <?php echo $title; ?> + + + + + + +
 phpGroupWare version setup + + Logout '; + } + + echo "
"; } function loginForm($err=""){ global $phpgw_info, $phpgw_domain, $SetupDomain, $SetupPW, $PHP_SELF; - setup_header("Please login"); + setup_header("Please login",True); echo "

\n"; echo "\n"; echo " \n"; diff --git a/setup/index.php b/setup/index.php index 3f5409df66..495ca12258 100644 --- a/setup/index.php +++ b/setup/index.php @@ -60,7 +60,8 @@ if (!$ok) { exit; } else { - echo "
\n"; + setup_header(); + echo "

\n"; echo ""; echo ""; echo "\n";
phpGroupWare Core Staus