diff options
author | Tarik Gasmi | 2007-10-26 10:41:22 +0200 |
---|---|---|
committer | Tarik Gasmi | 2007-10-26 10:41:22 +0200 |
commit | 310554c02e4b51c5300f8bdf8ad15e3f0520bc53 (patch) | |
tree | 277727e7c13eeaec94fe8089f547f3108b727bcc /ldap-site-mngmt/webinterface/computers/hwhost.php | |
parent | This should fix a small bug reported by Reiner for SuSE10.3 in stage3. (diff) | |
download | core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.tar.gz core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.tar.xz core-310554c02e4b51c5300f8bdf8ad15e3f0520bc53.zip |
LSM Webinterface, new actualized Version
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1401 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/computers/hwhost.php')
-rw-r--r-- | ldap-site-mngmt/webinterface/computers/hwhost.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ldap-site-mngmt/webinterface/computers/hwhost.php b/ldap-site-mngmt/webinterface/computers/hwhost.php index 0f6cc300..e0b1f7f8 100644 --- a/ldap-site-mngmt/webinterface/computers/hwhost.php +++ b/ldap-site-mngmt/webinterface/computers/hwhost.php @@ -7,7 +7,7 @@ $webseite = "hwhost.dwt"; include('computers_header.inc.php'); -$mnr = 1; +$mnr = 0; $sbmnr = -1; $mcnr = -1; @@ -24,7 +24,7 @@ createComputersMenu($rollen, $mnr, $auDN, $sbmnr, $mcnr); $hostDN = $_GET['dn']; $attributes = array("hostname","domainname","ipaddress","hwaddress","description","dhcphlpcont", - "hw-mouse","hw-graphic","hw-monitor"); + "hw-mouse","hw-graphic","hw-monitor","geolocation","geoattribut"); $host = get_node_data($hostDN,$attributes); $hostip = explode('_',$host['ipaddress']); @@ -33,11 +33,13 @@ $template->assign(array("HOSTDN" => $hostDN, "DOMAINNAME" => $host['domainname'], "HWADDRESS" => $host['hwaddress'], "IPADDRESS" => $hostip[0], - "DESCRIPTION" => $host['description'], - "DHCPCONT" => $host['dhcphlpcont'], - "MOUSE" => $host['hw-mouse'], + "DESCRIPTION" => $host['description'], + "DHCPCONT" => $host['dhcphlpcont'], + "GEOLOC" => $host['geolocation'], + "GEOATT" => $host['geoattribut'], + "MOUSE" => $host['hw-mouse'], "GRAPHIC" => $host['hw-graphic'], - "MONITOR" => $host['hw-monitor'], + "MONITOR" => $host['hw-monitor'], "DHCPLINK" => "<a href='dhcphost.php?dn=".$hostDN."&sbmnr=".$sbmnr."' class='headerlink'>", "HOSTLINK" => "<a href='host.php?dn=".$hostDN."&sbmnr=".$sbmnr."' class='headerlink'>", "RBSLINK" => "<a href='rbshost.php?dn=".$hostDN."&sbmnr=".$sbmnr."' class='headerlink'>", |