summaryrefslogtreecommitdiffstats
path: root/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
diff options
context:
space:
mode:
authorTarik Gasmi2007-07-31 09:29:53 +0200
committerTarik Gasmi2007-07-31 09:29:53 +0200
commitc7b4e4a81d7f38c0f1f927f6804ef281c4f67dcd (patch)
tree974eb0c95d0ff2678439b161246433cde972564d /ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
parent* more work towards Debian & Ubuntu support, Debian-4.0, Ubuntu-6.10 (diff)
downloadcore-c7b4e4a81d7f38c0f1f927f6804ef281c4f67dcd.tar.gz
core-c7b4e4a81d7f38c0f1f927f6804ef281c4f67dcd.tar.xz
core-c7b4e4a81d7f38c0f1f927f6804ef281c4f67dcd.zip
Actualized LDAP SiteManagement Code - Web Interface, DHCP Generationscript
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1284 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php')
-rw-r--r--ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php b/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
index eb5d66aa..5bbe10d0 100644
--- a/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
+++ b/ldap-site-mngmt/webinterface/dhcp/dhcpsubnet_delete.php
@@ -3,9 +3,10 @@ include('../standard_header.inc.php');
$subnetDN = $_POST['dn'];
$cn = $_POST['name'];
+$mnr = $_POST['mnr'];
-$seconds = 100;
-$url = "dhcpsubnets.php?mnr=2";
+$seconds = 1;
+$url = "dhcpsubnets.php?mnr=".$mnr;
echo "
<html>
@@ -20,6 +21,7 @@ echo "
if ( $subnetDN != ""){
if( delete_dhcpsubnet($subnetDN,$cn)){
$mesg = "Subnet <b>".$cn."</b> erfolgreich gel&ouml;scht!<br><br>";
+ update_dhcpmtime();
}else{
$mesg = "Fehler beim l&ouml;schen des Subnets <b>".$cn."</b> !<br><br>";
}