summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/computers/new_host.php
diff options
context:
space:
mode:
Diffstat (limited to 'ldap-site-mngmt/webinterface/computers/new_host.php')
-rw-r--r--ldap-site-mngmt/webinterface/computers/new_host.php58
1 files changed, 0 insertions, 58 deletions
diff --git a/ldap-site-mngmt/webinterface/computers/new_host.php b/ldap-site-mngmt/webinterface/computers/new_host.php
deleted file mode 100644
index 4ac144bc..00000000
--- a/ldap-site-mngmt/webinterface/computers/new_host.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
-include('../standard_header.inc.php');
-
-# Dateiname und evtl. Pfad des Templates für die Webseite
-$webseite = "new_host.dwt";
-
-include('computers_header.inc.php');
-
-$mnr = 0;
-$sbmnr = -1;
-$mcnr = -1;
-
-###################################################################################
-
-$sbmnr = $_GET['sbmnr'];
-
-# Menuleisten erstellen
-createMainMenu($rollen, $mainnr);
-createComputersMenu($rollen, $mnr, $auDN, $sbmnr, $mcnr);
-
-###################################################################################
-
-
-$hostname = str_replace ( "_", " ", $_GET['hostname']);
-$hostdesc = str_replace ( "_", " ", $_GET['hostdesc']);
-$mac = str_replace ( "_", " ", $_GET['mac']);
-$ip = str_replace ( "_", " ", $_GET['ip']);
-
-# DHCP Einbindung
-$objecttype = "nodhcp";
-$dhcp_selectbox = "";
-$altdhcp = alternative_dhcpobjects($objecttype,"","");
-if (count($altdhcp) != 0){
- foreach ($altdhcp as $item){
- $dhcp_selectbox .= "
- <option value='".$item['dn']."'>".$item['cn']." ".$item['au']."</option>";
- }
-}
-
-$template->assign(array("HOSTNAME" => $hostname,
- "HOSTDESC" => $hostdesc,
- "MAC" => $mac,
- "IP" => $ip,
- "DHCPSELECT" => $dhcp_selectbox,
- "GEOLOC" => "",
- "GEOATT" => "",
- "MOUSE" => "",
- "GRAPHIC" => "",
- "MONITOR" => "",
- "AUDN" => $auDN));
-
-
-###################################################################################
-
-include("computers_footer.inc.php");
-
-?> \ No newline at end of file