source: trunk/templates/axfr.tmpl@ 31

Last change on this file since 31 was 31, checked in by Kris Deugau, 15 years ago

/trunk

Tweak labels and logic on DNS query page
Remove extraneous template
Remove legacy content in axfr.tmpl, replace with live content
Stub out AXFR import

File size: 1.5 KB
Line 
1<!-- <TMPL_VAR NAME=sid> -->
2<table class="wholepage"><tr>
3<TMPL_INCLUDE NAME="menu.tmpl">
4
5<td align="center">
6
7<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
8
9<form action="dns.cgi" method="POST">
10<input type=hidden name="sid" value="<TMPL_VAR NAME=sid>">
11<input type=hidden name="page" value="axfr">
12
13<table>
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">
36 <td valign="top">Domains to import:<br />(one per line)</td>
37 <td><textarea name="importdoms" rows=10><TMPL_IF importdoms><TMPL_VAR NAME=importdoms></TMPL_IF></textarea></td>
38</tr>
39<tr class="datalinelight">
40 <td colspan=2 align="center"><input type=submit value=" Import domains "></td>
41</tr>
42</table>
43
44</form>
45
46</td>
47</tr>
48</table>
Note: See TracBrowser for help on using the repository browser.