summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/rbs/delete_confirm.php
diff options
context:
space:
mode:
authorLars Müller2008-03-01 19:04:26 +0100
committerLars Müller2008-03-01 19:04:26 +0100
commitcd46d68991f7ae0cf319f915c5fecdd71b78ee34 (patch)
treee9a48065f3203c8e16b14f82216452810d0f53ee /ldap-site-mngmt/webinterface/rbs/delete_confirm.php
parentOptimizations, improvements ... (diff)
downloadcore-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.tar.gz
core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.tar.xz
core-cd46d68991f7ae0cf319f915c5fecdd71b78ee34.zip
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
Diffstat (limited to 'ldap-site-mngmt/webinterface/rbs/delete_confirm.php')
-rw-r--r--ldap-site-mngmt/webinterface/rbs/delete_confirm.php90
1 files changed, 0 insertions, 90 deletions
diff --git a/ldap-site-mngmt/webinterface/rbs/delete_confirm.php b/ldap-site-mngmt/webinterface/rbs/delete_confirm.php
deleted file mode 100644
index 11a04dfd..00000000
--- a/ldap-site-mngmt/webinterface/rbs/delete_confirm.php
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-include('../standard_header.inc.php');
-
-$dn = $_POST['dn'];
-$name = $_POST['name'];
-$delurl = $_POST['delurl'];
-$backurl = $_POST['backurl'];
-$successurl = $_POST['successurl'];
-
-$type = $_POST['type'];
-$pxedn = $_POST['pxedn'];
-
-echo "
-<html>
-<head>
- <title>AU Management</title>
- <link rel='stylesheet' href='../styles.css' type='text/css'>
-</head>
-<body>
-<table border='0' cellpadding='30' cellspacing='0'>
- <tr>
- <td>";
-
-
-if($type == "gbm"){
- $gbmDN = $dn;
- $attribs = array("dn");
- if(!($result = uniLdapSearch($ds, "ou=RIPM,".$suffix, "(&(objectclass=MenuEntry)(genericmenuentrydn=$gbmDN))", $attribs, "dn", "sub", 0, 0))) {
- # redirect(5, "", $ldapError, FALSE);
- echo "no search";
- die;
- }
- else{
- $result = ldapArraySauber($result);
- if (count($result) > 0){
- echo "Folgende Men&uuml; Eintr&auml;ge sind davon betroffen: <br><br>";
- foreach ($result as $item){
- $exp = ldap_explode_dn($item['dn'], 1);
- echo "Men&uuml; Eintrag <b>".$exp[0]."</b> in PXE Bootmen&uuml; <b>".$exp[1]."</b> &nbsp;&nbsp;[ Abteilung: ".$exp[4]." ]<br>";
- }
- }
- else{
- echo "Keine Men&uuml; Eintr&auml;ge davon betroffen!<br>";
- }
- }
-}
-
-if($type == "rbs"){
- $rbsDN = $dn;
- $attribs = array("dn");
- if(!($result = uniLdapSearch($ds, "ou=RIPM,".$suffix, "(&(objectclass=PXEConfig)(rbservicedn=$rbsDN))", $attribs, "dn", "sub", 0, 0))) {
- # redirect(5, "", $ldapError, FALSE);
- echo "no search";
- die;
- }
- else{
- $result = ldapArraySauber($result);
- if (count($result) > 0){
- echo "Folgende PXE Boot Men&uuml;s sind davon betroffen: <br><br>";
- foreach ($result as $item){
- $exp = ldap_explode_dn($item['dn'], 1);
- echo "PXE Boot Men&uuml; <b>".$exp[0]."</b> an Objekt <b>".$exp[1]."</b> &nbsp;&nbsp;[ Abteilung: ".$exp[3]." ]<br>";
- }
- }
- else{
- echo "Keine PXE Boot Men&uuml;s davon betroffen!<br>";
- }
- }
-}
-
- echo "<br><br>
- Wollen Sie das Objekt <b>".$name."</b> wirklich l&ouml;schen?<br><br>
- <form action='".$delurl."' method='post'>
- Falls ja:<br><br>
- <input type='hidden' name='dn' value='".$dn."'>
- <input type='hidden' name='name' value='".$name."'>
- <input type='hidden' name='successurl' value='".$successurl."'>
- <input type='hidden' name='pxedn' value='".$pxedn."'>
- <input type='Submit' name='apply' value='l&ouml;schen' class='small_loginform_button'><br><br>
- </form>
- <form action='".$backurl."' method='post'>
- Falls, nein:<br><br>
- <input type='Submit' name='apply' value='zur&uuml;ck' class='small_loginform_button'>
- </form>
- </td>
- </tr>
-</table>
-</body>
-</html>";
-?> \ No newline at end of file