summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/ip/ip_rechner.php
diff options
context:
space:
mode:
authorLars Müller2008-03-01 19:04:26 +0100
committerLars Müller2008-03-01 19:04:26 +0100
commitcd46d68991f7ae0cf319f915c5fecdd71b78ee34 (patch)
treee9a48065f3203c8e16b14f82216452810d0f53ee /ldap-site-mngmt/webinterface/ip/ip_rechner.php
parentOptimizations, improvements ... (diff)
downloadcore-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/ip/ip_rechner.php')
-rw-r--r--ldap-site-mngmt/webinterface/ip/ip_rechner.php79
1 files changed, 0 insertions, 79 deletions
diff --git a/ldap-site-mngmt/webinterface/ip/ip_rechner.php b/ldap-site-mngmt/webinterface/ip/ip_rechner.php
deleted file mode 100644
index e49c6a40..00000000
--- a/ldap-site-mngmt/webinterface/ip/ip_rechner.php
+++ /dev/null
@@ -1,79 +0,0 @@
-<?php
-
-include('../standard_header.inc.php');
-
-# 1. Seitentitel - wird in der Titelleiste des Browser angezeigt.
-$titel = "IP Address Management";
-# 2. Nummer des zugehörigen Hauptmenus (Registerkarte) beginnend bei 0, siehe Dokumentation.doc.
-$mainnr = 1;
-$mnr = 1;
-# 3. Dateiname und evtl. Pfad des Templates für die Webseite
-$webseite = "ip_rechner.dwt";
-
-include("../class.FastTemplate.php");
-
-include("ip_header.inc.php");
-
-#############################################################################
-
-# Menuleiste erstellen
-createMainMenu($rollen, $mainnr);
-createIPMenu($rollen, $mnr);
-
-include("ip_blocks.inc.php");
-
-#############################################################################
-
-$template->assign(array("IP" => "",
- "OLDIP" => "",
- "DHCPCONT" => "",
- "FIXADD" => "",
- "HOSTNAME" => "Noch keine Rechner angelegt",
- "HOSTDN" => ""));
-
-$host_array = get_hosts($auDN,array("dn","hostname","ipaddress","dhcphlpcont","dhcpoptfixed-address"));
-# print_r ($host_array);
-
-$template->define_dynamic("Hosts", "Webseite");
-
-foreach ($host_array as $host){
- $hostip = explode('_',$host['ipaddress']);
-
- $dhcpcont = "";
- $fixadd = "";
- if ( count($host['dhcphlpcont']) != 0 && $host['ipaddress'] == "" ){
- #$subnetCN = explode('cn=',$host['dhcphlpcont']);
- #$dynsubnet = explode(',', $subnetCN[1]);
- #$dhcpcont = " DYNAMISCH &nbsp;&nbsp;(DHCP, Subnet $dynsubnet[0])";
- $dhcpcont = " dynamisch";
- $fixadd = $host['dhcpoptfixed-address'];
- }elseif( count($host['dhcphlpcont']) != 0 && $host['ipaddress'] != "" ){
- #$subnetCN = explode('cn=',$host['dhcphlpcont']);
- #$dynsubnet = explode(',', $subnetCN[1]);
- #$dhcpcont = " STATISCH &nbsp;&nbsp;(DHCP, Subnet $dynsubnet[0])";
- if ( $host['dhcpoptfixed-address'] == "ip") {
- $dhcpcont = " fix";
- $fixadd = $host['dhcpoptfixed-address'];
- }
- if ( $host['dhcpoptfixed-address'] == "hostname") {
- $dhcpcont = " fix (&uuml;ber DNS Name)";
- $fixadd = $host['dhcpoptfixed-address'];
- }
- }
-
- $template->assign(array("IP" => $hostip[0],
- "OLDIP" => $hostip[0],
- "DHCPCONT" => $dhcpcont,
- "FIXADD" => $fixadd,
- "HOSTNAME" => $host['hostname'],
- "HOSTDN" => $host['dn'],
- "AUDN" => $auDN ));
- $template->parse("HOSTS_LIST", ".Hosts");
-}
-
-
-#####################################################################################
-
-include("ip_footer.inc.php");
-
-?>