summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cdd5c47)
raw | patch | inline | side by side (parent: cdd5c47)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 24 Aug 2007 12:49:37 +0000 (12:49 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 24 Aug 2007 12:49:37 +0000 (12:49 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7136 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servDNS.inc | patch | blob | history |
index 64328d938f79503138ebdf4432319bf159fe8450..d2ebb5d8e091ed5578c872220dbbdf5c763975c7 100644 (file)
}
}
+ if(isset($_GET['act']) && $_GET['act'] == "edit" && isset($_GET['id'])){
+ $id = base64_decode($_GET['id']);
+ if(isset($this->Zones[$id])){
+ $this->dialog= new servdnseditZone($this->config,$this->dn,$this->Zones[$id]);
+ }
+ }
+
/* Show dialog
*/
if($this->dialog!= NULL){
*/
$editImg = "<input type='image' src='images/edit.png' name='editZone_%s'>
<input type='image' src='images/edittrash.png' name='delZone_%s'>";
+
+ $link = "<a href='?plug=".$_GET['plug']."&act=edit&id=%s'>%s</a>";
foreach($this->Zones as $zone => $values ){
+
$ZoneList->AddEntry(array(
- array("string" => $zone),
- array("string" => _("Reverse zone")." : ".$values['ReverseZone']),
+ array("string" => sprintf($link,base64_encode($zone),$zone)),
+ array("string" => sprintf($link,base64_encode($zone),_("Reverse zone")." : ".$values['ReverseZone'])),
array("string" => _("TTL")." : ".$values['sOAttl']),
array("string" => _("Class")." : ".$values['dNSClass']),
array("string" =>str_replace("%s",base64_encode($zone),$editImg))