layout improvements

This commit is contained in:
Roland Gruber 2006-05-13 08:40:01 +00:00
parent 12cc7a5a9b
commit 6f9bdca2ee
2 changed files with 7 additions and 5 deletions

View File

@ -62,7 +62,7 @@ echo ("<title>LDAP Account Manager</title>\n");
echo ("<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">");
echo ("</head>\n");
echo ("<frameset rows=\"130,*\">\n");
echo ("<frame src=\"./main_header.php\" name=\"head\" frameborder=\"0\" scrolling=\"no\">\n");
echo ("<frame src=\"./main_header.php\" name=\"head\" frameborder=\"0\" scrolling=\"yes\">\n");
// display page to add suffixes, if needed
if (sizeof($new_suffs) > 0) echo ("<frame src=\"initsuff.php?suffs='" . implode(";", $new_suffs) .
"'\" name=\"mainpart\" frameborder=\"0\" scrolling=\"yes\">\n");

View File

@ -67,14 +67,16 @@ $types = $_SESSION['config']->get_ActiveTypes();
</tr>
<tr>
<?php
echo "<td colspan=3 align=\"center\">";
echo "<td colspan=3 align=\"center\" style=\"white-space:nowrap;\">";
$linkList = array();
if ($_SESSION['config']->get_Suffix('tree') != "") {
echo '<img src="../graphics/process.png">&nbsp;<a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' . "\n";
$linkList[] = '<img src="../graphics/process.png">&nbsp;<a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>' . "\n";
}
for ($i = 0; $i < sizeof($types); $i++) {
echo '<img src="../graphics/' . $types[$i] . '.png">&nbsp;';
echo '<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart"><big>' . getTypeAlias($types[$i]) . '</big></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
$linkList[] = '<img src="../graphics/' . $types[$i] . '.png">&nbsp;' .
'<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart"><big>' . getTypeAlias($types[$i]) . '</big></a>';
}
echo implode('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', $linkList);
echo "</td>";
?>
</tr>