2 [% PROCESS 'opac-authorities.inc' %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Authority search › [% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% BLOCK cssinclude %][% END %]
8 [% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %]
9 [% INCLUDE 'masthead.inc' %]
12 <ul class="breadcrumb">
13 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
14 <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">›</span></li>
15 <li><a href="#">[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</a></li>
18 <div class="container-fluid">
19 <div class="row-fluid">
20 [% IF ( OpacNav || OpacNavBottom ) %]
23 [% INCLUDE 'navigation.inc' %]
30 <div id="userauthdetails" class="maincontent">
33 <span id="Normalview">Normal view</span>
36 <a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">MARC view</a>
40 [% IF ( displayhierarchy ) %]
41 <div id="hierarchies">
42 [% PROCESS showhierarchy trees = loophierarchies %]
46 <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
49 <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">Number of records used in: [% count %]</a>
52 <div class="authstanza">
53 [% FOREACH authorize IN summary.authorized %]
54 <div class="heading authorized auth[% seefro.field %]">
55 <span class="label">Preferred form: </span>
56 <span class="authorized">[% authorize.heading %]</span>
59 [% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
62 [% IF summary.seefrom.size %]
63 <div class="authstanza seefrom">
64 <div class="authstanzaheading">Used for/see from:</div>
66 [% FOREACH seefro IN summary.seefrom %]
67 <li class="heading seefrom auth[% seefro.field %]">
68 [% IF seefro.type && seefro.type != 'seefrom' %]
69 <span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>
71 <span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
74 [% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
79 [% IF summary.seealso.size %]
80 <div class="authstanza seealso">
81 <div class="authstanzaheading">See also:</div>
83 [% FOREACH seeals IN summary.seealso %]
84 <li class="heading seealso auth[% seeals.field %]">
85 [% IF seeals.type && seeals.type != 'seealso' %]
86 <span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>
88 <span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
91 [% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
96 [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
97 <div class="authstanza">
98 <div class="authstanzaheading">Other forms:</div>
100 [% FOREACH otherscrip IN summary.otherscript %]
102 [% PROCESS language lang=otherscrip.lang | trim %]:
103 <span class="otherscript">[% otherscrip.term %]</span>
110 <div id="authdescriptions" class="toptabs">
112 <li id="tab_descriptions"><a href="#descriptions">Notes</a></li>
114 <div id="descriptions">
115 <div class="content_set">
116 [% FOREACH note IN summary.notes %]
117 <p class="note auth[% note.field %]">[% note.note %]</p>
122 </div> <!-- / .#userauthdetails -->
123 </div> <!-- / .span10/12 -->
124 </div> <!-- / .row-fluid -->
125 </div> <!-- / .container-fluid -->
126 </div> <!-- / .main -->
128 [% INCLUDE 'opac-bottom.inc' %]
129 [% BLOCK jsinclude %]
130 [% IF ( displayhierarchy ) %]
131 <script type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
133 <script type="text/javascript">
135 $(document).ready(function() {
136 $('#authdescriptions').tabs();
137 [% IF ( displayhierarchy ) %]
138 var current_nodes = [];
139 $('.currentauth').each(function() {
140 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
142 $('#hierarchies').jstree({
143 "plugins": [ "themes", "html_data"],
144 "themes": { "theme": "classic",
146 "core": { "initially_open": current_nodes }