3 [% PROCESS 'opac-authorities.inc' %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Entry [% authtypetext %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
9 [% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %]
10 [% INCLUDE 'masthead.inc' %]
13 <ul class="breadcrumb">
14 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
15 <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">›</span></li>
16 <li><a href="#">Entry [% authtypetext %]</a></li>
19 <div class="container-fluid">
20 <div class="row-fluid">
21 [% IF ( OpacNav || OpacNavBottom ) %]
24 [% INCLUDE 'navigation.inc' %]
31 <div id="userauthMARCdetails" class="maincontent">
34 <a id="Normalview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]">Normal view</a>
37 <span id="MARCview">MARC view</span>
41 [% IF ( displayhierarchy ) %]
42 <div id="hierarchies">
43 [% PROCESS showhierarchy trees = loophierarchies %]
47 <h1>Entry [% authtypetext %]</h1>
48 <p><a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">Number of records used in: [% count %]</a></p>
49 [% FOREACH Tag0X IN Tab0XX %]
50 <p><b>[% Tag0X.tag %]</b></p>
52 [% FOREACH subfiel IN Tag0X.subfield %]
53 <li><b>[% subfiel.marc_lib %]:</b>
54 [% IF subfiel.isurl %]<a href="[% subfiel.marc_value %]">[% subfiel.marc_value %]</a>
55 [% ELSE %][% subfiel.marc_value %][% END %]</li>
59 </div> <!-- / #userauthMARCdetails -->
60 </div> <!-- / .span10/12 -->
61 </div> <!-- / .row-fluid -->
62 </div> <!-- / .container-fluid -->
63 </div> <!-- / .main -->
65 [% INCLUDE 'opac-bottom.inc' %]
67 [% Asset.js("lib/jquery/plugins/jquery.jstree.js") %]
68 <script type="text/javascript">
70 $(document).ready(function() {
71 [% IF ( displayhierarchy ) %]
72 var current_nodes = [];
73 $('.currentauth').each(function() {
74 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
76 $('#hierarchies').jstree({
77 "plugins": [ "themes", "html_data"],
78 "themes": { "theme": "classic",
80 "core": { "initially_open": current_nodes }