From 9f3ad20046fd378d13c63bd4cd1427c1b3f07d0f Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sat, 23 Jul 2011 20:09:08 +1200 Subject: [PATCH] Bug 5429 : Covers for detail page --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 3430cbb..1da6e38 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -21,8 +21,14 @@ dateFormat: 'uk',[% END %] widgets : ['zebra'], sortList: [[0,0]] - });[% IF ( GoogleJackets ) %] - KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);[% END %][% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %] + }); + [% IF ( GoogleJackets ) %] + KOHA.Google.GetCoverFromIsbn([% covernewwindow %]); + [% END %] + [% IF OpenLibraryCovers %] + KOHA.OpenLibrary.GetCoverFromIsbn(); + [% END %] + [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %] $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %] }); @@ -72,6 +78,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% ELSE %]No cover image available[% END %][% END %][% END %] [% IF ( GoogleJackets ) %]
[% END %] + [% IF OpenLibraryCovers %]
[% END %] [% IF ( BakerTaylorEnabled ) %][% IF ( normalized_isbn ) %][% IF ( OPACurlOpenInNewWindow ) %]See Baker & Taylor[% ELSE %]See Baker & Taylor[% END %][% END %][% END %] -- 1.7.4.1