X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fcatalogue%2Fresults.tt;h=fc212d95d496cd4ac835acd217a96e111cb9b1dc;hb=617e2f822141c9a430f87304e6030f3d2fb4a6d7;hp=84206fe6c10b1ad7625ec143b193ce552e123b2c;hpb=69ec188bce073f3cc42b19ca27aeb378b9f6a09d;p=koha.git diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 84206fe6c1..fc212d95d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -1,7 +1,20 @@ +[% USE Koha %] +[% USE Biblio %] +[% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Catalog › [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'browser-strings.inc' %] +[% IF BiblioDefaultViewmarc %] + [% SET DetailPage="MARCdetail.pl" %] +[% ELSIF BiblioDefaultViewlabeled_marc %] + [% SET DetailPage="labeledMARCdetail.pl" %] +[% ELSIF BiblioDefaultViewisbd %] + [% SET DetailPage="ISBDdetail.pl" %] +[% ELSE %] + [% SET DetailPage="detail.pl" %] +[% END %] + @@ -15,13 +28,13 @@ var q_array = new Array(); // will hold search terms, if present // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html function verify_images() { $("img").each(function(i){ - if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) { + if ((this.src.indexOf('images-amazon.com') >= 0) || (this.src.indexOf('images.amazon.com') >=0)) { w = this.width; h = this.height; if ((w == 1) || (h == 1)) { - this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; } else if ((this.complete != null) && (!this.complete)) { - this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; + this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif'; } } }); @@ -90,17 +103,38 @@ $('#sort_by').change(function() { }); var param1 = "