Last change
on this file since 228 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
|
Line | |
---|
1 | <td class="menu">
|
---|
2 | <TMPL_VAR NAME=username> logged in<br />
|
---|
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 />
|
---|
6 | <TMPL_IF mayrdns><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=revzones">Reverse Zones</a><br /></TMPL_IF>
|
---|
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 />
|
---|
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>
|
---|
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>
|
---|
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 />
|
---|
15 | <hr />
|
---|
16 | <div id="grptree">
|
---|
17 |
|
---|
18 | <ul class="grptree">
|
---|
19 | <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
|
---|
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>
|
---|
21 | <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
|
---|
22 | <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
|
---|
23 | <TMPL_VAR NAME=logingrp></TMPL_IF>
|
---|
24 | <TMPL_VAR NAME=grptree>
|
---|
25 | </li>
|
---|
26 | </ul>
|
---|
27 |
|
---|
28 | </div>
|
---|
29 | <!-- hmm: <TMPL_VAR NAME=groupname> -->
|
---|
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 />
|
---|
33 | </td>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.