diff options
| author | Lars Müller | 2008-03-01 19:04:26 +0100 |
|---|---|---|
| committer | Lars Müller | 2008-03-01 19:04:26 +0100 |
| commit | cd46d68991f7ae0cf319f915c5fecdd71b78ee34 (patch) | |
| tree | e9a48065f3203c8e16b14f82216452810d0f53ee /ldap-site-mngmt/webinterface/au/new_child.php | |
| parent | Optimizations, improvements ... (diff) | |
| download | core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.tar.gz core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.tar.xz core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.zip | |
Reorganisation of the repo structure as discussed on the devel list.
- Move the majority of trunk and all branches to the new openslx/ dir.
- Move ldap-site-mngmt to contrib/.
- Move openslx/trunk/os-plugins/plugins/vmchooser/src/ to
openslx-src-tools/trunk/os-plugins/plugins/vmchooser/
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1591 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/au/new_child.php')
| -rw-r--r-- | ldap-site-mngmt/webinterface/au/new_child.php | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/ldap-site-mngmt/webinterface/au/new_child.php b/ldap-site-mngmt/webinterface/au/new_child.php deleted file mode 100644 index f083050d..00000000 --- a/ldap-site-mngmt/webinterface/au/new_child.php +++ /dev/null @@ -1,74 +0,0 @@ -<?php - -include('../standard_header.inc.php'); - -# Filename of Template -$webseite = "new_child.dwt"; - -include('au_header.inc.php'); - -############################################################################### -# Menus - -$mnr = 2; -$sbmnr = -1; - -$sbmnr = $_GET['sbmnr']; - -createMainMenu($rollen, $mainnr); -createAUMenu($rollen, $mnr, $auDN, $sbmnr); - -################################################################################ -# Mainpage Data - -$childou = str_replace ( "_", " ", $_GET['ou']); -$childcn = str_replace ( "_", " ", $_GET['cn']); -$childdesc = str_replace ( "_", " ", $_GET['desc']); -$childdomain = $_GET['childdomain']; - -$domprefix = str_replace('.uni-freiburg.de','',$childau[0]['associateddomain']); - -$template->assign(array("CHILDOU" => $childou, - "CHILDCN" => $childcn, - "CHILDDOMAIN" => $childdomain, - "CHILDDESC" => $childdesc, - "AUDN" => $auDN)); - - -####################################### -# Admin anlegen - -$users_array = get_users(); -#print_r($users_array); echo "<br><br>"; - -if (count($users_array) != 0) { - $template->define_dynamic("Users", "Webseite"); - foreach ($users_array as $item) { - $template->assign(array("UDN" => $item['dn'], - "USER" => $item['uid'])); - $template->parse("USERS_LIST", ".Users"); - } -} -else { - $template->assign(array("UDN" => "","USER" => "")); -} - -####################################### -# Objekte zum verschieben - -$host_array = get_hosts($auDN,array("dn","hostname")); -#print_r($host_array); -$template->define_dynamic("Hosts", "Webseite"); -foreach ($host_array as $item){ - $template->assign(array("HDN" => $item['dn'], - "HOSTNAME" => $item['hostname'], - "HOSTNUMBER" => 5)); - $template->parse("HOSTS_LIST", ".Hosts"); -} - -############################################################################### -# Footer - -include("au_footer.inc.php"); - -?>
\ No newline at end of file |
