2 [% PROCESS 'opac-authorities.inc' %]
3 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Authority search › [% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 <body id="opac-authoritiesdetail" class="scrollto">
8 [% INCLUDE 'masthead.inc' %]
11 <ul class="breadcrumb">
12 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
13 <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">›</span></li>
14 <li><a href="#">[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</a></li>
17 <div class="container-fluid">
18 <div class="row-fluid">
19 [% IF ( OpacNav || OpacNavBottom ) %]
22 [% INCLUDE 'navigation.inc' %]
29 <div id="userauthdetails" class="maincontent">
32 <span id="Normalview">Normal view</span>
35 <a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">MARC view</a>
39 [% IF ( displayhierarchy ) %]
40 <div id="hierarchies">
41 [% PROCESS showhierarchy trees = loophierarchies %]
45 <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
48 Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% count %] records</a>
51 <div class="authstanza">
52 [% FOREACH authorize IN summary.authorized %]
53 <div class="heading authorized auth[% seefro.field %]">
54 <span class="label">Preferred form: </span>
55 <span class="authorized">[% authorize.heading %]</span>
58 [% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
61 [% IF summary.seefrom.size %]
62 <div class="authstanza seefrom">
63 <div class="authstanzaheading">Used for/see from:</div>
65 [% FOREACH seefro IN summary.seefrom %]
66 <li class="heading seefrom auth[% seefro.field %]">
67 [% IF seefro.type && seefro.type != 'seefrom' %]
68 <span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>
70 <span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
73 [% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
78 [% IF summary.seealso.size %]
79 <div class="authstanza seealso">
80 <div class="authstanzaheading">See also:</div>
82 [% FOREACH seeals IN summary.seealso %]
83 <li class="heading seealso auth[% seeals.field %]">
84 [% IF seeals.type && seeals.type != 'seealso' %]
85 <span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>
87 <span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
90 [% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
95 [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
96 <div class="authstanza">
97 <div class="authstanzaheading">Other forms:</div>
99 [% FOREACH otherscrip IN summary.otherscript %]
101 [% PROCESS language lang=otherscrip.lang | trim %]:
102 <span class="otherscript">[% otherscrip.term %]</span>
109 <div id="authdescriptions" class="toptabs">
111 <li id="tab_descriptions" class="ui-tabs-selected"><a href="#descriptions">Notes</a></li>
113 <div id="descriptions">
114 <div class="content_set">
115 [% FOREACH note IN summary.notes %]
116 <p class="note auth[% note.field %]">[% note.note %]</p>
121 </div> <!-- / .#userauthdetails -->
122 </div> <!-- / .span10/12 -->
123 </div> <!-- / .row-fluid -->
124 </div> <!-- / .container-fluid -->
125 </div> <!-- / .main -->
127 [% INCLUDE 'opac-bottom.inc' %]
128 [% BLOCK jsinclude %]
129 [% IF ( displayhierarchy ) %]
130 <script type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
132 <script type="text/javascript">
134 $(document).ready(function() {
135 $('#authdescriptions').tabs();
136 [% IF ( displayhierarchy ) %]
137 var current_nodes = [];
138 $('.currentauth').each(function() {
139 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
141 $('#hierarchies').jstree({
142 "plugins": [ "themes", "html_data"],
143 "themes": { "theme": "classic",
145 "core": { "initially_open": current_nodes }