summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php')
-rw-r--r--ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php b/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
deleted file mode 100644
index 28c8277b..00000000
--- a/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-include('../standard_header.inc.php');
-
-$subnetDN = $_POST['dn'];
-$cn = $_POST['name'];
-$mnr = $_POST['mnr'];
-
-$seconds = 1;
-$url = "dhcpsubnets.php?mnr=".$mnr;
-
-echo "
-<html>
-<head>
- <title>Computers Management</title>
- <link rel='stylesheet' href='../styles.css' type='text/css'>
-</head>
-<body>
-<table border='0' cellpadding='30' cellspacing='0'>
-<tr><td>";
-
-if ( $subnetDN != ""){
- if( delete_dhcpsubnet($subnetDN,$cn)){
- $mesg = "Subnet <b>".$cn."</b> erfolgreich gel&ouml;scht!<br><br>";
- update_dhcpmtime(array());
- }else{
- $mesg = "Fehler beim l&ouml;schen des Subnets <b>".$cn."</b> !<br><br>";
- }
-}
-
-$mesg .= "<br>Sie werden automatisch auf die vorherige Seite zur&uuml;ckgeleitet. <br>
- Falls nicht, klicken Sie hier <a href=".$url." style='publink'>back</a>";
-redirect($seconds, $url, $mesg, $addSessionId = TRUE);
-
-echo "</td></tr></table></body>
-</html>";
-?> \ No newline at end of file