Last change
on this file since 448 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:
895 bytes
|
Line | |
---|
1 | <TMPL_VAR NAME=indent><ul class="grptree">
|
---|
2 | <TMPL_LOOP NAME=treelvl><TMPL_VAR NAME=indent> <li class="<TMPL_IF NAME=subs>hassub<TMPL_ELSE>leaf</TMPL_IF>">
|
---|
3 | <TMPL_IF name=subs><TMPL_VAR NAME=indent> <label for="grp_<TMPL_VAR NAME=grpname>"<TMPL_IF curgrp> class="curgrp"</TMPL_IF>><a href="<TMPL_VAR NAME=whereami>&group=<TMPL_VAR NAME=grpnum>&action=chgroup"><TMPL_VAR NAME=grpname></a></label>
|
---|
4 | <TMPL_VAR NAME=indent> <input type="checkbox" class="grptreebox" <TMPL_IF expanded> checked="checked" </TMPL_IF>id="grp_<TMPL_VAR NAME=grpname>" /><TMPL_ELSE><TMPL_VAR NAME=indent> <a href="<TMPL_VAR NAME=whereami>&group=<TMPL_VAR NAME=grpnum>&action=chgroup"><TMPL_IF curgrp><span class="curgrp"><TMPL_VAR NAME=grpname></span><TMPL_ELSE><TMPL_VAR NAME=grpname></TMPL_IF></a></TMPL_IF>
|
---|
5 | <TMPL_VAR NAME=subs><TMPL_VAR NAME=indent> </li>
|
---|
6 | </TMPL_LOOP><TMPL_VAR NAME=indent></ul>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.