2 [% PROCESS 'opac-authorities.inc' %]
3 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Entry
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% IF ( displayhierarchy ) %]
6 <script type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
8 <script type="text/javascript">
10 $(document).ready(function() {
11 $('#authdescriptions').tabs();
12 [% IF ( displayhierarchy ) %]
13 var current_nodes = [];
14 $('.currentauth').each(function() {
15 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
17 $('#hierarchies').jstree({
18 "plugins": [ "themes", "html_data"],
19 "themes": { "theme": "classic",
21 "core": { "initially_open": current_nodes }
28 <body id="opac-authoritiesdetail">
30 <div id="doc3" class="yui-t7">
32 [% INCLUDE 'masthead.inc' %]
34 <div class="yui-b"><div class="yui-g">
36 <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>
38 <div id="userauthdetails" class="container">
40 [% IF ( displayhierarchy ) %]
41 <div id="hierarchies">
42 [% PROCESS showhierarchy trees = loophierarchies %]
46 <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
47 <div class="usedin">Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% count %] records</a></div>
48 <div class="authstanza">
49 [% FOREACH authorize IN summary.authorized %]
50 <div class="heading authorized auth[% seefro.field %]"><span class="label">Preferred form: </span><span class="authorized">[% authorize.heading %]</span></div>
52 [% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
54 [% IF summary.seefrom.size %]
55 <div class="authstanza seefrom">
56 <div class="authstanzaheading">Used for/see from:</div>
58 [% FOREACH seefro IN summary.seefrom %]
59 <li class="heading seefrom auth[% seefro.field %]">
60 [% IF seefro.type && seefro.type != 'seefrom' %]<span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>[% END %]
61 <span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
65 [% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
68 [% IF summary.seealso.size %]
69 <div class="authstanza seealso">
70 <div class="authstanzaheading">See also:</div>
72 [% FOREACH seeals IN summary.seealso %]
73 <li class="heading seealso auth[% seeals.field %]">[% IF seeals.type && seeals.type != 'seealso' %]<span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>[% END %]
74 <span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
77 [% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
80 [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
81 <div class="authstanza">
82 <div class="authstanzaheading">Other forms:</div>
84 [% FOREACH otherscrip IN summary.otherscript %]
86 [% PROCESS language lang=otherscrip.lang | trim %]:
87 <span class="otherscript">[% otherscrip.term %]</span>
93 <div id="authdescriptions" class="toptabs">
95 <li id="tab_descriptions" class="ui-tabs-selected"><a href="#descriptions">Notes</a></li>
97 <div id="descriptions">
98 <div class="content_set">
99 [% FOREACH note IN summary.notes %]
100 <p class="note auth[% note.field %]">[% note.note %]</p>
112 [% INCLUDE 'opac-bottom.inc' %]