@@ -, +, @@ - "Self reference doesn't match document location" - "Unregistered link relationship: search" --- .../bootstrap/en/modules/opac-opensearch.tt | 129 ++++++++++++++------- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 10 +- 2 files changed, 91 insertions(+), 48 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt @@ -1,5 +1,47 @@ [% USE Koha %] +[% BLOCK item_description %] + + [% END %] + [% END %] + [% IF ( SyndeticsEnabled ) %] + [% IF ( SyndeticsCoverImages ) %] + [% IF ( SEARCH_RESULT.content_identifier_exists ) %] + + [% ELSE %] + + [% END %] + [% END %] + [% END %] + [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %] + [% IF ( BakerTaylorEnabled ) %] + [% IF bt_id %] + See Baker & Taylor + [% END %] + [% END %] +

+ [% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author |html %]. [% END %] + [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place |html %] [% END %] + [% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode |html %][% END %] + [% IF ( SEARCH_RESULT.publicationyear ) %] + [% SEARCH_RESULT.publicationyear |html %] + [% ELSE %] + [% IF ( SEARCH_RESULT.copyrightdate ) %] [% SEARCH_RESULT.copyrightdate |html %][% END %] + [% END %] + [% IF ( SEARCH_RESULT.pages ) %]. [% SEARCH_RESULT.pages |html %][% END %] + [% IF ( SEARCH_RESULT.notes ) %], [% SEARCH_RESULT.notes |html %][% END %] + [% IF ( SEARCH_RESULT.size ) %] [% SEARCH_RESULT.size |html %]. [% END %] + [% IF ( SEARCH_RESULT.isbn ) %] [% SEARCH_RESULT.isbn |html %][% END %] +

+ [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %] +

Place Hold on [% SEARCH_RESULT.title %]

+ [% END %] + ]]> +[% END %] +[% BLOCK feed_url %][% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html %][% limit_cgi |uri %]&count=[% countrss |uri %]&offset=[% offset %]&sort_by=acqdate_dsc&format=[% END %] [% IF ( opensearchdescription ) %] [% LibraryName |html %] Search @@ -18,10 +60,10 @@ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"> - <![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]> - [% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss - - + <![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]> + [% PROCESS feed_url %]rss + + [% total %] [% offset %] [% IF ( results_per_page ) %] @@ -29,34 +71,26 @@ [% ELSE %] 20 [% END %] - [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]