Lines 1-6
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › MARC details for record no. [% biblionumber | html %]</title> |
3 |
:title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › MARC details for record no. [% biblio.id %]</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% BLOCK cssinclude %][% END %] |
5 |
[% BLOCK cssinclude %][% END %] |
6 |
</head> |
6 |
</head> |
Lines 20-33
Link Here
|
20 |
<div id="catalogue_detail_biblio"> |
20 |
<div id="catalogue_detail_biblio"> |
21 |
|
21 |
|
22 |
<div id="views"> |
22 |
<div id="views"> |
23 |
<span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">Normal view</a></span> |
23 |
<span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.id %]">Normal view</a></span> |
24 |
<span class="view current-view"><span id="MARCview">MARC view</span></span> |
24 |
<span class="view current-view"><span id="MARCview">MARC view</span></span> |
25 |
[% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblionumber | html %]">ISBD view</a></span>[% END %] |
25 |
[% IF ( ISBD ) %]<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% biblio.id %]">ISBD view</a></span>[% END %] |
26 |
</div> |
26 |
</div> |
27 |
<h1 class="title">[% bibliotitle %] (Record no. [% biblionumber | html %])</h1> |
27 |
<h1 class="title">[% bibliotitle %] (Record no. [% biblio.id %])</h1> |
28 |
|
28 |
|
29 |
[% IF ( OPACXSLTDetailsDisplay ) %] |
29 |
[% IF ( OPACXSLTDetailsDisplay ) %] |
30 |
<div id="switchview_div">[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=[% biblionumber | html %]&viewas=html">view plain</a> ]</div> |
30 |
<div id="switchview_div">[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=[% biblio.id %]&viewas=html">view plain</a> ]</div> |
31 |
<div id="plainmarc"></div> |
31 |
<div id="plainmarc"></div> |
32 |
[% END %] |
32 |
[% END %] |
33 |
|
33 |
|
Lines 190-196
$(document).ready(function(){
Link Here
|
190 |
$(this).text(_("view labeled")); |
190 |
$(this).text(_("view labeled")); |
191 |
$("#labeledmarc").hide(); |
191 |
$("#labeledmarc").hide(); |
192 |
if(!loaded){ |
192 |
if(!loaded){ |
193 |
$("#plainmarc").show().html("<div style=\"margin:1em;padding:1em;border:1px solid #EEE;font-size:150%;\"><img src=\"[% interface %]/[% theme %]/images/loading.gif\" /> "+_("Loading")+"...</div>").load("/cgi-bin/koha/opac-showmarc.pl","id=[% biblionumber | html %]&viewas=html"); |
193 |
$("#plainmarc").show().html("<div style=\"margin:1em;padding:1em;border:1px solid #EEE;font-size:150%;\"><img src=\"[% interface %]/[% theme %]/images/loading.gif\" /> "+_("Loading")+"...</div>").load("/cgi-bin/koha/opac-showmarc.pl","id=[% biblio.id %]&viewas=html"); |
194 |
loaded = 1; |
194 |
loaded = 1; |
195 |
} else { |
195 |
} else { |
196 |
$("#plainmarc").show(); |
196 |
$("#plainmarc").show(); |