[2] | 1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
| 2 | <table class="wholepage"><tr>
|
---|
| 3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
| 4 |
|
---|
[39] | 5 | <td align="center" valign="top">
|
---|
| 6 |
|
---|
[151] | 7 | <TMPL_IF resultmsg>
|
---|
| 8 | <div class="result"><TMPL_VAR NAME=resultmsg></div>
|
---|
| 9 | </TMPL_IF>
|
---|
| 10 | <TMPL_IF errmsg>
|
---|
| 11 | <div class='errmsg'><TMPL_VAR NAME=errmsg></div>
|
---|
| 12 | </TMPL_IF>
|
---|
[39] | 13 |
|
---|
[140] | 14 | <TMPL_UNLESS perm_err>
|
---|
[36] | 15 | <!-- FIXME: long data in records causes record list table to overflow one or another container -->
|
---|
[2] | 16 |
|
---|
[39] | 17 | <table><tr><td>
|
---|
[38] | 18 |
|
---|
[100] | 19 | <div class="center maintitle">Records<TMPL_IF NAME=parent> in <TMPL_VAR NAME=parent></TMPL_IF></div>
|
---|
[39] | 20 |
|
---|
[2] | 21 | <TMPL_INCLUDE NAME=soadata.tmpl>
|
---|
| 22 |
|
---|
[38] | 23 | <table border="0" width="100%">
|
---|
[2] | 24 | <tr class="darkrowheader">
|
---|
[39] | 25 | <td colspan="2" align="left">
|
---|
[12] | 26 | <TMPL_INCLUDE NAME="pgcount.tmpl">
|
---|
[2] | 27 | </td>
|
---|
[39] | 28 | <td colspan="2" align="center">
|
---|
[2] | 29 | <TMPL_INCLUDE NAME="fpnla.tmpl">
|
---|
| 30 | </td>
|
---|
[39] | 31 | <td colspan="2" align="right">
|
---|
[2] | 32 | <form action="dns.cgi">
|
---|
[38] | 33 | <fieldset>
|
---|
| 34 | <input type="hidden" name="sid" value="<TMPL_VAR NAME=sid>" />
|
---|
[71] | 35 | <input type="hidden" name="page" value="reclist" />
|
---|
| 36 | <input type="hidden" name="offset" value="0" />
|
---|
| 37 | <input type="hidden" name="id" value="<TMPL_VAR NAME=id>" />
|
---|
| 38 | <input type="hidden" name="defrec" value="<TMPL_VAR NAME=defrec>" />
|
---|
[224] | 39 | <input type="hidden" name="revrec" value="<TMPL_VAR NAME=revrec>" />
|
---|
[137] | 40 | <input name="filter"<TMPL_IF filter> value="<TMPL_VAR NAME=filter>"</TMPL_IF> />
|
---|
[38] | 41 | <input type="submit" value="Filter" />
|
---|
| 42 | </fieldset>
|
---|
[2] | 43 | </form>
|
---|
| 44 | </td>
|
---|
| 45 | </tr>
|
---|
| 46 | <tr class="darkrowheader">
|
---|
[39] | 47 | <td colspan="4">Records</td>
|
---|
[224] | 48 | <TMPL_IF record_create> <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=new">Add record</a></td></TMPL_IF>
|
---|
[60] | 49 | <td align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log&id=<TMPL_VAR NAME=id><TMPL_IF logdom>&ltype=dom</TMPL_IF>">View log</a></td>
|
---|
[2] | 50 | </tr>
|
---|
| 51 |
|
---|
| 52 | </table>
|
---|
| 53 |
|
---|
[39] | 54 | <table width="100%">
|
---|
[38] | 55 | <TMPL_IF reclist>
|
---|
[2] | 56 | <tr class="darkrowheader">
|
---|
[76] | 57 | <TMPL_LOOP NAME=colheads><TMPL_IF firstcol></TMPL_IF>
|
---|
| 58 | <td><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF
|
---|
| 59 | NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR
|
---|
| 60 | NAME=sortby>&order=<TMPL_VAR NAME=order>&id=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR
|
---|
[224] | 61 | NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>"><TMPL_VAR NAME=colname></a><TMPL_IF
|
---|
| 62 | NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png"
|
---|
| 63 | /></TMPL_IF></td></TMPL_LOOP>
|
---|
[95] | 64 | <TMPL_IF record_delete> <td>Delete</td></TMPL_IF>
|
---|
[72] | 65 | </tr>
|
---|
[2] | 66 | <TMPL_LOOP NAME=reclist>
|
---|
| 67 | <tr class="row<TMPL_VAR NAME=row>">
|
---|
[224] | 68 | <TMPL_IF fwdzone>
|
---|
| 69 | <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=host></a><TMPL_ELSE><TMPL_VAR NAME=host></TMPL_IF></td>
|
---|
[38] | 70 | <td><TMPL_VAR NAME=type></td>
|
---|
| 71 | <td><TMPL_VAR NAME=val></td>
|
---|
| 72 | <td><TMPL_VAR NAME=distance></td>
|
---|
| 73 | <td><TMPL_VAR NAME=weight></td>
|
---|
| 74 | <td><TMPL_VAR NAME=port></td>
|
---|
[224] | 75 | <TMPL_ELSE>
|
---|
| 76 | <td><TMPL_IF record_edit><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=record&parentid=<TMPL_VAR NAME=id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&recact=edit&id=<TMPL_VAR NAME=record_id>"><TMPL_VAR NAME=val></a><TMPL_ELSE><TMPL_VAR NAME=val></TMPL_IF></td>
|
---|
| 77 | <td><TMPL_VAR NAME=type></td>
|
---|
| 78 | <td><TMPL_VAR NAME=host></td>
|
---|
| 79 | </TMPL_IF>
|
---|
[38] | 80 | <td><TMPL_VAR NAME=ttl></td>
|
---|
[224] | 81 | <TMPL_IF record_delete> <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delrec&id=<TMPL_VAR NAME=record_id>&defrec=<TMPL_VAR NAME=defrec>&revrec=<TMPL_VAR NAME=revrec>&parentid=<TMPL_VAR NAME=id>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td></TMPL_IF>
|
---|
[38] | 82 | </tr>
|
---|
[2] | 83 | </TMPL_LOOP>
|
---|
[38] | 84 | <TMPL_ELSE>
|
---|
| 85 | <tr><td colspan="5">No records found</td></tr>
|
---|
| 86 | </TMPL_IF>
|
---|
[39] | 87 | </table>
|
---|
[2] | 88 |
|
---|
| 89 | </td></tr></table>
|
---|
[39] | 90 | <!-- /div -->
|
---|
[140] | 91 | </TMPL_UNLESS>
|
---|
[39] | 92 |
|
---|
| 93 | </td>
|
---|
| 94 | </tr>
|
---|
| 95 | </table>
|
---|