]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/default/opac/parts/result/lowhits.tt2
Repaired merge conflicts resuling from ttopac-move-templates
[Evergreen.git] / Open-ILS / src / 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 OR is_special; 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                 Try changing to <strong>Advanced 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 any number of characters.<br />
38                 (example: <strong>environment* agency</strong>)
39             </p>
40             <p>
41                 <strong>Anchored Searching</strong><br />
42                 You may use ^ and $ to indicate "phrase begins with" and
43                 "phrase ends with," respectively, within a search phrase
44                 enclosed in quotation marks.<br />
45                 (examples: <strong>"^harry"</strong> for phrases that begin with
46                 the term <em>harry</em>.
47                 <strong>"stone$"</strong> for phrases that end in <em>stone</em>.)
48             </p>
49         </div>
50     </div>
51     <div class="hide_me">
52         <div style='text-align: center; padding-bottom: 8px;' class="hide_me">
53             <div id='result_low_hits_msg' class='hide_me'>[% l("Few hits were returned for your search.") %]</div>
54             <div id='result_zero_hits_msg' class='hide_me'>[% l("Zero hits were returned for your search.") %]</div>
55         </div>
56
57         <!-- spell checker -->
58         <div id='did_you_mean' class='lowhits_div hide_me'>
59             <span>[% l("Maybe you meant:") %] </span>
60             <!-- <a class='classic_link' id='spell_check_link'> </a> -->
61         </div>
62
63         <div id='low_hits_remove_format' class='lowhits_div hide_me'>
64             <span>[% l("You will find more hits when searching all item formats:") %] </span>
65             <a id='low_hits_remove_format_link' class='classic_link'>[% l("Search again with all formats?") %]</a>
66         </div>
67
68         <div id='low_hits_cross_ref' class='lowhits_div hide_me'>
69             <span>[% l("You may also like to try these related searches:") %]</span>
70             <div style='padding: 5px;'>
71                 <a id='low_hits_xref_link' class='classic_link' style='padding-right: 5px;'> </a>
72             </div>
73         </div>
74
75         <div id='low_hits_expand_range' class='lowhits_div hide_me'>
76             <span>[% l("You may also wish to expand your search range to:") %] </span>
77             <a id='low_hits_expand_link' class='classic_link' style='padding-right: 5px;'> </a>
78         </div>
79
80         <div id='low_hits_search_type' class='lowhits_div hide_me'>
81             <span>[% l("You can try searching the same terms by:") %]</span>
82             <a id='low_hits_title_search' class='hide_me classic_link' 
83                 style='padding-right: 5px;'>[% l("title") %]</a>
84             <a id='low_hits_author_search' class='hide_me classic_link' 
85                 style='padding-right: 5px;'>[% l("author") %]</a>
86             <a id='low_hits_subject_search' class='hide_me classic_link' 
87                 style='padding-right: 5px;'>[% l("subject") %]</a>
88             <a id='low_hits_series_search' class='hide_me classic_link' 
89                     style='padding-right: 5px;'>[% l("series") %]</a>
90             <a id='low_hits_keyword_search' class='hide_me classic_link' 
91                 style='padding-right: 5px;'>[% l("keyword") %]</a>
92         </div>
93     </div>
94 </div>