From cd46d68991f7ae0cf319f915c5fecdd71b78ee34 Mon Sep 17 00:00:00 2001
From: Lars Müller
Date: Sat, 1 Mar 2008 18:04:26 +0000
Subject: Reorganisation of the repo structure as discussed on the devel list.
- Move the majority of trunk and all branches to the new openslx/ dir.
- Move ldap-site-mngmt to contrib/.
- Move openslx/trunk/os-plugins/plugins/vmchooser/src/ to
openslx-src-tools/trunk/os-plugins/plugins/vmchooser/
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1591 95ad53e4-c205-0410-b2fa-d234c58c8868
---
.../webinterface/computers/hostoverview.php | 102 ---------------------
1 file changed, 102 deletions(-)
delete mode 100644 ldap-site-mngmt/webinterface/computers/hostoverview.php
(limited to 'ldap-site-mngmt/webinterface/computers/hostoverview.php')
diff --git a/ldap-site-mngmt/webinterface/computers/hostoverview.php b/ldap-site-mngmt/webinterface/computers/hostoverview.php
deleted file mode 100644
index b1728002..00000000
--- a/ldap-site-mngmt/webinterface/computers/hostoverview.php
+++ /dev/null
@@ -1,102 +0,0 @@
-assign(array("DN" => "",
- "HOSTNAME" => "Noch keine Rechner angelegt",
- "DOMAINNAME" => "",
- "HWADDRESS" => "",
- "IPADDRESS" => "",
- "DHCPCONT" => "",
- "FIXADD" => "",
- "DESC" => "",
- "RBSCONT" => ""));
-
-$attributes = array("dn","hostname","domainname","hwaddress","ipaddress","description","dhcphlpcont","dhcpoptfixed-address","hlprbservice","dhcpoptnext-server");
-$host_array = get_hosts($auDN,$attributes,$sort);
-#print_r($host_array);
-
-if ($sort == "ipaddress"){
- $host_array = array_natsort($host_array, "ipaddress", "ipaddress");
-}
-
-$template->define_dynamic("Rechner", "Webseite");
-
-$i = 0;
-foreach ($host_array as $host){
-
- $hostname = "";
- $hostip = explode('_',$host['ipaddress']);
-
- $dhcpcont = "";
- $dhcpfixadd = "-";
- if ( count($host['dhcphlpcont']) != 0 ){
- $dhcpexpdn = ldap_explode_dn($host['dhcphlpcont'],1);
- $dhcpcn = $dhcpexpdn[0];
- #$ocarray = get_node_data($host['dhcphlpcont'],array("objectclass","dhcphlpcont"));
- #$sub = array_search('dhcpSubnet', $ocarray['objectclass']);
- #if ($sub !== false ){
- # $dhcpcont = "Subnet ".$dhcpexpdn[0]."
[".$dhcpexpdn[2]."]";
- #}else{
- $dhcpcont = $dhcpexpdn[0]."
[".$dhcpexpdn[2]."]";
- #}
- $dhcpfixadd = "dyn";
- if ( $host['dhcpoptfixed-address'] == "ip" ){
- $dhcpfixadd = "fix";
- }
- if ( $host['dhcpoptfixed-address'] == "hostname" ){
- $dhcpfixadd = "fix (DNS)";
- }
- }
-
-
- $rbscont = "-";
- $dhcpnxtsrv = "";
- if ( count($host['hlprbservice']) != 0 ){
- $rbsexpdn = ldap_explode_dn($host['hlprbservice'],1);
- $dhcpnxtsrv = $host['dhcpoptnext-server'];
- $rbscont = $rbsexpdn[0]."
[".$dhcpnxtsrv."]";
-
-
- }
-
- $template->assign(array("DN" => $host['dn'],
- "HOSTNAME" => $hostname,
- "DOMAINNAME" => $host['domainname'],
- "HWADDRESS" => $host['hwaddress'],
- "IPADDRESS" => $hostip[0],
- "DHCPCONT" => $dhcpcont,
- "FIXADD" => $dhcpfixadd,
- "RBSCONT" => $rbscont,
- "DESC" => $host['description'],
- "AUDN" => $auDN ));
- $template->parse("RECHNER_LIST", ".Rechner");
-
- $i++;
-}
-
-###################################################################################
-
-include("computers_footer.inc.php");
-
-?>
\ No newline at end of file
--
cgit v1.2.3-55-g7522