]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/parts/result/lowhits.tt2
Move HTML tags out of translatable strings in toolkit templates.
[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] within [_2].', '<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].', '<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                 [% i18n_advsearch = l('Advanced Search');
30                    l('Try changing to [_1].', '<strong>' _ i18n_advsearch _ '</strong>') %]
31             </p>
32             <p>
33                 <strong>[% l('Adjacency') %]</strong><br />
34                 [% l('Multiple words are not searched together as a phrase. They will ' _
35                      'be found in various parts of the record. To search for a phrase, enclose your ' _
36                      'search terms in quotation marks.') %]<br />
37                 [% i18n_searchphrase = l('garcia marquez');
38                    l('(example: [_1])', '<strong>&quot;' _ i18n_searchphrase _ '&quot;</strong>') %]
39             </p>
40             <p>
41                 <strong>[% l('Truncation') %]</strong><br />
42                 [% l('Words may be right-hand truncated using an asterisk. Use a single asterisk * ' _
43                      'to truncate any number of characters.') %]<br />
44                 [% i18n_searchtrunc = l('environment* agency');
45                    l('(example: [_1])', '<strong>' _ i18n_searchtrunc _ '</strong>') %]
46             </p>
47             <p>
48                 <strong>[% l('Anchored Searching') %]</strong><br />
49                 [% l('You may use ^ and $ to indicate "phrase begins with" and ' _
50                      '"phrase ends with," respectively, within a search phrase ' _
51                      'enclosed in quotation marks.') %]<br />
52                 [% i18n_searchbegins = l('harry');
53                    i18n_searchends = l('stone');
54                    l('(examples: [_1] for phrases that begin with the term [_2]. ' _
55                      '[_3] for phrases that end in [_4].)',
56                      '<strong>&quot;^' _ i18n_searchbegins _ '&quot;</strong>', '<em>' _ i18n_searchbegins _ '</em>',
57                      '<strong>&quot;' _ i18n_searchends _ '$&quot;</strong>', '<em>' _ i18n_searchends _ '</em>') %]
58             </p>
59         </div>
60     </div>
61 </div>