source: trunk/templates/menu.tmpl@ 535

Last change on this file since 535 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
RevLine 
[2]1<td class="menu">
[30]2<TMPL_VAR NAME=username> logged in<br />
[493]3<a href="<TMPL_VAR NAME=script_self>&amp;action=logout">Log out</a>
[38]4<hr />
[493]5<a href="<TMPL_VAR NAME=script_self>&amp;page=domlist">Domains</a><br />
6<TMPL_IF mayrdns><a href="<TMPL_VAR NAME=script_self>&amp;page=revzones">Reverse Zones</a><br /></TMPL_IF>
7<a href="<TMPL_VAR NAME=script_self>&amp;page=useradmin">Users</a><br />
8<a href="<TMPL_VAR NAME=script_self>&amp;page=log">Log</a><br />
9<TMPL_IF maydefrec><a href="<TMPL_VAR NAME=script_self>&amp;page=reclist&amp;id=<TMPL_VAR NAME=group>&amp;defrec=y">Default Records</a><br />
10<TMPL_IF mayrdns><a href="<TMPL_VAR NAME=script_self>&amp;page=reclist&amp;id=<TMPL_VAR NAME=group>&amp;defrec=y&amp;revrec=y">Default Reverse Records</a><br /></TMPL_IF></TMPL_IF>
11<TMPL_IF mayloc><a href="<TMPL_VAR NAME=script_self>&amp;page=loclist&amp;id=<TMPL_VAR NAME=group>">Locations/Views</a><br /></TMPL_IF>
12<TMPL_IF mayimport><a href="<TMPL_VAR NAME=script_self>&amp;page=axfr">AXFR Import</a><br /></TMPL_IF>
13<TMPL_IF maybulk><a href="<TMPL_VAR NAME=script_self>&amp;page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF>
[214]14<br />
[493]15<a href="<TMPL_VAR NAME=script_self>&amp;page=grpman"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</a><br />
[38]16<hr />
[43]17<div id="grptree">
[69]18
[65]19<ul class="grptree">
[69]20 <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
[140]21<TMPL_IF name=subs> <label for="<TMPL_VAR NAME=logingrp>"<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF>><a href="<TMPL_VAR NAME=whereami>&amp;group=<TMPL_VAR NAME=logingrp_num>&amp;action=chgroup"><TMPL_VAR NAME=logingrp></a></label>
[99]22 <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
[117]23 <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
24<TMPL_VAR NAME=logingrp></TMPL_IF>
[43]25<TMPL_VAR NAME=grptree>
[69]26 </li>
[43]27</ul>
[69]28
[43]29</div>
[24]30<!-- hmm: <TMPL_VAR NAME=groupname> -->
[38]31<hr />
[493]32<a href="<TMPL_VAR NAME=script_self>&amp;page=dnsq">DNS Query</a><br />
33<a href="<TMPL_VAR NAME=script_self>&amp;page=whoisq">WHOIS Query</a><br />
34
[2]35</td>
Note: See TracBrowser for help on using the repository browser.