Last change
on this file since 582 was 493, checked in by Kris Deugau, 12 years ago |
/trunk
Overhaul session handling; pure URL-based sessions are subject to
copy-paste session-stealing. Convert to cookie-based session tracking
instead. This also provides bonuses in terms of inlinks from other
utilities or copy-paste links.
While session-handling was in pieces, add "pick-up-where-I-left-off"
login handling so that logins don't always end up only on the initial
domain list. This is especially handy for copy-paste links.
Also clean up some of the docucomments, use the CGI::Simple object to
do 302 redirects, and bring the revzone default sort field setup into
line with other thing-lists.
|
File size:
2.0 KB
|
Line | |
---|
1 | <td class="menu">
|
---|
2 | <TMPL_VAR NAME=username> logged in<br />
|
---|
3 | <a href="<TMPL_VAR NAME=script_self>&action=logout">Log out</a>
|
---|
4 | <hr />
|
---|
5 | <a href="<TMPL_VAR NAME=script_self>&page=domlist">Domains</a><br />
|
---|
6 | <TMPL_IF mayrdns><a href="<TMPL_VAR NAME=script_self>&page=revzones">Reverse Zones</a><br /></TMPL_IF>
|
---|
7 | <a href="<TMPL_VAR NAME=script_self>&page=useradmin">Users</a><br />
|
---|
8 | <a href="<TMPL_VAR NAME=script_self>&page=log">Log</a><br />
|
---|
9 | <TMPL_IF maydefrec><a href="<TMPL_VAR NAME=script_self>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br />
|
---|
10 | <TMPL_IF mayrdns><a href="<TMPL_VAR NAME=script_self>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y&revrec=y">Default Reverse Records</a><br /></TMPL_IF></TMPL_IF>
|
---|
11 | <TMPL_IF mayloc><a href="<TMPL_VAR NAME=script_self>&page=loclist&id=<TMPL_VAR NAME=group>">Locations/Views</a><br /></TMPL_IF>
|
---|
12 | <TMPL_IF mayimport><a href="<TMPL_VAR NAME=script_self>&page=axfr">AXFR Import</a><br /></TMPL_IF>
|
---|
13 | <TMPL_IF maybulk><a href="<TMPL_VAR NAME=script_self>&page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF>
|
---|
14 | <br />
|
---|
15 | <a href="<TMPL_VAR NAME=script_self>&page=grpman"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</a><br />
|
---|
16 | <hr />
|
---|
17 | <div id="grptree">
|
---|
18 |
|
---|
19 | <ul class="grptree">
|
---|
20 | <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
|
---|
21 | <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>
|
---|
22 | <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
|
---|
23 | <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
|
---|
24 | <TMPL_VAR NAME=logingrp></TMPL_IF>
|
---|
25 | <TMPL_VAR NAME=grptree>
|
---|
26 | </li>
|
---|
27 | </ul>
|
---|
28 |
|
---|
29 | </div>
|
---|
30 | <!-- hmm: <TMPL_VAR NAME=groupname> -->
|
---|
31 | <hr />
|
---|
32 | <a href="<TMPL_VAR NAME=script_self>&page=dnsq">DNS Query</a><br />
|
---|
33 | <a href="<TMPL_VAR NAME=script_self>&page=whoisq">WHOIS Query</a><br />
|
---|
34 |
|
---|
35 | </td>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.