summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a37fe6)
raw | patch | inline | side by side (parent: 8a37fe6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Mar 2010 10:13:21 +0000 (10:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Mar 2010 10:13:21 +0000 (10:13 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16983 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/dns/admin/systems/services/dns/class_servDNSeditZoneEntries.inc | patch | blob | history | |
gosa-plugins/dns/admin/systems/services/dns/servDNSeditZoneEntries.tpl | patch | blob | history |
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 0a89013f6de2b2d1a49f69bfe5d9bc18aec6687a..999e69861a43bae205102f7696a33adaa38c4db5 100644 (file)
if(count($tmp2) != 2) continue;
- $Name = base64_decode($tmp2[0]);
+ $Name = postDecode($tmp2[0]);
$RecordID = $tmp2[1];
/* Add new REcord
/* Possible attributes posted
*/
- print_a($_POST);
foreach($_POST as $name => $value){
/* Extract informations out of post name
if(count($tmp2) != 2) continue;
- $Name = base64_decode($tmp2[0]);
+ $Name = postDecode($tmp2[0]);
$RecordID = $tmp2[1];
if(count($tmp2) != 2) continue;
- $Name = base64_decode($tmp2[0]);
+ $Name = postDecode($tmp2[0]);
$RecordID = $tmp2[1];
/* Host renamed
/* 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 800d9b382180d1c3783f710ea53e706b4f9dd4b4..916d81d13798bfc4235d0d9fd0f8f797bd924c58 100644 (file)
-<h3>{t}This dialog allows you to configure all components of this DNS zone on a single list.{/t}
-</h3>
+<h3>{t}This dialog allows you to configure all components of this DNS zone on a single list.{/t}</h3>
<hr>
{if $disableDialog}
{/if}
<hr>
-<div style="text-algin:right;" align="right">
- <p>
+
+<div class="plugin-actions">
{render acl=$acl}
- <button type='submit' name='SaveZoneEntryChanges'>
- {msgPool type=saveButton}</button>
+ <button type='submit' name='SaveZoneEntryChanges'>{msgPool type=saveButton}</button>
{/render}
- <button type='submit' name='CancelZoneEntryChanges'>
- {msgPool type=cancelButton}</button>
- </p>
+ <button type='submit' name='CancelZoneEntryChanges'>{msgPool type=cancelButton}</button>
</div>
-<script language="JavaScript" type="text/javascript"><!-- // First input field on page focus_field('zoneName'); --></script>
\ No newline at end of file
+<script language="JavaScript" type="text/javascript">
+ <!-- // First input field on page
+ focus_field('zoneName'); -->
+</script>