new header line

This commit is contained in:
Roland Gruber 2010-07-30 16:08:20 +00:00
parent e9af178c75
commit 81f6d23b6b
13 changed files with 208 additions and 120 deletions

View File

@ -162,6 +162,7 @@ class lamList {
}
// show form
echo ("<form action=\"list.php?type=" . $this->type . "&amp;norefresh=true\" method=\"post\">\n");
echo "<div class=\"ui-tabs-nav\">";
// draw account list if accounts were found
if (sizeof($this->entries) > 0) {
// buttons
@ -267,30 +268,34 @@ class lamList {
* @param integer $count number of account entries
*/
protected function listDrawNavigationBar($count) {
echo("<table class=\"" . $this->type . "nav\" width=\"100%\" border=\"0\">\n");
echo("<tr>\n");
echo("<td><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\">&nbsp;&nbsp;");
if ($this->page != 1) {
echo("<a href=\"list.php?type=" . $this->type . "&amp;norefresh=true&amp;page=" . ($this->page - 1) .
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"<img style=\"vertical-align: middle;\" src=\"../../graphics/back.gif\" alt=\"back\"></a>\n");
}
if ($this->page < ($count / $this->maxPageEntries)) {
echo("<a href=\"list.php?type=" . $this->type . "&amp;norefresh=true&amp;page=" . ($this->page + 1) .
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"<img style=\"vertical-align: middle;\" src=\"../../graphics/forward.gif\" alt=\"forward\"></a>\n");
}
echo("<td width=\"33%\"><input type=\"submit\" name=\"refresh\" value=\"" . _("Refresh") . "\">&nbsp;&nbsp;");
echo("</td>");
echo("<td class=\"" . $this->type . "nav-text\">");
echo("<td width=\"33%\" align=\"center\" class=\"" . $this->type . "nav-text\">");
echo"&nbsp;";
printf($this->labels['nav'], $count);
echo("</td>");
echo("<td class=\"" . $this->type . "nav-activepage\" align=\"right\">");
for ($i = 0; $i < ($count / $this->maxPageEntries); $i++) {
echo("<td width=\"33%\" class=\"" . $this->type . "nav-activepage\" align=\"right\">");
if ($this->page != 1) {
echo("<a href=\"list.php?type=" . $this->type . "&amp;norefresh=true&amp;page=1" .
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"<img class=\"align-middle\" alt=\"\" src=\"../../graphics/go-first.png\"></a>\n");
}
if ($this->page > 10) {
echo("<a href=\"list.php?type=" . $this->type . "&amp;norefresh=true&amp;page=" . ($this->page - 10) .
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"<img class=\"align-middle\" alt=\"\" src=\"../../graphics/go-previous.png\"></a>\n");
}
for ($i = $this->page - 5; $i < ($this->page + 4); $i++) {
if ($i >= ($count / $this->maxPageEntries)) {
break;
}
elseif ($i < 0) {
continue;
}
if ($i == $this->page - 1) {
echo("&nbsp;" . ($i + 1));
}
@ -299,6 +304,16 @@ class lamList {
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" . ($i + 1) . "</a>\n");
}
}
if ($this->page < (($count / $this->maxPageEntries) - 10)) {
echo("<a href=\"list.php?type=" . $this->type . "&amp;norefresh=true&amp;page=" . ($this->page + 10) .
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"<img class=\"align-middle\" alt=\"\" src=\"../../graphics/go-next.png\"></a>\n");
}
if ($this->page < ($count / $this->maxPageEntries)) {
echo("<a href=\"list.php?type=" . $this->type . "&amp;norefresh=true&amp;page=" . ($count / $this->maxPageEntries) .
"&amp;sort=" . $this->sortColumn . "&amp;sortdirection=" . $this->sortDirection . $this->filterText . "\">" .
"<img class=\"align-middle\" alt=\"\" src=\"../../graphics/go-last.png\"></a>\n");
}
echo("</td></tr></table>\n");
}
@ -390,7 +405,7 @@ class lamList {
echo "<tr class=\"" . $this->type . "list-bright\">\n";
echo "<td align=\"center\"><img src=\"../../graphics/select.png\" alt=\"select all\"></td>\n";
echo "<td colspan=$colspan>&nbsp;<a href=\"#\" onClick=\"list_switchAccountSelection();\">" .
"<font color=\"black\"><b>" . _("Select all") . "</b></font></a></td>\n";
"<font color=\"black\">" . _("Select all") . "</font></a></td>\n";
echo "</tr>\n";
echo ("</table>");
}
@ -575,7 +590,8 @@ class lamList {
echo "<br>\n";
echo "<form target=\"_blank\" action=\"list.php?type=" . $this->type . "&amp;norefresh=true\" method=\"post\">\n";
echo "<div class=\"ui-tabs-nav\">";
echo '<fieldset class="' . $this->type . 'edit"><legend>' . _('Create PDF file') . '</legend><br>';
echo '<table class="' . $this->type . 'edit">';
echo '<tr>';
@ -617,7 +633,7 @@ class lamList {
echo '<tr>';
echo '<td colspan=2>';
echo '<input type="submit" name="createPDFok" value="' . _('Ok') . '"> ';
echo '<input type="submit" name="createPDFcancel" value="' . _('Cancel') . '">';
echo '&nbsp;<a href="list.php?type=' . $this->type . '&amp;norefresh=true">' . _('Cancel') . '</a>';
echo '</td>';
echo '</tr>';
echo '</table>';
@ -693,7 +709,7 @@ class lamList {
* Prints the HTML footer.
*/
protected function listPrintFooter() {
echo ("</form>\n");
echo ("</div></form>\n");
echo "</body></html>\n";
}
@ -826,6 +842,7 @@ class lamList {
echo '<h1 align="center">' . _('Change list settings') . "</h1>\n";
echo "<form action=\"list.php?type=" . $this->type . "&amp;norefresh=true\" method=\"post\">\n";
echo "<div class=\"ui-tabs-nav\">";
echo '<fieldset class="' . $this->type . 'edit"><br>';
echo "<table class=\"" . $this->type . "edit\" width=\"100%\">\n";
echo "<tr class=\"" . $this->type . "list\"><td>\n";

View File

@ -305,7 +305,7 @@ class selfServiceProfile {
$this->LDAPUser = "";
$this->LDAPPassword = "";
$this->searchAttribute = "uid";
$this->pageHeader = '<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank"><img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a></p><hr>';
$this->pageHeader = '<table border=0 width="100%" class="lamHeader"><tr><td align="left" height="30"><a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a></td></tr></table><br>';
$this->additionalCSS = '';
$this->loginCaption = "Welcome to LAM self service. Please enter your user name and password.";
$this->loginAttributeText = "User name";

View File

@ -84,10 +84,17 @@ echo $_SESSION['header'];
echo "//-->\n";
echo "</script>\n";
?>
<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank">
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</p>
<hr><br><br>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<td align="right" height=20>
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png">&nbsp;<?php echo _("Back to login") ?></a>
</td>
</tr>
</table>
<br><br>
<!-- form to change existing profiles -->
<form action="confmain.php" method="post">
<table align="center" border="2" rules="none" bgcolor="white">
@ -154,12 +161,8 @@ echo $_SESSION['header'];
</table>
</form>
<p><br><br><br><br><br></p>
<p><br><br></p>
<!-- back to login page -->
<p>
<a href="../login.php"> <?php echo _("Back to Login"); ?> </a>
</p>
</body>
</html>

View File

@ -131,8 +131,16 @@ while ($jsEntry = $jsDir->read()) {
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
}
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p>\n<hr>\n<p>&nbsp;</p>\n");
?>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
</tr>
</table>
<br>
<?php
if (!$conf->isWritable()) {
StatusMessage('WARN', 'The config file is not writable.', 'Your changes cannot be saved until you make the file writable for the webserver user.');

View File

@ -109,8 +109,16 @@ while ($jsEntry = $jsDir->read()) {
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
}
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p><hr>\n<p>&nbsp;</p>\n");
?>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
</tr>
</table>
<br>
<?php
// print error messages
for ($i = 0; $i < sizeof($errorsToDisplay); $i++) call_user_func_array('StatusMessage', $errorsToDisplay[$i]);

View File

@ -127,8 +127,16 @@ while ($jsEntry = $jsDir->read()) {
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
}
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p><hr>\n<p>&nbsp;</p>\n");
?>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
</tr>
</table>
<br>
<?php
// print error messages
for ($i = 0; $i < sizeof($errorsToDisplay); $i++) call_user_func_array('StatusMessage', $errorsToDisplay[$i]);

View File

@ -3,7 +3,7 @@
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2003 - 2006 Roland Gruber
Copyright (C) 2003 - 2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -54,10 +54,16 @@ echo $_SESSION['header'];
<link rel="shortcut icon" type="image/x-icon" href="../../graphics/favicon.ico">
</head>
<body>
<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank">
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</p>
<hr>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<td align="right" height=20>
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png">&nbsp;<?php echo _("Back to login") ?></a>
</td>
</tr>
</table>
<br><br>
<fieldset>
<legend><b> <?php echo _("LAM configuration"); ?> </b></legend>
@ -108,11 +114,7 @@ echo $_SESSION['header'];
?>
</TABLE>
</fieldset>
<p><br><br><br><br><br></p>
<p><br><br></p>
<!-- back to login page -->
<p>
<a href="../login.php"> <?php echo _("Back to Login"); ?> </a>
</p>
</body>
</html>

View File

@ -92,10 +92,17 @@ echo $_SESSION['header'];
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
}
?>
<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank">
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</p>
<hr><br>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<td align="right" height=20>
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png">&nbsp;<?php echo _("Back to login") ?></a>
</td>
</tr>
</table>
<br>
<?php
// check if config file is writable
if (!$cfgMain->isWritable()) {
@ -147,12 +154,8 @@ echo $_SESSION['header'];
</table>
</form>
<p><br><br><br><br><br></p>
<p><br><br></p>
<!-- back to login page -->
<p>
<a href="../login.php"> <?php echo _("Back to Login"); ?> </a>
</p>
</body>
</html>

View File

@ -138,10 +138,17 @@ echo $_SESSION['header'];
<link rel="shortcut icon" type="image/x-icon" href="../../graphics/favicon.ico">
</head>
<body>
<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank">
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</p>
<hr><br>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<td align="right" height=20>
<a href="../login.php"><IMG alt="configuration" src="../../graphics/undo.png">&nbsp;<?php echo _("Back to login") ?></a>
</td>
</tr>
</table>
<br>
<?php
// include all JavaScript files

View File

@ -3,7 +3,7 @@
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2009 Roland Gruber
Copyright (C) 2009 - 2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -108,8 +108,16 @@ while ($jsEntry = $jsDir->read()) {
echo "<script type=\"text/javascript\" src=\"../lib/" . $jsEntry . "\"></script>\n";
}
echo ("<p align=\"center\"><a href=\"http://www.ldap-account-manager.org/\" target=\"new_window\">".
"<img src=\"../../graphics/banner.jpg\" border=1 alt=\"LDAP Account Manager\"></a></p><hr>\n<p>&nbsp;</p>\n");
?>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
</tr>
</table>
<br>
<?php
// print error messages
for ($i = 0; $i < sizeof($errorsToDisplay); $i++) call_user_func_array('StatusMessage', $errorsToDisplay[$i]);

View File

@ -3,7 +3,7 @@
$Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2003 - 2009 Roland Gruber
Copyright (C) 2003 - 2010 Roland Gruber
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -56,10 +56,17 @@ echo $_SESSION['header'];
<link rel="shortcut icon" type="image/x-icon" href="../../graphics/favicon.ico">
</head>
<body>
<p align="center"><a href="http://www.ldap-account-manager.org/" target="_blank">
<img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</p>
<hr><br>
<table border=0 width="100%" class="lamHeader">
<tr>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<td align="right" height=20>
<a href="conflogin.php"><IMG alt="configuration" src="../../graphics/undo.png">&nbsp;<?php echo _("Back to profile login") ?></a>
</td>
</tr>
</table>
<br>
<?php
// include all JavaScript files
@ -368,11 +375,6 @@ if (!isset($cfg->default)) {
</form>
<p><br></p>
<!-- back to login page -->
<p>
<a href="conflogin.php"> <?php echo _("Back to profile login"); ?> </a>
</p>
</body>
</html>

View File

@ -55,8 +55,13 @@ session_start();
session_regenerate_id(true);
// save last selected login profile
if(isset($_POST['profile'])) {
setcookie("lam_default_profile", $_POST['profile'], time() + 365*60*60*24);
if(isset($_GET['useProfile'])) {
if (in_array($_GET['useProfile'], getConfigProfiles())) {
setcookie("lam_default_profile", $_GET['useProfile'], time() + 365*60*60*24);
}
else {
unset($_GET['useProfile']);
}
}
// init some session variables
@ -67,9 +72,9 @@ if(isset($_COOKIE["lam_default_profile"])) {
$default_Profile = $_COOKIE["lam_default_profile"];
}
// Reload loginpage after a profile change
if(isset($_POST['profileChange'])) {
logNewMessage(LOG_DEBUG, "Change server profile to " . $_POST['profile']);
$_SESSION['config'] = new LAMConfig($_POST['profile']); // Recreate the config object with the submited
if(isset($_GET['useProfile'])) {
logNewMessage(LOG_DEBUG, "Change server profile to " . $_GET['useProfile']);
$_SESSION['config'] = new LAMConfig($_GET['useProfile']); // Recreate the config object with the submited
}
// Load login page
else {
@ -150,7 +155,15 @@ function display_LoginPage($config_object) {
</head>
<body onload="focusLogin()">
<?php
// set focus on password field
// include all JavaScript files
$jsDirName = dirname(__FILE__) . '/lib';
$jsDir = dir($jsDirName);
while ($jsEntry = $jsDir->read()) {
if (substr($jsEntry, strlen($jsEntry) - 3, 3) != '.js') continue;
echo "<script type=\"text/javascript\" src=\"lib/" . $jsEntry . "\"></script>\n";
}
// set focus on password field
echo "<script type=\"text/javascript\" language=\"javascript\">\n";
echo "<!--\n";
echo "function focusLogin() {\n";
@ -166,24 +179,20 @@ function display_LoginPage($config_object) {
echo "//-->\n";
echo "</script>\n";
?>
<p align="center">
<a href="http://www.ldap-account-manager.org/" target="_blank"><img src="../graphics/banner.jpg" border="1" alt="LDAP Account Manager"></a>
</p>
<table width="100%" border="0">
<table border=0 width="100%" class="lamHeader">
<tr>
<td width="50%" align="left">
<a href="./config/index.php"><IMG alt="configuration" src="../graphics/tools.png">&nbsp;<?php echo _("LAM configuration") ?></a>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<TD width="50%" align="right">
<?PHP
if (!isLAMProVersion()) {
echo "<a href=\"http://www.ldap-account-manager.org/lamcms/lamPro\">" . _("Want more features? Get LAM Pro!") . "</a>";
}
?>
</TD>
<td align="right" height=20>
<a href="./config/index.php"><IMG alt="configuration" src="../graphics/tools.png">&nbsp;<?php echo _("LAM configuration") ?></a>
</td>
</tr>
</table>
<hr><br><br>
<br><br><br><br>
<?php
// check extensions
$extList = getRequiredExtensions();
@ -231,8 +240,7 @@ function display_LoginPage($config_object) {
<form action="login.php" method="post">
<table width="580">
<tr>
<td style="border-style:none" height="70" colspan="2" align="center">
<font color="#000080"><b><big><?php echo _("Please select your user name and enter your password to log in."); ?></big></b></font>
<td style="border-style:none" height="30" colspan="2" align="center">
</td>
</tr>
<tr>
@ -319,41 +327,44 @@ function display_LoginPage($config_object) {
<form action="login.php" method="post">
<table width="580">
<tr>
<td style="border-style:none" height="30" colspan="2">
<hr>
<td height="30" colspan=2>
<hr>
</td>
</tr>
<tr>
<td height="30" style="white-space: nowrap">
<b>
<?php
echo _("LDAP server") . ": ";
?></b>
</td>
<td width="100%" height="30">
<?php echo $config_object->get_ServerURL(); ?>
</td>
</tr>
<tr>
<td style="border-style:none" height="30"><b>
<td height="30" style="white-space: nowrap">
<b>
<?php
echo _("Server profile") . ": ";
if(empty($_POST['profileChange'])) {
$_POST['profile'] = $_SESSION['config']->getName();
}
?></b>
<?php echo $_POST['profile']; ?>
</td>
<td style="border-style:none" height="30" align="right">
<select name="profile" size="1" tabindex="5">
<td height="30">
<select name="profile" size="1" tabindex="5" onchange="loginProfileChanged(this)">
<?php
for($i=0;$i<count($profiles);$i++) {
?>
<option value="<?php echo $profiles[$i]; ?>"><?php echo $profiles[$i]; ?></option>
<?php
$selected = '';
if ($profiles[$i] == $_SESSION['config']->getName()) {
$selected = ' selected';
}
echo '<option value="' . $profiles[$i] . '"' . $selected . '>' . $profiles[$i] . '</option>';
}
?>
</select>
<input name="profileChange" type="hidden" value="profileChange">
<input name="submit" type="submit" value="<?php echo _("Change profile"); ?>" tabindex="6">
</td>
</tr>
<tr>
<td style="border-style:none" height="10" colspan="2"></td>
<td height="10" colspan="2"></td>
</tr>
</table>
</form>
@ -363,7 +374,16 @@ function display_LoginPage($config_object) {
</div>
<br><br>
<TABLE style="position:absolute; bottom:10px;" border="0" width="99%">
<TR><TD align="right"><HR>
<tr><td colspan=2><HR></td></tr>
<TR>
<td align="left">
<?PHP
if (!isLAMProVersion()) {
echo "<a href=\"http://www.ldap-account-manager.org/lamcms/lamPro\">" . _("Want more features? Get LAM Pro!") . "</a>";
}
?>
</td>
<TD align="right">
<SMALL>
<?php
if (isLAMProVersion()) {

View File

@ -59,24 +59,27 @@ while ($jsEntry = $jsDir->read()) {
?>
<table border=0 width="100%">
<table border=0 width="100%" class="lamHeader">
<tr>
<td width="200">
<a href="<?php echo $headerPrefix; ?>tools.php"><img alt="tools" src="<?php echo $headerPrefix; ?>../graphics/tools.png">&nbsp;<BIG><B><?php echo _("Tools") ?></B></BIG></a>
<td align="left" height="30">
<a class="lamHeader" href="http://www.ldap-account-manager.org/" target="new_window">&nbsp;<img src="<?php echo $headerPrefix; ?>../graphics/logo32.png" width=24 height=24 class="align-middle" alt="LDAP Account Manager">&nbsp;&nbsp;LDAP Account Manager</a>
</td>
<td align="center">
<a href="http://www.ldap-account-manager.org/" target="new_window"><img src="<?php echo $headerPrefix; ?>../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</td>
<td width="200" align="right" height=20><a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png">&nbsp;<big><b><?php echo _("Logout") ?></b></big></a></td>
<td align="right" height=20>
<a href="<?php echo $headerPrefix; ?>tools.php"><img alt="tools" src="<?php echo $headerPrefix; ?>../graphics/tools.png">&nbsp;<?php echo _("Tools") ?></a>
&nbsp;&nbsp;&nbsp;
<a href="<?php echo $headerPrefix; ?>logout.php" target="_top"><img alt="logout" src="<?php echo $headerPrefix; ?>../graphics/exit.png">&nbsp;<?php echo _("Logout") ?></a>
&nbsp;
</td>
</tr>
</table>
<br>
<div id="headerTabs" class="ui-tabs">
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix">
<?php
$linkList = array();
if ($_SESSION['config']->get_Suffix('tree') != "") {
$link = '<a href="' . $headerPrefix . 'tree/treeViewContainer.php"><img alt="tree view" src="' . $headerPrefix . '../graphics/process.png">&nbsp;<big>' . _("Tree view") . '</big></a>' . "\n";
$link = '<a href="' . $headerPrefix . 'tree/treeViewContainer.php"><img alt="tree view" src="' . $headerPrefix . '../graphics/process.png">&nbsp;' . _("Tree view") . '</a>' . "\n";
echo '<li id="tab_tree" class="ui-state-default ui-corner-top">';
echo $link;
echo "</li>\n";
@ -92,5 +95,4 @@ while ($jsEntry = $jsDir->read()) {
?>
</ul>
</div>
<br>