diff options
Diffstat (limited to 'ldap-site-mngmt/webinterface/computers/host.php')
-rw-r--r-- | ldap-site-mngmt/webinterface/computers/host.php | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/ldap-site-mngmt/webinterface/computers/host.php b/ldap-site-mngmt/webinterface/computers/host.php index 2c522181..1778ffbb 100644 --- a/ldap-site-mngmt/webinterface/computers/host.php +++ b/ldap-site-mngmt/webinterface/computers/host.php @@ -2,20 +2,15 @@ include('../standard_header.inc.php'); -# 1. Seitentitel - wird in der Titelleiste des Browser angezeigt. -$titel = "Computers Management"; -# 2. Nummer des zugehörigen Hauptmenus (Registerkarte) beginnend bei 0, siehe Dokumentation.doc. -$mainnr = 3; -$mnr = 1; -$sbmnr = -1; -$mcnr = -1; -# 3. Dateiname und evtl. Pfad des Templates für die Webseite +# Dateiname und evtl. Pfad des Templates für die Webseite $webseite = "host.dwt"; -include("../class.FastTemplate.php"); - include('computers_header.inc.php'); +$mnr = 1; +$sbmnr = -1; +$mcnr = -1; + ################################################################################### $sbmnr = $_GET['sbmnr']; @@ -28,7 +23,7 @@ createComputersMenu($rollen, $mnr, $auDN, $sbmnr, $mcnr); $hostDN = $_GET['dn']; -$attributes = array("hostname","domainname","ipaddress","hwaddress","description","dhcphlpcont", +$attributes = array("hostname","domainname","ipaddress","hwaddress","description","dhcphlpcont","dhcpoptfixed-address", "hw-mouse","hw-graphic","hw-monitor"); $host = get_node_data($hostDN,$attributes); $hostip = explode('_',$host['ipaddress']); @@ -56,7 +51,8 @@ $template->assign(array("HOSTDN" => $hostDN, "IPADDRESS" => $hostip[0], "DESCRIPTION" => $host['description'], "DHCPCONT" => $host['dhcphlpcont'], - "DHCPTYPE" => $dhcptype, + "DHCPTYPE" => $dhcptype, + "FIXADD" => $host['dhcpoptfixed-address'] , "MOUSE" => $host['hw-mouse'], "GRAPHIC" => $host['hw-graphic'], "MONITOR" => $host['hw-monitor'], |