1 {if $dns_take_over}
2 <table summary="" width="100%">
3 <tr>
4 <td style="width:100%;vertical-align:top;">
5 <h2>{t}DNS take over initiated{/t}</h2>
6 {$warning}
7 {t}This includes 'all' DNS zones that are located within this server. Please double check if your really want to do this.{/t}
8 <p>
9 {$warning2}
10 <br>
11 <input type='submit' name='cancel_take_over' value='{t}Cancel{/t}'>
12 </p>
13 <p>
14 {t}Following objects will be taken over{/t} :
15 </p>
16 <p>
17 <pre>{$info}</pre>
18 </p>
19 </td>
20 </tr>
21 </table>
22 {else}
23 <table summary="" width="100%">
24 {if $dns_server_list_cnt}
25 <tr>
26 <td style="width:100%;vertical-align:top;">
27 <b>{t}Take over DNS configuration from{/t}</b>
28 <select name='take_over_src'>
29 {html_options options=$dns_server_list}
30 </select>
31 <input type="submit" name="take_over" value="{t}Take over{/t}">
32 </td>
33 </tr>
34 {/if}
35 <tr>
36 <td style="width:100%;vertical-align:top;">
37 <h2>{t}Zones{/t}</h2>
38 {$ZoneList}
39 {if $is_createable}
40 <input type="submit" name="AddZone" value="{t}Add{/t}">
41 {else}
42 <input type="button" value="{t}Add{/t}" disabled>
43 {/if}
44 </td>
45 </tr>
46 </table>
49 <script language="JavaScript" type="text/javascript">
50 <!-- // First input field on page
51 focus_field('AddZone');
52 -->
53 </script>
55 {/if}
56 <p class="seperator"> </p>
57 <p>
58 <div style="width:100%; text-align:right;">
59 <input type='submit' name='SaveService' value='{t}Save{/t}'>
60
61 <input type='submit' name='CancelService' value='{t}Cancel{/t}'>
62 </div>
63 </p>