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

Last change on this file since 552 was 548, checked in by Kris Deugau, 11 years ago

/branches/stable

Merge reverse DNS work and object conversion from /trunk, part 5

Includes changes through r543 with a few more minor conflicts.

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