1 [% BLOCK authtypelabel %]
2 [% UNLESS ( type=='seefrom' || type=='seealso' || type=='' ) %]
3 <span class="type">[% FILTER trim %][% SWITCH type %]
4 [% CASE 'earlier' %]Earlier heading
5 [% CASE 'later' %]Later heading
6 [% CASE 'acronym' %]Acronym
7 [% CASE 'musical' %]Musical composition
8 [% CASE 'broader' %]Broader heading
9 [% CASE 'narrower' %]Narrower heading
11 [% END %][% END %]</span>
14 [% BLOCK otherscript %]
15 [% FOREACH heading IN headings %]
16 [% IF heading.category == wantcategory %]
17 [% IF heading.direction == 'ltr' %]
18 <div class="heading otherscript [% heading.category %]">
19 <span class="[% heading.category %]">[% heading.term %]</span>
21 [% ELSIF heading.direction == 'rtl' %]
22 <div class="heading otherscript [% heading.category %] rtl">
23 <span class="[% heading.category %]">[% heading.term %]</span>
29 [% BLOCK authheadingdisplay %]
30 [% IF authid %]<a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">[% heading %]</a>
31 [% ELSIF search %]<a href="/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&marclist=mainentry&and_ora=and&orderby=HeadingAsc&value=[% search %]">[% heading %]</a>
32 [% ELSE %][% heading %]
35 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Entry
36 [% INCLUDE 'doc-head-close.inc' %]
37 [% IF ( displayhierarchy ) %]
38 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/hierarchy.css">
40 <script language="JavaScript" type="text/javascript">
41 $(document).ready(function() {
42 $('#authdescriptions').tabs();
45 [% IF ( displayhierarchy ) %]
46 function showParents(mynumber) {
47 var parents=document.getElementsByName(mynumber+'p')
48 for(i=0;i<parents.length;i++){
49 if (parents[i].style.display == "none") {
50 parents[i].style.display ="block";
52 parents[i].style.display ="none";
56 function showChildren(mynumber) {
57 var children=document.getElementsByName(mynumber+'c')
58 for(i=0;i<children.length;i++){
59 if (children[i].style.display == "none") {
60 children[i].style.display = "block";
62 children[i].style.display = "none";
69 <body id="opac-authoritiesdetail">
71 <div id="doc3" class="yui-t7">
73 [% INCLUDE 'masthead.inc' %]
75 <div class="yui-b"><div class="yui-g">
77 <div id="views"><span class="view"><span id="Normalview">Normal view</span></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">MARC view</a></span></div>
79 <div id="userauthdetails" class="container">
81 [% IF ( displayhierarchy ) %]
83 <div class="hierarchies">
84 [% FOREACH loophierarchie IN loophierarchies %]
85 <div class="hierarchy">
86 [% FOREACH loopelemen IN loophierarchie.loopelement %]
87 <div id="[% loopelemen.loopauthid %]" class="[% loopelemen.class %]">
88 [% IF ( loopelemen.current_value ) %]
89 [% loopelemen.value %]
91 <a href="opac-authoritiesdetail.pl?authid=[% loopelemen.loopauthid %]" title="Term">[% loopelemen.value %]</a>
93 [% IF ( loopelemen.ifchildren ) %]
94 <sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('[% loopelemen.loopauthid %]');">+</a></sub><br/>
95 [% FOREACH loopchildre IN loopelemen.loopchildren %]
96 <div name="[% loopchildre.loopauthid %]c" class="child"> <a href="opac-authoritiesdetail.pl?authid=[% loopchildre.childauthid %]">[% loopchildre.childvalue %]</a></div>
106 <h1>[% summary.mainentry %][% IF authtypetext %]([% authtypetext %])[% END %]</h1>
107 <div class="usedin">Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% count %] records</a></div>
108 <div class="authstanza">
109 [% FOREACH authorize IN summary.authorized %]
110 <div class="heading authorized auth[% seefro.field %]"><span class="label">Preferred form: </span><span class="authorized">[% authorize.heading %]</span></div>
112 [% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
114 [% IF summary.seefrom.size %]
115 <div class="authstanza seefrom">
116 <div class="authstanzaheading">Used for/see from:</div>
118 [% FOREACH seefro IN summary.seefrom %]
119 <li class="heading seefrom auth[% seefro.field %]">
120 [% IF seefro.type && seefro.type != 'seefrom' %]<span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>[% END %]
121 <span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
124 [% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
127 [% IF summary.seealso.size %]
128 <div class="authstanza seealso">
129 <div class="authstanzaheading">See also:</div>
131 [% FOREACH seeals IN summary.seealso %]
132 <li class="heading seealso auth[% seeals.field %]">[% IF seeals.type && seeals.type != 'seealso' %]<span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>[% END %]
133 <span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
136 [% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
139 [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
140 <div class="authstanza">
141 [% FOREACH otherscrip IN summary.otherscript %]
142 <div class="heading otherscript auth[% otherscrip.field %]"><span class="label">See also[% PROCESS language lang=otherscript.lang | trim %] term:</span>
143 <span class="otherscript">[% otherscrip.term %]</span>
148 <div id="authdescriptions" class="toptabs">
150 <li id="tab_descriptions" class="ui-tabs-selected"><a href="#descriptions">Notes</a></li>
152 <div id="descriptions">
153 <div class="content_set">
154 [% FOREACH note IN summary.notes %]
155 <p class="note auth[% note.field %]">[% note.note %]</p>
167 [% INCLUDE 'opac-bottom.inc' %]