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/computers/new_mcdef.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/computers/new_mcdef.php')
| -rw-r--r-- | ldap-site-mngmt/webinterface/computers/new_mcdef.php | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/ldap-site-mngmt/webinterface/computers/new_mcdef.php b/ldap-site-mngmt/webinterface/computers/new_mcdef.php deleted file mode 100644 index e36c76bb..00000000 --- a/ldap-site-mngmt/webinterface/computers/new_mcdef.php +++ /dev/null @@ -1,69 +0,0 @@ -<?php - -include('../standard_header.inc.php'); - -# Dateiname und evtl. Pfad des Templates für die Webseite -$webseite = "new_mcdef.dwt"; - -include('computers_header.inc.php'); - -$mnr = 4; -$sbmnr = -1; -$mcnr = -1; - -################################################################################### - -$sbmnr = $_GET['sbmnr']; -$mcnr = $_GET['mcnr']; - -# Menuleisten erstellen -createMainMenu($rollen, $mainnr); -createComputersMenu($rollen, $mnr, $auDN, $sbmnr, $mcnr); - -################################################################################### - -$mccn = str_replace ( "_", " ", $_GET['mccn']); -$mcdesc = str_replace ( "_", " ", $_GET['mcdesc']); -$mcday = str_replace ( "_", " ", $_GET['mcday']); -$mcbeg = str_replace ( "_", " ", $_GET['mcbeg']); -$mcend = str_replace ( "_", " ", $_GET['mcend']); - - -$template->assign(array("MCCN" => $mccn, - "MCDAY" => $mcday, - "MCBEG" => $mcbeg, - "MCEND" => $mcend, - "MCDESC" => $mcdesc, - "NODEDN" => "cn=computers,".$auDN, - "MNR" => $mnr, - "SBMNR" => $sbmnr, - "MCNR" => $mcnr)); - -################################################# -# Ziel Objekt (nur Rechner und Gruppen, Default) - -$hostorgroup = $exp[0]; -$hgexp = explode('=',$exp[0]); - -$hosts_array = get_hosts($auDN,array("dn","hostname")); -$groups_array = get_groups($auDN,array("dn","cn")); - -$template->define_dynamic("Hosts", "Webseite"); -foreach ($hosts_array as $item){ - $template->assign(array("HDN" => $item['dn'], - "HN" => $item['hostname'])); - $template->parse("HOSTS_LIST", ".Hosts"); -} -$template->define_dynamic("Groups", "Webseite"); -foreach ($groups_array as $item){ - $template->assign(array("GDN" => $item['dn'], - "GN" => $item['cn'])); - $template->parse("GROUPS_LIST", ".Groups"); -} - - -################################################################################### - -include("computers_footer.inc.php"); - -?>
\ No newline at end of file |
