]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/templates/default/opac/parts/result/lowhits.tt2
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen into template-toolkit...
[Evergreen.git] / Open-ILS / web / templates / default / opac / parts / result / lowhits.tt2
1 <div id='result_low_hits'>
2     <div id="zero_search_hits">
3         <div>
4             <p>[% l('Sorry, no entries were found for') %]
5                 [% IF is_advanced; l('your search'); ELSE %]
6                 <q>[% CGI.param('query') | html %]</q>
7                 [% END %]
8                 <br />
9                 <span id="zero_hits_label1" class="hide_me">Did you mean
10                     <strong><a id="spell_check_link" href="javascript:;"></a></strong>?</span>
11             </p>
12             <table cellpadding="0" cellspacing="0" border="0">
13                 <tr>
14                     <td valign="top" style="padding-right:10px;">
15                         <span id="zero_hits_label2" class="hide_me">[% l('Other Possibilities:') %]</span>
16                     </td>
17                     <td id="zero_hits_suggestions"></td>
18                 </tr>
19             </table>
20         </div>
21         <div style="float:right;width:353px;background:#ccc;padding:10px;margin-top:7px;">
22             [% INCLUDE "default/opac/parts/result/lowhits_purchase.tt2" %]
23             <p>
24                 <strong>Keyword Search Tips</strong><br />
25                 Change to <strong>Advanced Keyword Search.</strong>
26             </p>
27             <p>
28                 <strong>Adjacency</strong><br />
29                 Multiple words are not searched together as a phrase. They will
30                 be found in various parts of the record. To search for a phrase, enclose your
31                 search terms in quotation marks.<br />
32                 (example:  <strong>&quot;garcia marquez&quot;</strong>)
33             </p>
34             <p>
35                 <strong>Truncation</strong><br />
36                 Words may be right-hand truncated using an asterisk. Use a single asterisk *
37                 to truncate from 1-5 characters. Use a double asterisk ** for open-ended truncation.<br />
38                 (example: <strong>environment* agency</strong>)
39             </p>
40             <p>
41                 <strong>Wildcards</strong><br />
42                 You may use a question mark to replace a single character anywhere within a word.<br />
43                 example: <strong>wom?</strong>)
44             </p>
45         </div>
46     </div>
47     <div class="hide_me">
48         <div style='text-align: center; padding-bottom: 8px;' class="hide_me">
49             <div id='result_low_hits_msg' class='hide_me'>[% l("Few hits were returned for your search.") %]</div>
50             <div id='result_zero_hits_msg' class='hide_me'>[% l("Zero hits were returned for your search.") %]</div>
51         </div>
52
53         <!-- spell checker -->
54         <div id='did_you_mean' class='lowhits_div hide_me'>
55             <span>[% l("Maybe you meant:") %] </span>
56             <!-- <a class='classic_link' id='spell_check_link'> </a> -->
57         </div>
58
59         <div id='low_hits_remove_format' class='lowhits_div hide_me'>
60             <span>[% l("You will find more hits when searching all item formats:") %] </span>
61             <a id='low_hits_remove_format_link' class='classic_link'>[% l("Search again with all formats?") %]</a>
62         </div>
63
64         <div id='low_hits_cross_ref' class='lowhits_div hide_me'>
65             <span>[% l("You may also like to try these related searches:") %]</span>
66             <div style='padding: 5px;'>
67                 <a id='low_hits_xref_link' class='classic_link' style='padding-right: 5px;'> </a>
68             </div>
69         </div>
70
71         <div id='low_hits_expand_range' class='lowhits_div hide_me'>
72             <span>[% l("You may also wish to expand your search range to:") %] </span>
73             <a id='low_hits_expand_link' class='classic_link' style='padding-right: 5px;'> </a>
74         </div>
75
76         <div id='low_hits_search_type' class='lowhits_div hide_me'>
77             <span>[% l("You can try searching the same terms by:") %]</span>
78             <a id='low_hits_title_search' class='hide_me classic_link' 
79                 style='padding-right: 5px;'>[% l("title") %]</a>
80             <a id='low_hits_author_search' class='hide_me classic_link' 
81                 style='padding-right: 5px;'>[% l("author") %]</a>
82             <a id='low_hits_subject_search' class='hide_me classic_link' 
83                 style='padding-right: 5px;'>[% l("subject") %]</a>
84             <a id='low_hits_series_search' class='hide_me classic_link' 
85                     style='padding-right: 5px;'>[% l("series") %]</a>
86             <a id='low_hits_keyword_search' class='hide_me classic_link' 
87                 style='padding-right: 5px;'>[% l("keyword") %]</a>
88         </div>
89     </div>
90 </div>