1 [% BLOCK showhierarchy %]
2 [% FOREACH tree IN trees %]
3 [% PROCESS showtree tree = tree %]
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 | html %]" title="Term">[% node.value | html %]</a>
16 [% IF ( node.children && node.children.size > 0 ) %]
17 [% PROCESS showtree tree = node.children %]
24 [% BLOCK authtypelabel %]
25 [% UNLESS ( type=='seefrom' || type=='seealso' || type=='' ) %]
26 <span class="type">[% FILTER trim %][% SWITCH type %]
27 [% CASE 'earlier' %]Earlier heading
28 [% CASE 'later' %]Later heading
29 [% CASE 'acronym' %]Acronym
30 [% CASE 'musical' %]Musical composition
31 [% CASE 'broader' %]Broader heading
32 [% CASE 'narrower' %]Narrower heading
33 [% CASE %][% type | html %]
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 | html %]">[% 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 | html %]">[% heading | html %]</a>
57 [% ELSE %][% heading | html %]
63 [% CASE ['en', 'eng'] %]English
64 [% CASE ['fr', 'fre'] %]French
65 [% CASE ['it', 'ita'] %]Italian
66 [% CASE ['de', 'ger', 'deu'] %]German
67 [% CASE ['es', 'spa'] %]Spanish
68 [% CASE %][% lang | html %]