mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02:00
cleaned up a little code
This commit is contained in:
parent
82ac91886f
commit
f32f3ab843
@ -22,23 +22,26 @@
|
|||||||
echo '
|
echo '
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>phpGroupWare Setup';
|
<title>phpGroupWare Setup
|
||||||
if ($title != ""){echo " - ".$title;}
|
';
|
||||||
echo'</title>
|
if ($title != ""){echo " - ".$title;}
|
||||||
<style type="text/css"><!-- .link { color: #FFFFFF; } --></style>
|
echo'
|
||||||
|
</title>
|
||||||
|
<style type="text/css"><!-- .link { color: #FFFFFF; } --></style>
|
||||||
</head>
|
</head>
|
||||||
<BODY BGCOLOR="FFFFFF" margintop="0" marginleft="0" marginright="0" marginbottom="0">
|
<BODY BGCOLOR="FFFFFF" margintop="0" marginleft="0" marginright="0" marginbottom="0">
|
||||||
<table border="0" width="100%" cellspacing="0" cellpadding="2">
|
<table border="0" width="100%" cellspacing="0" cellpadding="2">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left" bgcolor="486591"> <font color="fefefe">phpGroupWare version '.$phpgw_info["server"]["versions"]["phpgwapi"].' setup</font>
|
<td align="left" bgcolor="486591"> <font color="fefefe">phpGroupWare version '.$phpgw_info["server"]["versions"]["phpgwapi"].' setup</font>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" bgcolor="486591">';
|
<td align="right" bgcolor="486591">
|
||||||
if ($nologoutbutton) {
|
';
|
||||||
echo " ";
|
if ($nologoutbutton) {
|
||||||
} else {
|
echo " ";
|
||||||
echo '<a href="' . $PHP_SELF . '?FormLogout='.$logoutfrom.'" class="link">Logout</a> ';
|
} else {
|
||||||
}
|
echo '<a href="' . $PHP_SELF . '?FormLogout='.$logoutfrom.'" class="link">Logout</a> ';
|
||||||
echo "</td></tr></table>";
|
}
|
||||||
|
echo "</td></tr></table>";
|
||||||
}
|
}
|
||||||
function login_form()
|
function login_form()
|
||||||
{
|
{
|
||||||
@ -109,7 +112,7 @@
|
|||||||
|
|
||||||
$phpgw_setup->template->set_file(array("header" => "header.inc.php.template"));
|
$phpgw_setup->template->set_file(array("header" => "header.inc.php.template"));
|
||||||
while(list($k,$v) = each($setting)) {
|
while(list($k,$v) = each($setting)) {
|
||||||
$phpgw_setup->template->set_var(strtoupper($k),$v);
|
$phpgw_setup->template->set_var(strtoupper($k),$v);
|
||||||
}
|
}
|
||||||
return $phpgw_setup->template->parse("out","header");
|
return $phpgw_setup->template->parse("out","header");
|
||||||
}
|
}
|
||||||
@ -325,8 +328,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$phpgw_info["setup"]["dontshowtheheaderagain"] = True;
|
$phpgw_info["setup"]["dontshowtheheaderagain"] = True;
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>phpGroupWare setup <?php echo $title; ?></title>
|
<title>phpGroupWare setup <?php echo $title; ?></title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
@ -345,14 +347,13 @@
|
|||||||
echo $phpgw_info["server"]["versions"]["phpgwapi"]; ?> setup</font>
|
echo $phpgw_info["server"]["versions"]["phpgwapi"]; ?> setup</font>
|
||||||
</td>
|
</td>
|
||||||
<td align="right" bgcolor="486591">
|
<td align="right" bgcolor="486591">
|
||||||
<?php
|
<?php
|
||||||
if ($nologoutbutton) {
|
if ($nologoutbutton) {
|
||||||
echo " ";
|
echo " ";
|
||||||
} else {
|
} else {
|
||||||
echo '<a href="' . $PHP_SELF . '?FormLogout=True" class="link">Logout</a> ';
|
echo '<a href="' . $PHP_SELF . '?FormLogout=True" class="link">Logout</a> ';
|
||||||
}
|
}
|
||||||
|
echo "</td></tr></table>";
|
||||||
echo "</td></tr></table>";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user