From 59cf91925ca8da43d2427331b23e4673b0e53095 Mon Sep 17 00:00:00 2001 From: Tarik Gasmi Date: Mon, 14 May 2007 08:03:48 +0000 Subject: Other webinterface data. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1077 95ad53e4-c205-0410-b2fa-d234c58c8868 --- ldap-site-mngmt/webinterface/computers/hwhost.php | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 ldap-site-mngmt/webinterface/computers/hwhost.php (limited to 'ldap-site-mngmt/webinterface/computers/hwhost.php') diff --git a/ldap-site-mngmt/webinterface/computers/hwhost.php b/ldap-site-mngmt/webinterface/computers/hwhost.php new file mode 100644 index 00000000..e401d5ce --- /dev/null +++ b/ldap-site-mngmt/webinterface/computers/hwhost.php @@ -0,0 +1,78 @@ +assign(array("HOSTDN" => $hostDN, + "HOSTNAME" => $host['hostname'], + "DOMAINNAME" => $host['domainname'], + "HWADDRESS" => $host['hwaddress'], + "IPADDRESS" => $hostip[0], + "DESCRIPTION" => $host['description'], + "DHCPCONT" => $host['dhcphlpcont'], + "MOUSE" => $host['hw-mouse'], + "GRAPHIC" => $host['hw-graphic'], + "MONITOR" => $host['hw-monitor'], + "DHCPLINK" => "", + "HOSTLINK" => "", + "AUDN" => $auDN, + "SBMNR" => $sbmnr)); + + +########################################################## +# MC Wochenübersicht +$mc_array = get_machineconfigs($hostDN,array("dn","cn","timerange","description")); +# print_r($mc_array); +for ($i=0; $i 1 ){ + foreach ($mc_array[$i]['timerange'] as $tr){ + $exptime = array_merge(explode('_',$tr),$mc_array[$i]['description']); + $timeranges[$i][] = $exptime; # Für grafische Wo-Ansicht + } + }else{ + $exptime = array_merge(explode('_',$mc_array[$i]['timerange']), $mc_array[$i]['description']); + $timeranges[$i] = $exptime; # Für grafische Wo-Ansicht + } +} +include("mc_wochenplan.php"); + +########################################################### +# PXE Wochenübersicht + + +################################################################################### + +include("computers_footer.inc.php"); + +?> \ No newline at end of file -- cgit v1.2.3-55-g7522