X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=koha-tmpl%2Fopac-tmpl%2Fprog%2Fen%2Fmodules%2Fopac-results.tt;h=26a97a42d71d1f3d3216b27129d3e80d7b1d6acb;hb=e7da536551623337aed4ac6f14a127d0f50bd265;hp=bdc4050a2edd0a87b4c09f00ef93c95036b630fd;hpb=75a4efa7042a8d15ba7832d67b8670282da3abbc;p=koha_gimpoz diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index bdc4050a2e..26a97a42d7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -1,12 +1,12 @@ [% INCLUDE 'doc-head-open.inc' %] [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › [% IF ( searchdesc ) %] - Results of Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc %]'[% END %] + 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' %] - + @@ -107,7 +107,7 @@ $(document).ready(function(){ param1 += "[% addbarshelvesloo.shelfname |html %]<\/option>";[% END %] [% IF ( bartotal ) %]param1 += "[ "+_("More lists")+" ]<\/option>";[% END %] param1 += "<\/optgroup>";[% END %] - [% IF ( addpubshelves ) %]param1 += ""[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"[% addpubshelvesloo.shelfname |html %]<\/option>";[% END %][% END %] + [% IF ( addpubshelves ) %]param1 += ""[% FOREACH addpubshelvesloo IN addpubshelvesloop %]+"[% addpubshelvesloo.shelfname |html %]<\/option>"[% END %];[% END %] param1 += "<\/optgroup>"; param1 += "[ "+_("New List")+" ]<\/option>"; [% END %] @@ -229,6 +229,7 @@ $(document).ready(function(){ [% END %] [% END %][% END %] [% IF OpenLibraryCovers %]KOHA.OpenLibrary.GetCoverFromIsbn();[% END %] + [% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] }); //]]> @@ -380,7 +381,7 @@ $(document).ready(function(){ [% IF ( opacbookbag ) %] [% ELSE %] [% IF ( virtualshelves ) %] [% ELSE %] [% IF ( RequestOnOpac ) %][% UNLESS ( SEARCH_RESULT.norequests ) %][% IF ( opacuserlogin ) %] [% END %][% END %][% END %][% END %][% END %] - [% SEARCH_RESULT.result_number %]. + [% UNLESS suppress_result_number %][% SEARCH_RESULT.result_number %].[% END %] [% UNLESS ( item_level_itypes ) %] [% UNLESS ( noItemTypeImages ) %] @@ -417,15 +418,15 @@ $(document).ready(function(){ [% ELSE %] [% END %] [% END %] - [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %][% subtitl.subfield %][% END %] + [% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield|html %][% END %] [% IF ( SEARCH_RESULT.author ) %]by [% SEARCH_RESULT.author %] [% ELSE %] [% END %] Publication: - [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] + [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode|html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear %] [% ELSE %][% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate %][% END %][% END %] [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages %][% END %] - [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes %][% END %] + [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes|html %][% END %] [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size %][% END %] [% IF ( SEARCH_RESULT.timestamp ) %] (modified on [% SEARCH_RESULT.timestamp %])[% END %] @@ -481,19 +482,16 @@ $(document).ready(function(){ [% IF ( opacuserlogin ) %][% IF ( TagsEnabled ) %] [% IF ( TagsShowOnList ) %] [% IF ( SEARCH_RESULT.TagLoop.size ) %] - - Tags: + Tags: [% FOREACH TagLoo IN SEARCH_RESULT.TagLoop %][% TagLoo.term %] ([% TagLoo.weight_total %]) [% END %] [% END %] [% IF ( TagsInputOnList ) %] [% IF ( loggedinusername ) %] - - New tag: + New tag: - Tag status here. @@ -524,16 +522,23 @@ $(document).ready(function(){ [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( virtualshelves ) %]Save to Lists [% END %][% END %][% END %] - [% IF ( opacbookbag ) %]Add to Cart[% END %] + [% IF ( opacbookbag ) %] + [% IF ( SEARCH_RESULT.incart ) %] + In your Cart (remove) + [% ELSE %] + Add to Cart (remove) + [% END %] + [% END %] + [% IF ( OPACLocalCoverImages ) %][% END %] [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %][% END %] [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( using_https ) %] - + [% ELSE %] - [% END %][% END %][% END %] + [% END %][% END %][% END %] [% IF ( GoogleJackets ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %] [% IF OpenLibraryCovers %][% IF SEARCH_RESULT.normalized_isbn %][% ELSE %]No cover image available[% END %][% END %]