Code

Updated workstation - Startup
[gosa.git] / plugins / admin / systems / servDNSeditZoneEntries.tpl
index c4d81168afeb57852aed4b943a9a48103b8bac16..9c0428c29d58795aa28029bf97225bd7f7ad7290 100644 (file)
@@ -1,10 +1,15 @@
 <h2>{t}This dialog allows you to configure all components of this DNS zone on a single list.{/t}</h2>
-{t}Be careful editing record types with this dialog. All changes will be saved immediately when using the save button.{/t}
-<br>
-<br>
 <p class="seperator">&nbsp;</p>
-
-{$table}       
+{if $disableDialog}
+       <br><b>
+       {t}This dialog can't be used until the currently edited zone was saved or the zone entry exists in the ldap database.{/t}
+       </b>
+{else}
+       <br>
+       {$table}
+       <br>
+       <input type='submit' name='UserRecord' value='{t}New entry{/t}' title='{t}Create a new DNS zone entry{/t}'>
+{/if}
 
 <p class="seperator">&nbsp;</p>
 <div style="text-algin:right;" align="right">
@@ -16,7 +21,7 @@
 
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page
-  document.mainform.zoneName.focus();
+       focus_field('zoneName');
   -->
 </script>