Last change
on this file since 230 was 224, checked in by Kris Deugau, 13 years ago |
/trunk
Start adding rDNS (See #26)
- Initial SQL tabledef, default records, and record types (we'll abuse
the reserved range of DNS record types from 65280 to 65534 for some
extra custom types)
- Start passing $webvar{revrec} around similar to $webvar{defrec}
- Adjust record list page to handle reverse records. Tested on
group-default reverse records but should work fine for live zones
- Add "Reverse Zones" and "Default Reverse Records" to menu
- While we're rearranging it, add a little more paranoia on some of the SQL
|
File size:
1.9 KB
|
Rev | Line | |
---|
[2] | 1 | <td class="menu">
|
---|
[30] | 2 | <TMPL_VAR NAME=username> logged in<br />
|
---|
[38] | 3 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&action=logout">Log out</a>
|
---|
| 4 | <hr />
|
---|
| 5 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist">Domains</a><br />
|
---|
[224] | 6 | <TMPL_IF mayrdns><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=revzones">Reverse Zones</a><br /></TMPL_IF>
|
---|
[38] | 7 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin">Users</a><br />
|
---|
| 8 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log">Log</a><br />
|
---|
[224] | 9 | <TMPL_IF maydefrec><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br />
|
---|
| 10 | <TMPL_IF mayrdns><A href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y&revrec=y">Default Reverse Records</a><br /></TMPL_IF></TMPL_IF>
|
---|
[111] | 11 | <TMPL_IF mayimport><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=axfr">AXFR Import</a><br /></TMPL_IF>
|
---|
| 12 | <TMPL_IF maybulk><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF>
|
---|
[214] | 13 | <br />
|
---|
| 14 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</a><br />
|
---|
[38] | 15 | <hr />
|
---|
[43] | 16 | <div id="grptree">
|
---|
[69] | 17 |
|
---|
[65] | 18 | <ul class="grptree">
|
---|
[69] | 19 | <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
|
---|
[140] | 20 | <TMPL_IF name=subs> <label for="<TMPL_VAR NAME=logingrp>"<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF>><a href="<TMPL_VAR NAME=whereami>&group=<TMPL_VAR NAME=logingrp_num>&action=chgroup"><TMPL_VAR NAME=logingrp></a></label>
|
---|
[99] | 21 | <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
|
---|
[117] | 22 | <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
|
---|
| 23 | <TMPL_VAR NAME=logingrp></TMPL_IF>
|
---|
[43] | 24 | <TMPL_VAR NAME=grptree>
|
---|
[69] | 25 | </li>
|
---|
[43] | 26 | </ul>
|
---|
[69] | 27 |
|
---|
[43] | 28 | </div>
|
---|
[24] | 29 | <!-- hmm: <TMPL_VAR NAME=groupname> -->
|
---|
[38] | 30 | <hr />
|
---|
| 31 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=dnsq">DNS Query</a><br />
|
---|
| 32 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=whoisq">WHOIS Query</a><br />
|
---|
[2] | 33 | </td>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.