From b75734e5e916faebba09ce384438e28100aa5362 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 22 Mar 2010 10:13:21 +0000 Subject: [PATCH] Updated template git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16983 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dns/class_servDNSeditZoneEntries.inc | 9 ++++----- .../services/dns/servDNSeditZoneEntries.tpl | 19 +++++++++---------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc b/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc index 0a89013f6..999e69861 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc +++ b/gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc @@ -108,7 +108,7 @@ class servDNSeditZoneEntries extends plugin if(count($tmp2) != 2) continue; - $Name = base64_decode($tmp2[0]); + $Name = postDecode($tmp2[0]); $RecordID = $tmp2[1]; /* Add new REcord @@ -142,7 +142,6 @@ class servDNSeditZoneEntries extends plugin /* Possible attributes posted */ - print_a($_POST); foreach($_POST as $name => $value){ /* Extract informations out of post name @@ -152,7 +151,7 @@ class servDNSeditZoneEntries extends plugin if(count($tmp2) != 2) continue; - $Name = base64_decode($tmp2[0]); + $Name = postDecode($tmp2[0]); $RecordID = $tmp2[1]; @@ -210,7 +209,7 @@ class servDNSeditZoneEntries extends plugin if(count($tmp2) != 2) continue; - $Name = base64_decode($tmp2[0]); + $Name = postDecode($tmp2[0]); $RecordID = $tmp2[1]; /* Host renamed @@ -441,7 +440,7 @@ class servDNSeditZoneEntries extends plugin /* Create unique post name */ - $name = base64_encode($objKey)."|".$id; + $name = postEncode($objKey)."|".$id; /* Only first host entry name should be editable */ diff --git a/gosa-plugins/dns/admin/systems/services/dns/servDNSeditZoneEntries.tpl b/gosa-plugins/dns/admin/systems/services/dns/servDNSeditZoneEntries.tpl index 800d9b382..916d81d13 100644 --- a/gosa-plugins/dns/admin/systems/services/dns/servDNSeditZoneEntries.tpl +++ b/gosa-plugins/dns/admin/systems/services/dns/servDNSeditZoneEntries.tpl @@ -1,6 +1,5 @@ -

{t}This dialog allows you to configure all components of this DNS zone on a single list.{/t} -

+

{t}This dialog allows you to configure all components of this DNS zone on a single list.{/t}


{if $disableDialog} @@ -16,14 +15,14 @@ {/if}
-
-

+ +

{render acl=$acl} - + {/render} - -

+
- \ No newline at end of file + -- 2.30.2