source: branches/stable/templates/dnsq.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.2 KB
RevLine 
[649]1<body>
2<div id="main">
3
[30]4<table class="wholepage"><tr>
5<TMPL_INCLUDE NAME="menu.tmpl">
6
[100]7<td align="center" valign="top">
[30]8
9<TMPL_IF errmsg><div class="errmsg">Query error: <TMPL_VARNAME=errmsg></div></TMPL_IF>
10
[548]11<form action="<TMPL_VAR NAME=script_self>" method="post">
[38]12<fieldset>
13<input type="hidden" name="page" value="dnsq" />
[30]14
15<table>
[38]16<tr class="tableheader"><td align="center" colspan="2">DNS Query</td></tr>
[30]17<tr class="datalinelight">
18 <td>Host/Name:</td>
[38]19 <td><input name="qfor" value="<TMPL_VAR NAME=qfor>" /></td>
[30]20</tr>
21<tr class="datalinelight">
22 <td>Record type:</td>
23 <td>
24 <select name="type">
25 <TMPL_LOOP NAME=typelist>
[38]26 <option value="<TMPL_VAR NAME=recval>"<TMPL_IF NAME=tselect> selected="selected"</TMPL_IF>><TMPL_VAR NAME=recname></option>
[30]27 </TMPL_LOOP>
28 </select>
29 </td>
30</tr>
31<tr class="datalinelight">
[31]32 <td>Non-recursive query:</td>
[38]33 <td><input type="checkbox" name="nrecurse"<TMPL_IF nrecurse> checked="checked"</TMPL_IF> /></td>
[30]34</tr>
35<tr class="datalinelight">
[31]36 <td>Use this server:</td>
[38]37 <td><input name="resolver" value="<TMPL_VAR NAME=resolver>" /></td>
[30]38</tr>
[38]39<tr class="datalinelight"><td align="center" colspan="2"><input type="submit" value=" Query DNS " /></td></tr>
[30]40</table>
41
[38]42</fieldset>
[30]43</form>
44
[31]45<br />
[30]46<TMPL_IF NAME=showresults>
47<table width="350px">
[38]48<tr class="tableheader"><td colspan="3">Query:</td></tr>
[30]49<tr class="datalinelight">
50 <td>
51 <TMPL_VAR NAME=qfor>
52 </td>
[38]53 <td colspan="2">
[30]54 <TMPL_VAR NAME=frtype>
55 </td>
56</tr>
[38]57<tr class="tableheader"><td colspan="3">Response from <TMPL_VAR NAME=usedresolver>:</td></tr>
[30]58<TMPL_LOOP NAME=answer><tr class="datalinelight" valign="top">
59<td><TMPL_VAR NAME=host></td>
60<td><TMPL_VAR NAME=ftype></td>
61<td><TMPL_VAR NAME=rdata></td></tr>
62</TMPL_LOOP>
63<TMPL_IF authority>
[38]64<tr class="tableheader"><td colspan="3">Authority:</td></tr>
[30]65<TMPL_LOOP NAME=authority><tr class="datalinelight">
66<td><TMPL_VAR NAME=host></td>
67<td><TMPL_VAR NAME=ftype></td>
68<td><TMPL_VAR NAME=rdata></td></tr>
69</TMPL_LOOP>
70</TMPL_IF>
71<TMPL_IF additional>
[38]72<tr class="tableheader"><td colspan="3">Additional information:</td></tr>
[30]73<TMPL_LOOP NAME=additional><tr class="datalinelight">
74<td><TMPL_VAR NAME=host></td>
75<td><TMPL_VAR NAME=ftype></td>
76<td><TMPL_VAR NAME=rdata></td></tr>
77</TMPL_LOOP>
78</TMPL_IF>
79</table>
80</TMPL_IF>
81
82</td>
83</tr>
84</table>
85
Note: See TracBrowser for help on using the repository browser.