Code

Updated printGeneric.
[gosa.git] / plugins / admin / systems / servdns.tpl
index f9b0cb329f0bce538a2770622189d1969d2c6d6f..2475c29826a42bf2685049e2da3ba9b712881591 100644 (file)
@@ -1,10 +1,29 @@
-<h2>{t}Zones{/t}</h2>
+{if $dns_take_over}
+<table summary="" width="100%">
+    <tr>
+        <td style="width:100%;vertical-align:top;">
+            <h2>{t}DNS take over will take place when saving this entry. Choose 'Cancel' to abort.{/t}</h2>
+        </td>
+    </tr>
+</table>
+{else}
 <table summary="" width="100%">
+{if $dns_server_list_cnt}
+<tr>
+    <td style="width:100%;vertical-align:top;">
+        <b>{t}Take over DNS configuration from{/t}</b>&nbsp;
+        <select name='take_over_src'>
+            {html_options options=$dns_server_list}
+        </select>
+        <input type="submit" name="take_over" value="{t}Take over{/t}">
+    </td>
+</tr>
+{/if}
 <tr>
        <td style="width:100%;vertical-align:top;">
+<h2>{t}Zones{/t}</h2>
                {$ZoneList}
                <input type="submit" name="AddZone" value="{t}Add{/t}" {$servdnsACL}>
-<!--           <input type="submit" name="TakeOver" value="{t}Take over{/t}" {$servdnsACL}>-->
        </td>
 </tr>
 </table>
@@ -13,3 +32,4 @@
        focus_field('AddZone');
   -->
 </script>
+{/if}