2 <div id="zero_search_hits">
3 <div class="facet_sidebar_hidden" id="facet_sidebar">
4 <h3 class="sr-only">[% l('Search Results filters') %]</h3>
6 <div class="zero_search_hits_saved">
7 [% INCLUDE "opac/parts/staff_saved_searches.tt2" %]
9 <div class="zero_search_hits_main">
10 <p>[% qhtml = CGI.param('query') | html;
12 wbbag = ctx.bookbag.name | html;
13 fmt_bookbag = '<span class="lowhits-bookbag-name">' _ wbbag _ '</span>';
14 IF is_advanced OR is_special;
15 l('Sorry, no entries were found for your search within [_1].', fmt_bookbag);
17 l('Sorry, no entries were found for [_1] within [_2].', '<q>' _ qhtml _ '</q>', fmt_bookbag);
20 IF is_advanced OR is_special;
21 l('Sorry, no entries were found for your search.');
24 l('Please enter a search term in the Search box.');
26 l('Sorry, no entries were found for [_1].', '<q>' _ qhtml _ '</q>');
31 [% IF ctx.search_summary.suggestions.one_class_multi_term %]
32 <div class="result_block_visible refine_search" id="did_you_mean">
33 <em><strong>[% s_list = ctx.search_summary.suggestions.one_class_multi_term; l('Did you mean: ') %]</strong></em><ul class="suggestion refine_search">
34 [% FOREACH s IN s_list.suggestions %]
35 <li class="suggestion refine_search">
36 <a href="[% mkurl(ctx.opac_root _ '/results', {qtype=>s_list.class, query=>s.suggestion}) %]">[% s.prefix_key || s.suggestion | html %]</a>
43 <div id="lowhits_help">
44 [% INCLUDE "opac/parts/result/lowhits_purchase.tt2" %]
46 <strong>[% l('Keyword Search Tips') %]</strong><br />
47 [% i18n_advsearch = l('Advanced Search');
48 l('Try changing to [_1].', '<strong>' _ i18n_advsearch _ '</strong>') %]
51 <strong>[% l('Adjacency') %]</strong><br />
52 [% l('Multiple words are not searched together as a phrase. They will ' _
53 'be found in various parts of the record. To search for a phrase, enclose your ' _
54 'search terms in quotation marks.') %]<br />
55 [% i18n_searchphrase = l('garcia marquez');
56 l('(example: [_1])', '<strong>"' _ i18n_searchphrase _ '"</strong>') %]
59 <strong>[% l('Truncation') %]</strong><br />
60 [% l('Words may be right-hand truncated using an asterisk. Use a single asterisk * ' _
61 'to truncate any number of characters.') %]<br />
62 [% i18n_searchtrunc = l('environment* agency');
63 l('(example: [_1])', '<strong>' _ i18n_searchtrunc _ '</strong>') %]
66 <strong>[% l('Anchored Searching') %]</strong><br />
67 [% l('You may use ^ and $ to indicate "phrase begins with" and ' _
68 '"phrase ends with," respectively, within a search phrase ' _
69 'enclosed in quotation marks.') %]<br />
70 [% i18n_searchbegins = l('harry');
71 i18n_searchends = l('stone');
72 l('(examples: [_1] for phrases that begin with the term [_2]. ' _
73 '[_3] for phrases that end in [_4].)',
74 '<strong>"^' _ i18n_searchbegins _ '"</strong>', '<em>' _ i18n_searchbegins _ '</em>',
75 '<strong>"' _ i18n_searchends _ '$"</strong>', '<em>' _ i18n_searchends _ '</em>') %]