better view on small windows
This commit is contained in:
parent
0d3d507380
commit
1c801159ec
|
@ -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");
|
||||
|
|
|
@ -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"> <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"> <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> </font></td>\n";
|
||||
?>
|
||||
<td colspan=3><font size=1> </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"> <a href="./tree/tree_view.php" target="mainpart"><big>' . _("Tree view") . '</big></a></td>' . "\n";
|
||||
echo '<img 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++) {
|
||||
echo '<td align="center">';
|
||||
echo '<img src="../graphics/' . $types[$i] . '.png"> ';
|
||||
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> ';
|
||||
}
|
||||
echo "</td>";
|
||||
?>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue