summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a70708)
raw | patch | inline | side by side (parent: 1a70708)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Mar 2006 08:38:49 +0000 (08:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Mar 2006 08:38:49 +0000 (08:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2842 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDNS.inc | patch | blob | history |
index a876012c44dc99e782d5cc963aa125498dc8c839..fb0cd32417a96bc29fa8a7cb60d51f424adf829c 100644 (file)
$tmp = base64_decode(preg_replace("/_.*$/","",$tmp));
$zones = $this->getUsedZoneNames();
- $rev = $this->Zones[$tmp]['ReverseZone'];
+
+ if(isset($this->Zones[$tmp]['InitialreverseZone'])){
+ $rev = $this->FlipIp($this->Zones[$tmp]['InitialreverseZone']);
+ }else{
+ $rev = $this->FlipIp($this->Zones[$tmp]['ReverseZone']);
+ }
+
+ if(isset($this->Zones[$tmp]['InitialzoneName'])){
+ $tmp= $this->Zones[$tmp]['InitialzoneName'];
+ }
+
$res = array_merge(($zones[$tmp]),($zones[$rev.".in-addr.arpa"]));
if(count($res)){
if(count($res)> 2) $str .=" ... ";
print_red(sprintf(_("Can't delete the selected zone, because it is still in use by these entry/entries '%s'"),trim($str)));
}else{
- unset($this->Zones[$tmp]);
+// unset($this->Zones[$tmp]);
}
}
}