1 [% BLOCK showhierarchy %]
2 [% FOREACH tree IN trees %]
3 [% PROCESS showtree tree = tree marc = marc %]
9 [% FOREACH node IN tree %]
10 <li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
11 [% IF ( node.current_value ) %]
12 <span class="currentauth">[% node.value | html %]</span>
14 <a href="opac-authoritiesdetail.pl?authid=[% node.authid | uri %]&marc=[% marc | uri %]" title="Term">[% node.value | html %]</a>
16 [% IF ( node.children && node.children.size > 0 ) %]
17 [% PROCESS showtree tree = node.children marc = marc %]
24 [% BLOCK authtypelabel %]
25 [% UNLESS ( type=='seefrom' || type=='seealso' || type=='' ) %]
26 <span class="type">[% FILTER trim %][% SWITCH type %]
27 [% CASE 'earlier' %]<span>Earlier heading</span>
28 [% CASE 'later' %]<span>Later heading</span>
29 [% CASE 'acronym' %]<span>Acronym</span>
30 [% CASE 'musical' %]<span>Musical composition</span>
31 [% CASE 'broader' %]<span>Broader heading</span>
32 [% CASE 'narrower' %]<span>Narrower heading</span>
33 [% CASE %]<span>[% type | html %]</span>
34 [% END %][% END %]</span>
38 [% BLOCK otherscript %]
39 [% FOREACH heading IN headings %]
40 [% IF heading.category == wantcategory %]
41 [% IF heading.direction == 'ltr' %]
42 <div class="heading otherscript [% heading.category | html %]">
43 <span class="[% heading.category | html %]">[% heading.term | html %]</span>
45 [% ELSIF heading.direction == 'rtl' %]
46 <div class="heading otherscript [% heading.category | html %] rtl">
47 <span class="[% heading.category | html %]">[% heading.term | html %]</span>
54 [% BLOCK authheadingdisplay %]
55 [% IF authid %]<a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid | uri %]">[% heading | html %]</a>
56 [% ELSIF search %]<a href="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_or=and&orderby=HeadingAsc&value=[% search | uri %]">[% heading | html %]</a>
57 [% ELSE %][% heading | html %]
63 [% CASE ['en', 'eng'] %]<span>English</span>
64 [% CASE ['fr', 'fre'] %]<span>French</span>
65 [% CASE ['it', 'ita'] %]<span>Italian</span>
66 [% CASE ['de', 'ger', 'deu'] %]<span>German</span>
67 [% CASE ['es', 'spa'] %]<span>Spanish</span>
68 [% CASE %]<span>[% lang | html %]</span>