Last change
on this file since 157 was 140, checked in by Kris Deugau, 13 years ago |
/trunk
ACL fixups:
- Default Records are only viewable by an admin
- Remove links for group operations user is not permitted to
access, also rename "Manage groups" to "View groups" if the
user does not have any of group add/edit/delete permissions
Lightly tweak error message handling for group operations to
more easily overload it for different errors
TODO note and fixme notes about deleting groups with stuff
still in them
|
File size:
1.6 KB
|
Line | |
---|
1 | <td class="menu">
|
---|
2 | <TMPL_VAR NAME=username> logged in<br />
|
---|
3 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&action=logout">Log out</a>
|
---|
4 | <hr />
|
---|
5 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=domlist">Domains</a><br />
|
---|
6 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=useradmin">Users</a><br />
|
---|
7 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=log">Log</a><br />
|
---|
8 | <TMPL_IF maydefrec><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=reclist&id=<TMPL_VAR NAME=group>&defrec=y">Default Records</a><br /></TMPL_IF>
|
---|
9 | <TMPL_IF mayimport><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=axfr">AXFR Import</a><br /></TMPL_IF>
|
---|
10 | <TMPL_IF maybulk><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF>
|
---|
11 | <hr />
|
---|
12 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</a><br />
|
---|
13 | <div id="grptree">
|
---|
14 |
|
---|
15 | <ul class="grptree">
|
---|
16 | <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
|
---|
17 | <TMPL_IF name=subs> <label for="<TMPL_VAR NAME=logingrp>"<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF>><a href="<TMPL_VAR NAME=whereami>&group=<TMPL_VAR NAME=logingrp_num>&action=chgroup"><TMPL_VAR NAME=logingrp></a></label>
|
---|
18 | <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
|
---|
19 | <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
|
---|
20 | <TMPL_VAR NAME=logingrp></TMPL_IF>
|
---|
21 | <TMPL_VAR NAME=grptree>
|
---|
22 | </li>
|
---|
23 | </ul>
|
---|
24 |
|
---|
25 | </div>
|
---|
26 | <!-- hmm: <TMPL_VAR NAME=groupname> -->
|
---|
27 | <hr />
|
---|
28 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=dnsq">DNS Query</a><br />
|
---|
29 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=whoisq">WHOIS Query</a><br />
|
---|
30 | </td>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.