better view on small windows
This commit is contained in:
parent
40989c2f23
commit
bdd38d1c1b
|
@ -62,10 +62,10 @@ 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=\"yes\">\n");
|
||||
echo ("<frame src=\"./main_header.php\" name=\"head\" frameborder=\"0\">\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");
|
||||
"'\" name=\"mainpart\" frameborder=\"0\">\n");
|
||||
else {
|
||||
if (sizeof($types) > 0) {
|
||||
echo ("<frame src=\"./lists/list.php?type=" . $types[0] . "\" name=\"mainpart\" frameborder=\"0\" scrolling=\"yes\">\n");
|
||||
|
|
|
@ -53,33 +53,28 @@ $types = $_SESSION['config']->get_ActiveTypes();
|
|||
<table border=0 width="100%">
|
||||
<tr>
|
||||
<td width="200">
|
||||
<img src="../graphics/smile.png"> <a href="http://lam.sourceforge.net/sponsors/donations.htm" target="_blank"><?php echo _("Donate") ?></a>
|
||||
<img alt="donations" src="../graphics/smile.png"> <a href="http://lam.sourceforge.net/sponsors/donations.htm" target="_blank"><?php echo _("Donate") ?></a>
|
||||
<br><br>
|
||||
<img src="../graphics/tools.png"> <a href="tools.php" target="mainpart"><BIG><B><?php echo _("Tools") ?></B></BIG></a>
|
||||
<img alt="tools" src="../graphics/tools.png"> <a href="tools.php" target="mainpart"><BIG><B><?php echo _("Tools") ?></B></BIG></a>
|
||||
</td>
|
||||
<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"> <a href="./logout.php" target="_top"><big><b><?php echo _("Logout") ?></b></big></a></td>
|
||||
<td width="200" align="right" height=20><img alt="logout" src="../graphics/go.png"> <a href="./logout.php" target="_top"><big><b><?php echo _("Logout") ?></b></big></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=3><font size=1> </font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</table>
|
||||
<p align="center">
|
||||
<?php
|
||||
echo "<td colspan=3 align=\"center\" style=\"white-space:nowrap;\">";
|
||||
$linkList = array();
|
||||
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
||||
$linkList[] = '<img src="../graphics/process.png"> <a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>' . "\n";
|
||||
$linkList[] = '<img alt="tree view" src="../graphics/process.png"> <a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a>' . "\n";
|
||||
}
|
||||
for ($i = 0; $i < sizeof($types); $i++) {
|
||||
$linkList[] = '<img src="../graphics/' . $types[$i] . '.png"> ' .
|
||||
$linkList[] = '<img alt="' . $types[$i] . '" src="../graphics/' . $types[$i] . '.png"> ' .
|
||||
'<a href="./lists/list.php?type=' . $types[$i] . '" target="mainpart"><big>' . getTypeAlias($types[$i]) . '</big></a>';
|
||||
}
|
||||
echo implode(' ', $linkList);
|
||||
echo "</td>";
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue