source: branches/stable/templates/axfr.tmpl@ 779

Last change on this file since 779 was 649, checked in by Kris Deugau, 10 years ago

/branches/stable

Subtle bugfix merge! All changes from /trunk r589 through r648 merged.

File size: 2.7 KB
Line 
1<body>
2<div id="main">
3
4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
7<td align="center" valign="top">
8
9<form action="<TMPL_VAR NAME=script_self>" method="post">
10<fieldset>
11<input type="hidden" name="page" value="axfr" />
12<input type="hidden" name="doit" value="y" />
13
14<table>
15<TMPL_IF errmsg><tr><td class="errhead" colspan="2">Error: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>
16<tr class="tableheader"><td align="center" colspan="2">Import domains via AXFR</td></tr>
17<tr class="datalinelight">
18 <td>Import from host:</td>
19 <td><input name="ifrom"<TMPL_IF ifrom> value="<TMPL_VAR NAME=ifrom>"</TMPL_IF> /></td>
20</tr>
21<tr class="datalinelight">
22 <td>Import to group:</td>
23 <td>
24 <select name="group">
25 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option>
26 </TMPL_LOOP></select>
27 </td>
28</tr>
29<tr class="datalinelight">
30 <td>Rewrite SOA to group default?</td>
31 <td><input type="checkbox" name="rwsoa"<TMPL_IF rwsoa> checked="checked"</TMPL_IF> /></td>
32</tr>
33<tr class="datalinelight">
34 <td>Rewrite NS to group default?</td>
35 <td><input type="checkbox" name="rwns"<TMPL_IF rwns> checked="checked"</TMPL_IF> /></td>
36</tr>
37<tr class="datalinelight">
38 <td>Force all TTLs to new value?</td>
39 <td><input type="checkbox" name="forcettl"<TMPL_IF forcettl> checked="checked"</TMPL_IF> /><input name="newttl" size="7"<TMPL_IF newttl> value="<TMPL_VAR NAME=newttl>"</TMPL_IF> /></td>
40</tr>
41<tr class="datalinelight">
42 <td>Merge records on A+PTR or AAAA+PTR match?</td>
43 <td><input type="checkbox" name="mergematching"<TMPL_IF mergematching> checked="checked"</TMPL_IF> /></td>
44</tr>
45<tr class="datalinelight">
46 <td>Import as active?</td>
47 <td><input type="checkbox" name="domactive"<TMPL_UNLESS dominactive> checked="checked"</TMPL_UNLESS> /></td>
48</tr>
49<tr class="datalinelight">
50 <td valign="top">Domains to import:<br />(one per line)</td>
51 <td><textarea name="importdoms" rows="10" cols="45"><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>
52</tr>
53<tr class="datalinelight">
54 <td colspan="2" align="center"><input type="submit" value=" Import domains " /></td>
55</tr>
56</table>
57
58</fieldset>
59</form>
60
61<TMPL_IF axfrresults>
62<br />
63<table>
64<tr class="tableheader"><td colspan="2">AXFR Import Results</td></tr>
65<TMPL_LOOP NAME=axfrresults>
66<tr class="datalinelight">
67 <td><TMPL_VAR NAME=domain></td>
68<TMPL_IF domok> <td>Imported OK</td>
69<TMPL_ELSE><TMPL_IF domwarn> <td class="warn">Import OK but:<br />
70<TMPL_VAR NAME=domwarn></td>
71<TMPL_ELSE> <td class="err">Failed: <TMPL_VAR NAME=domerr></td>
72</TMPL_IF></TMPL_IF>
73</tr>
74</TMPL_LOOP>
75</table>
76</TMPL_IF>
77
78</td>
79</tr>
80</table>
Note: See TracBrowser for help on using the repository browser.