From 8b34a655f1decd1dc48989df8a65d9f242bd1039 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 19 May 2006 10:54:53 +0000 Subject: [PATCH] Fixed layout git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3460 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDNSeditZoneEntries.inc | 10 ++++------ plugins/admin/systems/servDNSeditZoneEntries.tpl | 6 +++--- plugins/admin/systems/servdnseditzone.tpl | 4 ++-- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/plugins/admin/systems/class_servDNSeditZoneEntries.inc b/plugins/admin/systems/class_servDNSeditZoneEntries.inc index fc4d86ff8..e6dfc96dd 100644 --- a/plugins/admin/systems/class_servDNSeditZoneEntries.inc +++ b/plugins/admin/systems/class_servDNSeditZoneEntries.inc @@ -350,7 +350,7 @@ class servDNSeditZoneEntries extends plugin /* Set title */ - $str = "

".sprintf(_("Settings for '%s'"),$objKey)." :

"; + $str= "
"; $hostNameOnce = true; @@ -363,22 +363,20 @@ class servDNSeditZoneEntries extends plugin */ $name = base64_encode($objKey)."|".$id; - $str .= "\n"; + $str .= "\n"; /* Only first host entry name should be editable */ if($hostNameOnce){ $hostNameOnce = false; $str .="\n"; - }else{ - $str .=$objectName; - } + } /* Create rest. Selectbox, icons ... */ $str .=" - + ".$this->createRecordTypeSelection($record['type'],$name)." diff --git a/plugins/admin/systems/servDNSeditZoneEntries.tpl b/plugins/admin/systems/servDNSeditZoneEntries.tpl index 7211fb32a..0efdd7bd4 100644 --- a/plugins/admin/systems/servDNSeditZoneEntries.tpl +++ b/plugins/admin/systems/servDNSeditZoneEntries.tpl @@ -8,10 +8,10 @@ {t}This dialog can't be used until the currently edited zone was saved or the zone entry exists in the ldap database.{/t} {else} - {t}To add a new host entry just click here{/t} -
- {$table} + {$table} +
+ {/if}

 

diff --git a/plugins/admin/systems/servdnseditzone.tpl b/plugins/admin/systems/servdnseditzone.tpl index 44d5ef556..a5ba9dc66 100644 --- a/plugins/admin/systems/servdnseditzone.tpl +++ b/plugins/admin/systems/servdnseditzone.tpl @@ -21,7 +21,7 @@
- {t}Zone entries{/t} + {t}Zone records{/t}
{if $AllowZoneEdit == false} {t}Can't be edited because the zone wasn't saved right now.{/t} @@ -109,7 +109,7 @@
-

{t}Zone records{/t}

+

{t}Global zone records{/t}

{$records}
-- 2.30.2