better view on small windows

This commit is contained in:
Roland Gruber 2006-05-08 09:54:44 +00:00
parent 0d3d507380
commit 1c801159ec
2 changed files with 7 additions and 16 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\" noresize>\n");
echo ("<frame src=\"./main_header.php\" name=\"head\" frameborder=\"0\" scrolling=\"no\">\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

@ -42,8 +42,6 @@ echo $_SESSION['header'];
// number of list views (users, groups, ...)
$types = $_SESSION['config']->get_ActiveTypes();
$lists = sizeof($types);
if ($_SESSION['config']->get_Suffix('tree') != "") $lists++;
?>
@ -59,33 +57,26 @@ if ($_SESSION['config']->get_Suffix('tree') != "") $lists++;
<br><br>
<img src="../graphics/tools.png">&nbsp;<a href="tools.php" target="mainpart"><BIG><B><?php echo _("Tools") ?></B></BIG></a>
</td>
<?php
echo "<td colspan=$lists align=\"center\">\n";
?>
<td align="center">
<a href="http://lam.sourceforge.net" target="new_window"><img src="../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a>
</td>
<td width="200" align="right" height=20><img src="../graphics/go.png">&nbsp;<a href="./logout.php" target="_top"><big><b><?php echo _("Logout") ?></b></big></a></td>
</tr>
<tr>
<?php
$temp = $lists + 2;
echo "<td colspan=$temp><font size=1>&nbsp;</font></td>\n";
?>
<td colspan=3><font size=1>&nbsp;</font></td>
</tr>
<tr>
<td></td>
<?php
echo "<td colspan=3 align=\"center\">";
if ($_SESSION['config']->get_Suffix('tree') != "") {
echo '<td align="center"><img src="../graphics/process.png">&nbsp;<a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a></td>' . "\n";
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";
}
for ($i = 0; $i < sizeof($types); $i++) {
echo '<td align="center">';
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>';
echo '</td>' . "\n";
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;';
}
echo "</td>";
?>
<td></td>
</tr>
</table>
</body>