diff options
| author | Lars Müller | 2008-03-01 19:04:26 +0100 |
|---|---|---|
| committer | Lars Müller | 2008-03-01 19:04:26 +0100 |
| commit | cd46d68991f7ae0cf319f915c5fecdd71b78ee34 (patch) | |
| tree | e9a48065f3203c8e16b14f82216452810d0f53ee /ldap-site-mngmt/webinterface/rbs/delete_confirm.php | |
| parent | Optimizations, improvements ... (diff) | |
| download | core-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.php | 90 |
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ü Einträge sind davon betroffen: <br><br>"; - foreach ($result as $item){ - $exp = ldap_explode_dn($item['dn'], 1); - echo "Menü Eintrag <b>".$exp[0]."</b> in PXE Bootmenü <b>".$exp[1]."</b> [ Abteilung: ".$exp[4]." ]<br>"; - } - } - else{ - echo "Keine Menü Einträ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üs sind davon betroffen: <br><br>"; - foreach ($result as $item){ - $exp = ldap_explode_dn($item['dn'], 1); - echo "PXE Boot Menü <b>".$exp[0]."</b> an Objekt <b>".$exp[1]."</b> [ Abteilung: ".$exp[3]." ]<br>"; - } - } - else{ - echo "Keine PXE Boot Menüs davon betroffen!<br>"; - } - } -} - - echo "<br><br> - Wollen Sie das Objekt <b>".$name."</b> wirklich lö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öschen' class='small_loginform_button'><br><br> - </form> - <form action='".$backurl."' method='post'> - Falls, nein:<br><br> - <input type='Submit' name='apply' value='zurück' class='small_loginform_button'> - </form> - </td> - </tr> -</table> -</body> -</html>"; -?>
\ No newline at end of file |
