diff options
author | Tarik Gasmi | 2007-07-06 12:29:06 +0200 |
---|---|---|
committer | Tarik Gasmi | 2007-07-06 12:29:06 +0200 |
commit | 493c1dd8260f24f8bfaf9271418529011b0f2a80 (patch) | |
tree | 834619232835c4786d793848a7f99882034d7bd1 /ldap-site-mngmt/webinterface/rbs/new_pxe.php | |
parent | Adjusted timings a little bit (waiting for scripts like hwautocfg to (diff) | |
download | core-493c1dd8260f24f8bfaf9271418529011b0f2a80.tar.gz core-493c1dd8260f24f8bfaf9271418529011b0f2a80.tar.xz core-493c1dd8260f24f8bfaf9271418529011b0f2a80.zip |
Actualised LDAP SiteManagement Webinterface and Perl-Config-Skripts
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1225 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/rbs/new_pxe.php')
-rw-r--r-- | ldap-site-mngmt/webinterface/rbs/new_pxe.php | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/ldap-site-mngmt/webinterface/rbs/new_pxe.php b/ldap-site-mngmt/webinterface/rbs/new_pxe.php index 9a6afba0..338f5d48 100644 --- a/ldap-site-mngmt/webinterface/rbs/new_pxe.php +++ b/ldap-site-mngmt/webinterface/rbs/new_pxe.php @@ -28,6 +28,9 @@ createRBSMenu($rollen, $mnr, $auDN, $sbmnr); ################################################################################### +$rbsDN = $_GET['rbsdn']; +$rbsdnexp = ldap_explode_dn($rbsDN, 1); + $pxecn = str_replace ( "_", " ", $_GET['pxecn']); $pxeday = str_replace ( "_", " ", $_GET['pxeday']); $pxebeg = str_replace ( "_", " ", $_GET['pxebeg']); @@ -39,7 +42,8 @@ $template->assign(array("PXECN" => $pxecn, "PXEEND" => $pxeend, "LDAPURI" => "", "FILEURI" => "", - "RBS" => "", + "RBSDN" => $rbsDN, + "RBSCN" => $rbsdnexp[0], "RBSAU" => "", "NFS" => "", "NFSROOT" => "", @@ -65,28 +69,6 @@ $template->assign(array("PXECN" => $pxecn, "MNR" => $mnr, "SBMNR" => $sbmnr)); -############################################# -# RB Dienste holen -$rbsoffers = get_rbsoffers($auDN); - -$template->assign(array("ALTRBSDN" => "", - "ALTRBSCN" => "", - "ALTRBSAU" => "")); - -if (count($rbsoffers) != 0){ -$template->define_dynamic("Altrbs", "Webseite"); - foreach ($rbsoffers as $item){ - $rbsdnexp = ldap_explode_dn($item,1); - $rbsoffcn = $rbsdnexp[0]; - $rbsoffau = $rbsdnexp[2]; - #$auexp = explode(',',$item['auDN']); - #$altrbsau = explode('=',$auexp[0]); - $template->assign(array("ALTRBSDN" => $item, - "ALTRBSCN" => $rbsoffcn, - "ALTRBSAU" => " [ Abt.: ".$rbsoffau." ]")); - $template->parse("ALTRBS_LIST", ".Altrbs"); - } -} ################################################################################### |