1 [% PROCESS 'opac-authorities.inc' %]
2 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Entry
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% IF ( displayhierarchy ) %]
5 <script language="javascript" type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
7 <script language="javascript" type="text/javascript">
9 $(document).ready(function() {
10 $('#authdescriptions').tabs();
11 [% IF ( displayhierarchy ) %]
12 var current_nodes = [];
13 $('.currentauth').each(function() {
14 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
16 $('#hierarchies').jstree({
17 "plugins": [ "themes", "html_data"],
18 "themes": { "theme": "classic",
20 "core": { "initially_open": current_nodes }
27 <body id="opac-authoritiesdetail">
29 <div id="doc3" class="yui-t7">
31 [% INCLUDE 'masthead.inc' %]
33 <div class="yui-b"><div class="yui-g">
35 <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>
37 <div id="userauthdetails" class="container">
39 [% IF ( displayhierarchy ) %]
40 <div id="hierarchies">
41 [% PROCESS showhierarchy trees = loophierarchies %]
45 <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
46 <div class="usedin">Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% count %] records</a></div>
47 <div class="authstanza">
48 [% FOREACH authorize IN summary.authorized %]
49 <div class="heading authorized auth[% seefro.field %]"><span class="label">Preferred form: </span><span class="authorized">[% authorize.heading %]</span></div>
51 [% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
53 [% IF summary.seefrom.size %]
54 <div class="authstanza seefrom">
55 <div class="authstanzaheading">Used for/see from:</div>
57 [% FOREACH seefro IN summary.seefrom %]
58 <li class="heading seefrom auth[% seefro.field %]">
59 [% IF seefro.type && seefro.type != 'seefrom' %]<span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>[% END %]
60 <span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
63 [% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
66 [% IF summary.seealso.size %]
67 <div class="authstanza seealso">
68 <div class="authstanzaheading">See also:</div>
70 [% FOREACH seeals IN summary.seealso %]
71 <li class="heading seealso auth[% seeals.field %]">[% IF seeals.type && seeals.type != 'seealso' %]<span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>[% END %]
72 <span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
75 [% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
78 [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
79 <div class="authstanza">
80 <div class="authstanzaheading">Other forms:</div>
82 [% FOREACH otherscrip IN summary.otherscript %]
84 [% PROCESS language lang=otherscrip.lang | trim %]:
85 <span class="otherscript">[% otherscrip.term %]</span>
91 <div id="authdescriptions" class="toptabs">
93 <li id="tab_descriptions" class="ui-tabs-selected"><a href="#descriptions">Notes</a></li>
95 <div id="descriptions">
96 <div class="content_set">
97 [% FOREACH note IN summary.notes %]
98 <p class="note auth[% note.field %]">[% note.note %]</p>
110 [% INCLUDE 'opac-bottom.inc' %]