source: trunk/templates/menu.tmpl@ 49

Last change on this file since 49 was 43, checked in by Kris Deugau, 15 years ago

/trunk

Fix grouplist brokenness in menu (first entry was being set to current group

instead of login group)
-> may be a way to compress that further

Compact and generalize process of filling table headings for lists - users,

domains, groups; records should be able to use this too

File size: 1.4 KB
Line 
1<td class="menu">
2<TMPL_VAR NAME=username> logged in<br />
3<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;action=logout">Log out</a>
4<hr />
5<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=domlist">Domains</a><br />
6<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=useradmin">Users</a><br />
7<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=log">Log</a><br />
8<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=reclist&amp;id=<TMPL_VAR NAME=group>&amp;defrec=y">Default Records</a><br />
9<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=axfr">AXFR Import</a><br />
10<hr />
11Current group:
12<form action="<TMPL_VAR NAME=whereami>" method="post">
13<fieldset>
14<select name="group">
15 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option>
16 </TMPL_LOOP>
17</select>
18<input type="hidden" name="action" value="chgroup" />
19<input type="submit" value="Change group" />
20</fieldset>
21</form>
22<hr />
23<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman">Manage groups</a><br />
24<div id="grptree">
25<ul>
26<li><TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF>
27<TMPL_VAR NAME=grptree>
28</li>
29</ul>
30</div>
31<!-- hmm: <TMPL_VAR NAME=groupname> -->
32<hr />
33<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=dnsq">DNS Query</a><br />
34<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=whoisq">WHOIS Query</a><br />
35</td>
Note: See TracBrowser for help on using the repository browser.