Last change
on this file since 169 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
|
Rev | Line | |
---|
[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>&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 />
|
---|
[140] | 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>
|
---|
[111] | 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>
|
---|
[38] | 11 | <hr />
|
---|
[140] | 12 | <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman"><TMPL_IF chggrps>Manage<TMPL_ELSE>View</TMPL_IF> groups</a><br />
|
---|
[43] | 13 | <div id="grptree">
|
---|
[69] | 14 |
|
---|
[65] | 15 | <ul class="grptree">
|
---|
[69] | 16 | <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
|
---|
[140] | 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>
|
---|
[99] | 18 | <input type="checkbox" checked="checked" id="<TMPL_VAR NAME=logingrp>" /><TMPL_ELSE>
|
---|
[117] | 19 | <!-- span<TMPL_IF inlogingrp> class="curgrp"</TMPL_IF> -->
|
---|
| 20 | <TMPL_VAR NAME=logingrp></TMPL_IF>
|
---|
[43] | 21 | <TMPL_VAR NAME=grptree>
|
---|
[69] | 22 | </li>
|
---|
[43] | 23 | </ul>
|
---|
[69] | 24 |
|
---|
[43] | 25 | </div>
|
---|
[24] | 26 | <!-- hmm: <TMPL_VAR NAME=groupname> -->
|
---|
[38] | 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 />
|
---|
[2] | 30 | </td>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.