From ecc473303fbee5f5466d2477157b5fd682357003 Mon Sep 17 00:00:00 2001 From: Tarik Gasmi Date: Thu, 27 Sep 2007 14:40:23 +0000 Subject: Reorganized LSM Webinterface git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1353 95ad53e4-c205-0410-b2fa-d234c58c8868 --- .../webinterface/computers/dhcphost.php | 96 ++-------------------- 1 file changed, 7 insertions(+), 89 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 27ce686b..8a5f67fa 100644 --- a/ldap-site-mngmt/webinterface/computers/dhcphost.php +++ b/ldap-site-mngmt/webinterface/computers/dhcphost.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 = "dhcphost.dwt"; -include("../class.FastTemplate.php"); - include('computers_header.inc.php'); +$mnr = 1; +$sbmnr = -1; +$mcnr = -1; + ################################################################################### $sbmnr = $_GET['sbmnr']; @@ -55,7 +50,7 @@ if ($dhcphlpcont == ""){ # DHCP Selectbox $altdhcp = alternative_dhcpobjects($objecttype,$objectDN,$hostip[0]); $dhcp_selectbox .= " - "; if (count($altdhcp) != 0){ foreach ($altdhcp as $item){ @@ -101,7 +96,7 @@ if ($dhcphlpcont == ""){ # DHCP Selectbox $altdhcp = alternative_dhcpobjects($objecttype,$objectDN,$hostip[0]); $dhcp_selectbox .= " - "; if (count($altdhcp) != 0){ foreach ($altdhcp as $item){ @@ -183,86 +178,9 @@ $template->assign(array("HOSTDN" => $hostDN, "SBMNR" => $sbmnr)); -########################################################## -# DHCP Setup - -/*$dhcp_selectbox = ""; -$altdhcp = alternative_dhcpobjects($objecttype,$objectDN,$hostip[0]); -echo "

";print_r($altdhcp); - -$dhcp_selectbox .= " - ";*/ - -########################################################### -# RBS Setup - -/*$altrbs = alternative_rbservices($rbsDN); -#print_r($altrbs); echo "

"; -$template->assign(array("ALTRBSDN" => "", - "ALTRBSCN" => "", - "ALTRBSAU" => "")); -if (count($altrbs) != 0){ -$template->define_dynamic("Altrbs", "Webseite"); - foreach ($altrbs as $item){ - $template->assign(array("ALTRBSDN" => $item['dn'], - "ALTRBSCN" => $item['cn'], - "ALTRBSAU" => $item['au'],)); - $template->parse("ALTRBS_LIST", ".Altrbs"); - } -}*/ - ################################################################################### include("computers_footer.inc.php"); - - -/* - - DHCP Option hardware ethernet:   - {HWADDRESS}   - - - - DHCP Option fixed-address:   - {IPADDRESS}   - - - - - - - - TFTP Server
DHCP Option next-server:
  - {NEXTSERVER}   - - - - PXE initiale Bootdatei
DHCP Option filename:
  - {FILENAME}   - - - - - */ ?> \ No newline at end of file -- cgit v1.2.3-55-g7522