source: trunk/templates/menu.tmpl@ 837

Last change on this file since 837 was 762, checked in by Kris Deugau, 7 years ago

/trunk

Fix template bug introduced in r758; include a null webpath output slot
in the menu sidebar to make sure we don't trigger HTML::Template's
"Attempt to set nonexistent parameter" error.

File size: 2.3 KB
Line 
1<TMPL_IF 0><TMPL_VAR NAME=webpath></TMPL_IF>
2<td class="menu">
3<TMPL_VAR NAME=username> logged in<br />
4<a href="<TMPL_VAR NAME=script_self>&amp;action=logout">Log out</a>
5<hr />
6<a href="<TMPL_VAR NAME=script_self>&amp;page=domlist">Domains</a><br />
7<TMPL_IF mayrdns><a href="<TMPL_VAR NAME=script_self>&amp;page=revzones">Reverse Zones</a><br /></TMPL_IF>
8<a href="<TMPL_VAR NAME=script_self>&amp;page=useradmin">Users</a><br />
9<a href="<TMPL_VAR NAME=script_self>&amp;page=log">Log</a><br />
10<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 />
11<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>
12<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>
13<TMPL_IF mayimport><a href="<TMPL_VAR NAME=script_self>&amp;page=axfr">AXFR Import</a><br /></TMPL_IF>
14<TMPL_IF maybulk><a href="<TMPL_VAR NAME=script_self>&amp;page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF>
15<TMPL_IF maybulk><a href="<TMPL_VAR NAME=script_self>&amp;page=bulkrev">Bulk Reverse Zone Operations</a><br /></TMPL_IF>
16<br />
17<a href="<TMPL_VAR NAME=script_self>&amp;page=grpman"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</a><br />
18<hr />
19<div id="grptree">
20
21<ul class="grptree">
22 <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
23<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>
24 <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
25 <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
26<TMPL_VAR NAME=logingrp></TMPL_IF>
27<TMPL_VAR NAME=grptree>
28 </li>
29</ul>
30
31</div>
32<!-- hmm: <TMPL_VAR NAME=groupname> -->
33<hr />
34Find records(s):
35<form action="<TMPL_VAR NAME=script_self>&amp;page=recsearch" method="post">
36<input name="searchfor" />
37<input type="submit" value=" Search " />
38</form>
39<hr />
40<a href="<TMPL_VAR NAME=script_self>&amp;page=dnsq">DNS Query</a><br />
41<a href="<TMPL_VAR NAME=script_self>&amp;page=whoisq">WHOIS Query</a><br />
42
43</td>
Note: See TracBrowser for help on using the repository browser.