changed tabs
This commit is contained in:
parent
077969e288
commit
cad8992d9d
|
@ -162,7 +162,7 @@ class lamList {
|
||||||
}
|
}
|
||||||
// show form
|
// show form
|
||||||
echo ("<form action=\"list.php?type=" . $this->type . "&norefresh=true\" method=\"post\">\n");
|
echo ("<form action=\"list.php?type=" . $this->type . "&norefresh=true\" method=\"post\">\n");
|
||||||
echo "<div class=\"ui-tabs-nav\">";
|
echo "<div class=\"ui-tabs-panel ui-widget-content ui-corner-bottom\">";
|
||||||
// draw account list if accounts were found
|
// draw account list if accounts were found
|
||||||
if (sizeof($this->entries) > 0) {
|
if (sizeof($this->entries) > 0) {
|
||||||
// buttons
|
// buttons
|
||||||
|
@ -175,13 +175,6 @@ class lamList {
|
||||||
$this->listPrintTableHeader();
|
$this->listPrintTableHeader();
|
||||||
// account table body
|
// account table body
|
||||||
$this->listPrintTableBody($this->entries);
|
$this->listPrintTableBody($this->entries);
|
||||||
echo ("<br>\n");
|
|
||||||
// navigation bar
|
|
||||||
$this->listDrawNavigationBar(sizeof($this->entries));
|
|
||||||
echo ("<br>\n");
|
|
||||||
// buttons
|
|
||||||
$this->listPrintButtons(false);
|
|
||||||
echo ("<br>\n");
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// buttons
|
// buttons
|
||||||
|
@ -709,7 +702,7 @@ class lamList {
|
||||||
* Prints the HTML footer.
|
* Prints the HTML footer.
|
||||||
*/
|
*/
|
||||||
protected function listPrintFooter() {
|
protected function listPrintFooter() {
|
||||||
echo ("</div></form>\n");
|
echo ("</div></form></div>\n");
|
||||||
echo "</body></html>\n";
|
echo "</body></html>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,8 @@ while ($jsEntry = $jsDir->read()) {
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<div id="headerTabs" class="ui-tabs">
|
<div id="headerTabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
|
||||||
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix">
|
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
|
||||||
<?php
|
<?php
|
||||||
$linkList = array();
|
$linkList = array();
|
||||||
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
if ($_SESSION['config']->get_Suffix('tree') != "") {
|
||||||
|
@ -94,5 +94,4 @@ while ($jsEntry = $jsDir->read()) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
|
@ -42,13 +42,13 @@ setlanguage();
|
||||||
include '../main_header.php';
|
include '../main_header.php';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<div id="tabcontent" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
|
||||||
<iframe id="treeframe" style="width: 100%; height: 800px;" src="tree_view.php" frameborder="0"></iframe>
|
<iframe id="treeframe" style="width: 100%; height: 800px;" src="tree_view.php" frameborder="0"></iframe>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function resizeIframe() {
|
function resizeIframe() {
|
||||||
var height = document.documentElement.clientHeight;
|
var height = document.documentElement.clientHeight;
|
||||||
height -= document.getElementById('treeframe').offsetTop;
|
height -= document.getElementById('treeframe').offsetTop;
|
||||||
height -= 30;
|
height -= 90
|
||||||
document.getElementById('treeframe').style.height = height +"px";
|
document.getElementById('treeframe').style.height = height +"px";
|
||||||
};
|
};
|
||||||
document.getElementById('treeframe').onload = resizeIframe;
|
document.getElementById('treeframe').onload = resizeIframe;
|
||||||
|
@ -58,9 +58,6 @@ jQuery('#tab_tree').addClass('ui-tabs-selected');
|
||||||
jQuery('#tab_tree').addClass('ui-state-active');
|
jQuery('#tab_tree').addClass('ui-state-active');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
</div></div>
|
||||||
<?php
|
</body>
|
||||||
echo "</body>\n";
|
</html>
|
||||||
echo "</html>\n";
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ echo "<meta http-equiv=\"pragma\" content=\"no-cache\">";
|
||||||
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">";
|
echo "<meta http-equiv=\"cache-control\" content=\"no-cache\">";
|
||||||
echo "<title>LDAP Account Manager</title>";
|
echo "<title>LDAP Account Manager</title>";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\"></head>";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\"></head>";
|
||||||
echo "<frameset cols=\"320,*\">";
|
echo "<frameset cols=\"320,*\" style=\"border-width: 0;\">";
|
||||||
echo "<frame src=\"./tree.php\" name=\"left_frame\" frameborder=\"0\" scrolling=\"yes\" noresize>";
|
echo "<frame src=\"./tree.php\" name=\"left_frame\" frameborder=\"0\" scrolling=\"yes\" noresize>";
|
||||||
echo "<frame src=\"./edit.php?dn=$dn\" name=\"right_frame\" frameborder=\"0\" scrolling=\"yes\">";
|
echo "<frame src=\"./edit.php?dn=$dn\" name=\"right_frame\" frameborder=\"0\" scrolling=\"yes\">";
|
||||||
echo "<noframes>";
|
echo "<noframes>";
|
||||||
|
|
Loading…
Reference in New Issue