Last change
on this file since 121 was 117, checked in by Kris Deugau, 13 years ago |
/trunk
Add getParents (untested) and isParent (tested) subs
Add some supporting hashes for entity -> parent(entity)
relationships in the database - private to DNSDB.pm
Rename tmp_ruri to uri_self for clarity and reuse
Move uri_self munging from ##common area so that more
subs can use it
Update group tree to change the current group by clicking
the group name. Working comments need to be cleaned up
and choose-a-group dropdown removed from the menu
|
File size:
879 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.