[31] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
[2] | 4 |
|
---|
[35] | 5 | <td align="center" valign="top">
|
---|
[2] | 6 |
|
---|
[31] | 7 | <form action="dns.cgi" method="POST">
|
---|
| 8 | <input type=hidden name="sid" value="<TMPL_VAR NAME=sid>">
|
---|
| 9 | <input type=hidden name="page" value="axfr">
|
---|
[32] | 10 | <input type=hidden name="doit" value="y">
|
---|
[31] | 11 |
|
---|
| 12 | <table>
|
---|
[34] | 13 | <TMPL_IF errmsg><tr><td class="errhead" colspan=2>Error: <TMPL_VARNAME=errmsg></td></tr></TMPL_IF>
|
---|
[31] | 14 | <tr class="tableheader"><td align="center" colspan=2>Import domains via AXFR</td></tr>
|
---|
| 15 | <tr class="datalinelight">
|
---|
| 16 | <td>Import from host:</td>
|
---|
| 17 | <td><input name="ifrom"<TMPL_IF ifrom> value="<TMPL_VAR NAME=ifrom>"</TMPL_IF>></td>
|
---|
| 18 | </tr>
|
---|
| 19 | <tr class="datalinelight">
|
---|
| 20 | <td>Import to group:</td>
|
---|
| 21 | <td>
|
---|
| 22 | <select name="group">
|
---|
| 23 | <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected</TMPL_IF>><TMPL_VAR NAME=groupname></option>
|
---|
| 24 | </TMPL_LOOP></select>
|
---|
| 25 | </td>
|
---|
| 26 | </tr>
|
---|
| 27 | <tr class="datalinelight">
|
---|
| 28 | <td>Rewrite SOA to group default?</td>
|
---|
| 29 | <td><input type=checkbox name="rwsoa"<TMPL_IF rwsoa> checked</TMPL_IF>></td>
|
---|
| 30 | </tr>
|
---|
| 31 | <tr class="datalinelight">
|
---|
| 32 | <td>Rewrite NS to group default?</td>
|
---|
| 33 | <td><input type=checkbox name="rwns"<TMPL_IF rwns> checked</TMPL_IF>></td>
|
---|
| 34 | </tr>
|
---|
| 35 | <tr class="datalinelight">
|
---|
[33] | 36 | <td>Import as active?</td>
|
---|
| 37 | <td><input type=checkbox name="domactive"<TMPL_UNLESS dominactive> checked</TMPL_UNLESS>></td>
|
---|
| 38 | </tr>
|
---|
| 39 | <tr class="datalinelight">
|
---|
[31] | 40 | <td valign="top">Domains to import:<br />(one per line)</td>
|
---|
| 41 | <td><textarea name="importdoms" rows=10><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>
|
---|
| 42 | </tr>
|
---|
| 43 | <tr class="datalinelight">
|
---|
| 44 | <td colspan=2 align="center"><input type=submit value=" Import domains "></td>
|
---|
| 45 | </tr>
|
---|
[2] | 46 | </table>
|
---|
| 47 |
|
---|
[31] | 48 | </form>
|
---|
[2] | 49 |
|
---|
[32] | 50 | <TMPL_IF axfrresults>
|
---|
[33] | 51 | <br />
|
---|
[32] | 52 | <table>
|
---|
| 53 | <tr class="tableheader"><td colspan=2>AXFR Import Results</td></tr>
|
---|
| 54 | <TMPL_LOOP NAME=axfrresults>
|
---|
| 55 | <tr class="datalinelight">
|
---|
[33] | 56 | <td><TMPL_VAR NAME=domain></td>
|
---|
| 57 | <TMPL_IF domok> <td>Imported OK</td>
|
---|
[35] | 58 | <TMPL_ELSE><TMPL_IF domwarn> <td class="warn">Import OK but:<br />
|
---|
| 59 | <TMPL_VAR NAME=domwarn></td>
|
---|
[33] | 60 | <TMPL_ELSE> <td class="err">Failed: <TMPL_VAR NAME=domerr></td>
|
---|
| 61 | </TMPL_IF></TMPL_IF>
|
---|
[32] | 62 | </tr>
|
---|
| 63 | </TMPL_LOOP>
|
---|
| 64 | </table>
|
---|
| 65 | </TMPL_IF>
|
---|
| 66 |
|
---|
[31] | 67 | </td>
|
---|
[2] | 68 | </tr>
|
---|
| 69 | </table>
|
---|