source: trunk/templates/menu.tmpl@ 112

Last change on this file since 112 was 111, checked in by Kris Deugau, 13 years ago

/trunk

Add ACL checks to prevent contructed-URL ACL bypasses on SOA records, group
add/edit/delete, axfr import; correct logic in bulk domain ACL check

File size: 1.9 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 />
[111]9<TMPL_IF mayimport><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=axfr">AXFR Import</a><br /></TMPL_IF>
10<TMPL_IF maybulk><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF>
[38]11<hr />
[18]12Current group:
[38]13<form action="<TMPL_VAR NAME=whereami>" method="post">
14<fieldset>
[17]15<select name="group">
[38]16 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option>
[17]17 </TMPL_LOOP>
18</select>
[38]19<input type="hidden" name="action" value="chgroup" />
20<input type="submit" value="Change group" />
21</fieldset>
[20]22</form>
[38]23<hr />
24<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=grpman">Manage groups</a><br />
[43]25<div id="grptree">
[69]26
[65]27<ul class="grptree">
[69]28 <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
29<TMPL_IF name=subs> <label for="<TMPL_VAR NAME=logingrp>"><TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF></label>
[99]30 <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
[69]31 <TMPL_IF inlogingrp><b><TMPL_VAR NAME=logingrp></b><TMPL_ELSE><TMPL_VAR NAME=logingrp></TMPL_IF></TMPL_IF>
[43]32<TMPL_VAR NAME=grptree>
[69]33 </li>
[43]34</ul>
[69]35
[43]36</div>
[24]37<!-- hmm: <TMPL_VAR NAME=groupname> -->
[38]38<hr />
39<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=dnsq">DNS Query</a><br />
40<a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&amp;page=whoisq">WHOIS Query</a><br />
[2]41</td>
Note: See TracBrowser for help on using the repository browser.