]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/parts/result/lowhits.tt2
238a1c8ab8eba4d80a5e5a17bce39e14f0608b5c
[Evergreen.git] / Open-ILS / src / templates / opac / parts / result / lowhits.tt2
1 <div>
2     <div id="zero_search_hits">
3         <div class="zero_search_hits_saved">
4             [% INCLUDE "opac/parts/staff_saved_searches.tt2" %]
5         </div>
6         <div class="zero_search_hits_main">
7             <p>[% qhtml = CGI.param('query') | html;
8                   IF ctx.bookbag;
9                        wbbag = ctx.bookbag.name | html;
10                        fmt_bookbag = '<span class="lowhits-bookbag-name">' _ wbbag _ '</span>';
11                        IF is_advanced OR is_special;
12                           l('Sorry, no entries were found for your search within [_1].', fmt_bookbag);
13                        ELSE;
14                           l('Sorry, no entries were found for [_1][_2][_3] within [_4].', '<q>', qhtml, '</q>', fmt_bookbag);
15                        END;
16                    ELSE;
17                      IF is_advanced OR is_special;
18                           l('Sorry, no entries were found for your search.');
19                        ELSE;
20                           l('Sorry, no entries were found for [_1][_2][_3].', '<q>', qhtml, '</q>');
21                        END;
22                    END %]
23             </p>
24         </div>
25         <div style="float:right;width:353px;background:#ccc;padding:10px;margin-top:7px;">
26             [% INCLUDE "opac/parts/result/lowhits_purchase.tt2" %]
27             <p>
28                 <strong>[% l('Keyword Search Tips') %]</strong><br />
29                 [% l('Try changing to [_1]Advanced Search[_2].', '<strong>', '</strong>') %]
30             </p>
31             <p>
32                 <strong>[% l('Adjacency') %]</strong><br />
33                 [% l('Multiple words are not searched together as a phrase. They will
34                       be found in various parts of the record. To search for a phrase, enclose your
35                       search terms in quotation marks.') %]<br />
36                 [% l('(example:  [_1]&quot;garcia marquez&quot;[_2])', '<strong>', '</strong>') %]
37             </p>
38             <p>
39                 <strong>[% l('Truncation') %]</strong><br />
40                 [% l('Words may be right-hand truncated using an asterisk. Use a single asterisk *
41                       to truncate any number of characters.') %]<br />
42                 [% l('(example: [_1]environment* agency[_2])', '<strong>', '</strong>') %]
43             </p>
44             <p>
45                 <strong>[% l('Anchored Searching') %]</strong><br />
46                 [% l('You may use ^ and $ to indicate "phrase begins with" and
47                       "phrase ends with," respectively, within a search phrase
48                       enclosed in quotation marks.') %]<br />
49                 [% l('(examples: [_1]"^harry"[_2] for phrases that begin with
50                       the term [_3]harry[_4].
51                       [_1]"stone$"[_2] for phrases that end in [_3]stone[_4].)', '<strong>', '</strong>', '<em>', '</em>') %]
52             </p>
53         </div>
54     </div>
55 </div>