index 7cd08b7d945285fcd47264cd33c4aaa50d54a4fb..2475c29826a42bf2685049e2da3ba9b712881591 100644 (file)
-<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%">
<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>
+ <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;">
<tr>
<td style="width:100%;vertical-align:top;">
+<h2>{t}Zones{/t}</h2>
{$ZoneList}
<input type="submit" name="AddZone" value="{t}Add{/t}" {$servdnsACL}>
{$ZoneList}
<input type="submit" name="AddZone" value="{t}Add{/t}" {$servdnsACL}>
- <input type="submit" name="EditZone" value="{t}Edit{/t}" {$servdnsACL}>
- <input type="submit" name="RemoveZone" value="{t}Remove{/t}" {$servdnsACL}>
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.AddZone.focus();
+ focus_field('AddZone');
-->
</script>
-->
</script>
+{/if}