Jonathan Druart
5825026448
This patch has been generated with the script provided on bug 21576. It only affects variable used in the href attribute of a link *when* href it the first attribute of the node (grep "a href") Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
21 lines
773 B
HTML
21 lines
773 B
HTML
[% BLOCK showhierarchy %]
|
|
[% FOREACH tree IN trees %]
|
|
[% PROCESS showtree tree = tree %]
|
|
[% END %]
|
|
[% END %]
|
|
[% BLOCK showtree %]
|
|
<ul class="hierarchy">
|
|
[% FOREACH node IN tree %]
|
|
<li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
|
|
[% IF ( node.current_value ) %]
|
|
<span class='currentauth'>[% node.value | html %]</span>
|
|
[% ELSE %]
|
|
<a href="detail.pl?authid=[% node.authid | uri %]" title="Term">[% node.value | html %]</a>
|
|
[% END %]
|
|
[% IF ( node.children && node.children.size > 0 ) %]
|
|
[% PROCESS showtree tree = node.children %]
|
|
[% END %]
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
[% END %]
|