Koha/koha-tmpl/intranet-tmpl/prog/en/includes/authorities.inc
Jonathan Druart 7db851ff03 Bug 13618: Remove html filters at the intranet
Signed-off-by: Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-01-29 17:54:12 +00:00

21 lines
739 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 %]" class="[% node.class %] authnode">
[% IF ( node.current_value ) %]
<span class='currentauth'>[% node.value %]</span>
[% ELSE %]
<a href="detail.pl?authid=[% node.authid %]" title="Term">[% node.value %]</a>
[% END %]
[% IF ( node.children && node.children.size > 0 ) %]
[% PROCESS showtree tree = node.children %]
[% END %]
</li>
[% END %]
</ul>
[% END %]