mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
reintroduced setup_header because it broke lang.php and ldap.php
This commit is contained in:
parent
d40d5a77bb
commit
594434dc47
@ -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;
|
||||
?>
|
||||
<head>
|
||||
<title>phpGroupWare setup <?php echo $title; ?></title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
.link
|
||||
{
|
||||
color: #FFFFFF;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<BODY BGCOLOR="FFFFFF" margintop="0" marginleft="0" marginright="0" marginbottom="0">
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="2">
|
||||
<tr>
|
||||
<td align="left" bgcolor="486591"> <font color="fefefe">phpGroupWare version <?php
|
||||
echo $phpgw_info["server"]["versions"]["phpgwapi"]; ?> setup</font>
|
||||
</td>
|
||||
<td align="right" bgcolor="486591">
|
||||
<?php
|
||||
if ($nologoutbutton) {
|
||||
echo " ";
|
||||
} else {
|
||||
echo '<a href="' . $PHP_SELF . '?FormLogout=True" class="link">Logout</a> ';
|
||||
}
|
||||
echo "</td></tr></table>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user