1 [% INCLUDE 'doc-head-open.inc' %]
2 [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›
3 [% IF ( searchdesc ) %]
4 Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]
6 You did not specify any search criteria.
8 [% INCLUDE 'doc-head-close.inc' %]
9 <link rel="alternate" type="application/rss+xml" title="Koha - RSS"
10 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" />
11 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
12 <script type="text/javascript">
15 var q_array = new Array(); // will hold the search terms, if possible
17 $(document).ready(function(){
18 [% IF ( OpacHighlightedWords ) %]
19 $('a.title').each(function() {
20 $(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | url %]');
24 $('#sortsubmit').hide();
25 $('#sort_by').change(function() {
26 $('#bookbag_form').submit();
28 $("span.clearall").html("<a id=\"CheckNone\" href=\"#\">Clear all</a>");
29 $("span.checkall").html("<a id=\"CheckAll\" href=\"#\">Select all</a>");
30 $("span.addto").html("<label for=\"addto\">Add to: </label><select name=\"addto\" id=\"addto\"><option value=\"\"></option>[% IF ( opacbookbag ) %]<option value=\"addtocart\">Cart</option>[% END %][% IF ( virtualshelves ) %][% IF ( loggedinusername ) %]<optgroup label=\"Lists:\">[% IF ( barshelves ) %][% FOREACH barshelvesloo IN barshelvesloop %][% IF ( category == 1 ) %]<option id=\"s[% barshelvesloo.shelfnumber %]\" value=\"addtolist\">[% barshelvesloo.shelfname %]</option>[% END %][% END %][% END %]<option value=\"newlist\">[ New list ]</option></optgroup>[% ELSE %]<option value=\"newlist\">List</option>[% END %][% END %]</select> <input type=\"submit\" class=\"submit\" value=\"Save\" />");
31 $("#addto").change(function(){
34 $(".addto").find("input:submit").click(function(){
39 if($("#addto").find("option:selected").attr("value") == "addtolist"){
40 var shelfnumber = $("#addto").find("option:selected").attr("id").replace("s","");
41 [% IF ( loggedinusername ) %]if (vShelfAdd()) {
42 Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?selectedshelf='+shelfnumber+'&' + vShelfAdd());
43 }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %]
45 } else if($("#addto").find("option:selected").attr("value") == "newlist"){
46 [% IF ( loggedinusername ) %]if (vShelfAdd()) {
47 Dopop('/cgi-bin/koha/opac-addbybiblionumber.pl?newshelf=1&' + vShelfAdd());
48 }[% ELSE %] alert(_('You must be logged in to create or add to Lists')); [% END %]
51 if($("#addto").find("option:selected").attr("value") == "addtocart"){
56 $("#CheckAll").click(function(){
57 $("#bookbag_form").checkCheckboxes();
60 $("#CheckNone").click(function(){
61 $("#bookbag_form").unCheckCheckboxes();
64 [% IF ( query_desc ) %]
65 var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]";
66 q_array = query_desc.split(" ");
67 // ensure that we don't have "" at the end of the array, which can
68 // break the highlighter
69 while (q_array.length > 0 && q_array[q_array.length-1] == "") {
70 q_array = q_array.splice(0,-1);
73 $("#highlight_toggle_on" ).hide().click(function() {highlightOn() ;});
74 $("#highlight_toggle_off").show().click(function() {highlightOff();});
78 function highlightOff() {
79 $("td").removeHighlight();
80 $(".highlight_toggle").toggle();
82 function highlightOn() {
85 $("td").highlight(q_array[x]);
87 $(".highlight_toggle").toggle();
93 [% INCLUDE 'masthead.inc' %]
95 <div id="doc3" class="yui-t1">
101 [% IF ( koha_spsuggest ) %]
103 <ul style="list-style: none;">
104 [% FOREACH SPELL_SUGGES IN SPELL_SUGGEST %]
106 <a href="/cgi-bin/koha/opac-search.pl?q=[% SPELL_SUGGES.spsuggestion %]">[% SPELL_SUGGES.spsuggestion %]</a>
112 [% IF ( query_error ) %]
113 <div class="dialog alert">
119 <!-- Search Results Table -->
123 <form action="/cgi-bin/koha/opac-search.pl" method="get">
127 Scan index for: <input type="text" name="q" id="scan-index" size="35" value="" />
132 <label for="scan-index">Indexed in:</label>
133 <select name="idx" id="scan-index">
134 <option value="">Any word</option>
135 <option value="kw,phr:">Any phrase</option>
136 <option value="ti:">Title</option>
137 <option value="ti,phr:">Title phrase</option>
138 <option value="au,phr:">Author</option>
139 <option value="su:">Subject</option>
140 <option value="su,phr:">Subject phrase</option>
141 <option value="se:">Series</option>
142 <option value="pb:">Publisher</option>
143 <option value="nt:">Notes</option>
144 <option value="se:">Series Title</option>
145 <option value="sn:">ISBN</option>
146 <option value="ss:">ISSN</option>
148 <input type="hidden" name="scan" value="1" />
154 <form action="/cgi-bin/koha/opac-search.pl" method="get">
160 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
161 [% IF ( SEARCH_RESULT.even ) %]
162 <tr class="highlight">
167 <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]"[% SEARCH_RESULT.title |url %]"">[% SEARCH_RESULT.title |html %]</a>
170 [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
171 [% subtitl.subfield %]
180 <div class="searchresults">
181 <form action="/cgi-bin/koha/opac-search.pl" method="get" name="bookbag_form" id="bookbag_form">
182 [% IF ( searchdesc ) %]
183 [% FOREACH QUERY_INPUT IN QUERY_INPUTS %]
184 <input type="hidden" name="[% QUERY_INPUT.input_name |html %]" value="[% QUERY_INPUT.input_value |html %]"/>
186 [% FOREACH LIMIT_INPUT IN LIMIT_INPUTS %]
187 <input type="hidden" name="[% LIMIT_INPUT.input_name |html %]" value="[% LIMIT_INPUT.input_value |html %]"/>
191 <!-- TABLE RESULTS START -->
193 <tr><td colspan="3" class="resultscontrol">
194 <div class="resort"> <select id="sort_by" name="sort_by"> [% INCLUDE 'resort_form.inc' %] </select> <input type="submit" class="submit clearfix" id="sortsubmit" value="Go" /></div>
195 [% IF ( opacbookbag || virtualshelves ) %]<div class="cartlist"><span class="checkall"></span>
196 <span class="clearall"></span>
197 <a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
198 <a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
199 <span class="addto"></span></div>
203 <!-- Actual Search Results -->
204 [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
205 <tr class="grouplabel"><td colspan="3">[% SEARCH_RESULT.group_label %]</td></tr>
206 [% FOREACH GROUP_RESULT IN SEARCH_RESULT.GROUP_RESULTS %]
207 [% IF ( GROUP_RESULT.even ) %]
208 <tr class="highlight">
212 <td>[% IF ( OPACAmazonCoverImages ) %]
213 <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]">[% IF ( GROUP_RESULT.isbn ) %]<img src="http://images.amazon.com/images/P/[% GROUP_RESULT.isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<img src="http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif" alt="" class="thumbnail" />[% END %]
216 [% UNLESS ( noItemTypeImages ) %]
217 [% IF ( GROUP_RESULT.imageurl ) %]
218 <img src="[% GROUP_RESULT.imageurl %]" title="[% GROUP_RESULT.description %]" />
221 [% GROUP_RESULT.description %]
224 <td>[% GROUP_RESULT.result_number %]. [% IF ( GROUP_RESULT.BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="View details for this title">[% GROUP_RESULT.title %]
226 [% IF ( GROUP_RESULT.BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="View details for this title">[% GROUP_RESULT.title %]
227 [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% GROUP_RESULT.biblionumber |url %]" title="View details for this title">[% GROUP_RESULT.title %]
229 [% FOREACH subtitl IN GROUP_RESULT.subtitle %]
230 [% subtitl.subfield %]
234 [% IF ( GROUP_RESULT.author ) %]by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% GROUP_RESULT.author |url %]" title="Search for works by this author">[% GROUP_RESULT.author %]</a>
235 [% ELSE %] [% END %]
236 <p> [% IF ( GROUP_RESULT.publicationyear ) %] - [% GROUP_RESULT.publicationyear %][% END %]
237 [% IF ( GROUP_RESULT.publishercode ) %]- [% GROUP_RESULT.publishercode %][% END %]
238 [% IF ( GROUP_RESULT.place ) %] ; [% GROUP_RESULT.place %][% END %]
239 [% IF ( GROUP_RESULT.pages ) %] - [% GROUP_RESULT.pages %][% END %]
240 [% IF ( GROUP_RESULT.notes ) %] : [% GROUP_RESULT.notes %][% END %]
241 [% IF ( GROUP_RESULT.size ) %] ; [% GROUP_RESULT.size %][% END %]
242 [% IF ( GROUP_RESULT.timestamp ) %] <i>(modified on [% GROUP_RESULT.timestamp %])</i>[% END %]
244 [% IF ( GROUP_RESULT.searchhighlightblob ) %]<p class="searchhighlightblob">[% GROUP_RESULT.searchhighlightblob %]</p>[% END %]
245 <p class="availability">
246 [% IF ( GROUP_RESULT.available_items_loop ) %]
247 <span class="available"><strong>Copies available at:</strong>
248 [% FOREACH available_items_loo IN GROUP_RESULT.available_items_loop %]
249 [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %]
250 [% IF ( OPACItemsResultsDisplay ) %]
251 [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %]
252 [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/opac-search.pl?q=callnum:[% available_items_loo.itemcallnumber |url %]">[% available_items_loo.itemcallnumber %]</a>][% END %]
254 ([% available_items_loo.count %]),
258 <span class="unavailable">No items available:</span>
260 <span class="unavailable">
261 [% IF ( GROUP_RESULT.onloancount ) %] Checked out ([% GROUP_RESULT.onloancount %]), [% END %]
262 [% IF ( GROUP_RESULT.wthdrawncount ) %] Withdrawn ([% GROUP_RESULT.wthdrawncount %]), [% END %]
263 [% IF ( GROUP_RESULT.itemlostcount ) %] Lost ([% GROUP_RESULT.itemlostcount %]),[% END %]
264 [% IF ( GROUP_RESULT.damagedcount ) %] Damaged ([% GROUP_RESULT.damagedcount %]),[% END %]
265 [% IF ( GROUP_RESULT.orderedcount ) %] On order ([% GROUP_RESULT.orderedcount %]),[% END %]
266 [% IF ( GROUP_RESULT.intransitcount ) %] In transit ([% GROUP_RESULT.intransitcount %]),[% END %]
271 [% IF ( RequestOnOpac ) %]
272 [% UNLESS ( GROUP_RESULT.norequests ) %]
273 [% IF ( opacuserlogin ) %]
274 [% IF ( AllowOnShelfHolds ) %]
275 <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% GROUP_RESULT.biblionumber %]">Place hold</a><!-- add back when available 0 holds in queue-->
277 [% IF ( GROUP_RESULT.itemsissued ) %]
278 <a class="hold" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% GROUP_RESULT.biblionumber %]">Place hold</a><!-- add back when available 0 holds in queue-->
285 [% IF ( opacbookbag || virtualshelves ) %]<input type="checkbox" name="biblionumber" value="[% GROUP_RESULT.biblionumber %]" title="Click to add to cart" /> <label for="bib[% GROUP_RESULT.biblionumber %]">[% END %]<img src="[% themelang %]/images/[% GROUP_RESULT.itemtype %].gif" alt="[% GROUP_RESULT.ccode %]" title="[% GROUP_RESULT.ccode %]" />[% IF ( opacbookbag || virtualshelves ) %]</label>[% END %] [% IF ( GROUP_RESULT.classification ) %]
286 <a href="/cgi-bin/koha/opac-search.pl?q=callnum:[% GROUP_RESULT.classification |url %]">
287 [% GROUP_RESULT.classification %]
298 [% INCLUDE 'page-numbers.inc' %]
303 [% IF ( suggestion ) %]
304 [% IF ( AnonSuggestions ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% ELSE %][% IF ( loggedinusername ) %]<div class="suggestion">Not finding what you're looking for?<br /> Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></div>[% END %][% END %]
310 <!-- FACETS START -->
311 [% IF ( opacfacets ) %]
312 [% INCLUDE 'opac-facets.inc' %]
319 [% INCLUDE 'opac-bottom.inc' %]