From 310554c02e4b51c5300f8bdf8ad15e3f0520bc53 Mon Sep 17 00:00:00 2001 From: Tarik Gasmi Date: Fri, 26 Oct 2007 08:41:22 +0000 Subject: LSM Webinterface, new actualized Version git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1401 95ad53e4-c205-0410-b2fa-d234c58c8868 --- ldap-site-mngmt/webinterface/computers/dhcphost.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'ldap-site-mngmt/webinterface/computers/dhcphost.php') diff --git a/ldap-site-mngmt/webinterface/computers/dhcphost.php b/ldap-site-mngmt/webinterface/computers/dhcphost.php index 8a5f67fa..5e64000d 100644 --- a/ldap-site-mngmt/webinterface/computers/dhcphost.php +++ b/ldap-site-mngmt/webinterface/computers/dhcphost.php @@ -7,7 +7,7 @@ $webseite = "dhcphost.dwt"; include('computers_header.inc.php'); -$mnr = 1; +$mnr = 0; $sbmnr = -1; $mcnr = -1; @@ -24,9 +24,9 @@ createComputersMenu($rollen, $mnr, $auDN, $sbmnr, $mcnr); $hostDN = $_GET['dn']; # Rechner Daten -$attributes = array("hostname","domainname","ipaddress","hwaddress","description","hlprbservice", +$attributes = array("hostname","domainname","ipaddress","hwaddress","hlprbservice", "dhcphlpcont","dhcpoptfixed-address","dhcpopthardware","dhcpoptfilename", - "dhcpoptnext-server","dhcpoptmax-lease-time","dhcpoptdefault-lease-time","hw-mouse","hw-graphic","hw-monitor"); + "dhcpoptnext-server","dhcpoptmax-lease-time","dhcpoptdefault-lease-time"); $host = get_node_data($hostDN,$attributes); $hostip = explode('_',$host['ipaddress']); # print_r($hostip); echo "

"; @@ -145,9 +145,9 @@ if ($dhcphlpcont == ""){   - fixed-address:   - ".$fixedaddress."  - + fixed-address:   + ".$fixedaddress."  + @@ -158,16 +158,15 @@ if ($dhcphlpcont == ""){ $template->assign(array("HOSTDN" => $hostDN, "HOSTNAME" => $host['hostname'], - "DOMAINNAME" => $host['domainname'], + #"DOMAINNAME" => $host['domainname'], "HWADDRESS" => $host['hwaddress'], "IPADDRESS" => $hostip[0], - "DESCRIPTION" => $host['description'], "OLDDHCP" => $objectDN, "OLDFIXADD" => $host['dhcpoptfixed-address'], - "OLDRBS" => $rbsDN, + "OLDRBS" => $rbsDN, "DHCPCONT" => $dhcp, - "HOST_DHCPOPT" => $host_dhcpopt, - "NEXTSERVER" => $host['dhcpoptnext-server'], + "HOST_DHCPOPT" => $host_dhcpopt, + "NEXTSERVER" => $host['dhcpoptnext-server'], "FILENAME" => $host['dhcpoptfilename'], "DEFAULTLEASE" => $dhcpdefaultlease, "MAXLEASE" => $dhcpmaxlease, -- cgit v1.2.3-55-g7522