1 [% BLOCK showhierarchy %]
2 [% FOREACH tree IN trees %]
3 [% PROCESS showtree tree = tree %]
8 [% FOREACH node IN tree %]
9 <li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
10 [% IF ( node.current_value ) %]
11 <span class='currentauth'>[% node.value | html %]</span>
13 <a href="detail.pl?authid=[% node.authid | uri %]" title="Term">[% node.value | html %]</a>
15 [% IF ( node.children && node.children.size > 0 ) %]
16 [% PROCESS showtree tree = node.children %]