source: trunk/templates/menu.tmpl@ 44

Last change on this file since 44 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
RevLine 
[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>&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 />
[18]11Current group:
[38]12<form action="<TMPL_VAR NAME=whereami>" method="post">
13<fieldset>
[17]14<select name="group">
[38]15 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option>
[17]16 </TMPL_LOOP>
17</select>
[38]18<input type="hidden" name="action" value="chgroup" />
19<input type="submit" value="Change group" />
20</fieldset>
[20]21</form>
[38]22<hr />
23<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman">Manage groups</a><br />
[43]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>
[24]31<!-- hmm: <TMPL_VAR NAME=groupname> -->
[38]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 />
[2]35</td>
Note: See TracBrowser for help on using the repository browser.