summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/au/au_childs.php
diff options
context:
space:
mode:
authorTarik Gasmi2007-05-14 09:46:29 +0200
committerTarik Gasmi2007-05-14 09:46:29 +0200
commitb192e30ee65a420e12b71cbc0b410754983c052e (patch)
tree7e1b63e5c932d15d33943e7bab1cba8fe394c7fb /ldap-site-mngmt/webinterface/au/au_childs.php
parent* fixed incorrect execution of chroot with respect to setting up the (diff)
downloadcore-b192e30ee65a420e12b71cbc0b410754983c052e.tar.gz
core-b192e30ee65a420e12b71cbc0b410754983c052e.tar.xz
core-b192e30ee65a420e12b71cbc0b410754983c052e.zip
Some webinterface data.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1076 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/au/au_childs.php')
-rw-r--r--ldap-site-mngmt/webinterface/au/au_childs.php51
1 files changed, 51 insertions, 0 deletions
diff --git a/ldap-site-mngmt/webinterface/au/au_childs.php b/ldap-site-mngmt/webinterface/au/au_childs.php
new file mode 100644
index 00000000..fe91a5c5
--- /dev/null
+++ b/ldap-site-mngmt/webinterface/au/au_childs.php
@@ -0,0 +1,51 @@
+<?php
+
+include('../standard_header.inc.php');
+include("../class.FastTemplate.php");
+
+# Filename of Template
+$webseite = "au_childs.dwt";
+
+include('au_header.inc.php');
+
+
+###############################################################################
+# Menus
+
+$mnr = 2;
+$sbmnr = -1;
+
+createMainMenu($rollen, $mainnr);
+createAUMenu($rollen, $mnr, $auDN, $sbmnr);
+
+
+###############################################################################
+# Mainpage Data
+
+$template->assign(array("CHILDOU" => "Noch keine untergordnete AU angelegt",
+ "CHILDCN" => "",
+ "CHILDDN" => "",
+ "CHILDDOMAIN" => "",
+ "CHILDDESC" => ""));
+
+$childau_array = get_childau($auDN,array("dn","cn","ou","associateddomain","description","maxipblock"));
+
+$template->define_dynamic("Childaus", "Webseite");
+
+foreach ($childau_array as $childau){
+ $template->assign(array("CHILDOU" => $childau['ou'],
+ "CHILDCN" => $childau['cn'],
+ "CHILDDN" => $childau['dn'],
+ "CHILDDOMAIN" => $childau['associateddomain'],
+ "CHILDDESC" => $childau['description'],
+ "AUDN" => $auDN));
+ $template->parse("CHILDAUS_LIST", ".Childaus");
+}
+
+
+###################################################################################
+# Footer
+
+include("au_footer.inc.php");
+
+?> \ No newline at end of file