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