[% USE raw %]
[% USE Asset %]
[% USE Koha %]
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnList ) %]
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnList ) %]
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
[% IF firstPage %]
[% SET OverDriveEnabled = Koha.Preference('OverDriveLibraryID') && Koha.Preference('OverDriveClientKey') && Koha.Preference('OverDriveClientSecret') %]
[% SET RecordedBooksEnabled = Koha.Preference('RecordedBooksLibraryID') && Koha.Preference('RecordedBooksClientSecret') %]
[% END %]
[% INCLUDE 'doc-head-open.inc' %]
[% UNLESS ( total ) %]
No results found!
[% IF ( searchdesc ) %]
No results found for that in [% LibraryName | html %] catalog.
[% ELSE %]
You did not specify any search criteria.
[% END %]
[% IF ( ReturnPath ) %]
[% END %]
[% IF ( OPACNoResultsFound ) %]
[% OPACNoResultsFound | $raw %]
[% END %]
[% END # / UNLESS searchdesc %]
[% IF ( opacfacets && total ) %]
[% INCLUDE 'opac-facets.inc' %]
[% END %]
[% IF ( total ) %]
[% IF ( opacfacets ) %]
[% ELSE %]
[% END %]
[% ELSE %]
[% IF ( opacfacets ) %]
[% ELSE %]
[% END %]
[% END %]
[% IF ( searchdesc ) %]
[% IF ( total ) %]
Your search returned [% total | html %] results.
[% IF ( related ) %]
(related searches:[% FOREACH relate IN related %] [% relate.related_search | html %][% END %]).
[% END %]
[% END # / IF total %]
[% END # / IF searchdesc %]
[% IF ( DidYouMean ) %]
[% END %]
[% IF ( koha_spsuggest ) %]
Did you mean:
[% END # / IF koha_spsuggest%]
[% IF ( total ) %]
[% IF ( ReturnPath ) %]
[% END %]
[% END %]
[% IF ( query_error ) %]
Error:
[% query_error | html %]
[% END %]
[% IF ( total ) %]
[% INCLUDE 'page-numbers.inc' %]
[% END # / IF total %]
[%# Display "Not finding what you're looking for" for suggestion or ILL %]
[% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername ) || ( Koha.Preference( 'ILLModule' ) == 1 && loggedinusername ) %]
Not finding what you're looking for?
[% END %]
[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %]
[% IF ( LibraryThingForLibrariesID ) %]
[% END %]
[% IF ( OverDriveEnabled ) %][% Asset.js("js/overdrive.js") | $raw %][% END %]
[% IF ( RecordedBooksEnabled ) %][% Asset.js("js/recordedbooks.js") | $raw %][% END %]
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]
[% Asset.js("js/authtoresults.js") | $raw %]
[% Asset.js("lib/hc-sticky.js") | $raw %]
[% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %]
[% END %]
[% IF OpenLibraryCovers || OpenLibrarySearch %]
[% Asset.js("js/openlibrary.js") | $raw %]
[% END %]
[% END %]