|
Lines 105-111
function highlightOn() {
Link Here
|
| 105 |
$(document).ready(function(){ |
105 |
$(document).ready(function(){ |
| 106 |
[% IF ( OpacHighlightedWords ) %] |
106 |
[% IF ( OpacHighlightedWords ) %] |
| 107 |
$('a.title').each(function() { |
107 |
$('a.title').each(function() { |
| 108 |
$(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | uri %]'); |
108 |
$(this).attr("href", $(this).attr("href") + "&query_desc=[% query_desc | uri %]"); |
| 109 |
}); |
109 |
}); |
| 110 |
[% END %] |
110 |
[% END %] |
| 111 |
|
111 |
|
|
Lines 303-314
$(document).ready(function(){
Link Here
|
| 303 |
[% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] |
303 |
[% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] |
| 304 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
304 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
| 305 |
|
305 |
|
| 306 |
$('#didyoumean').load('/cgi-bin/koha/svc/suggestion?render=stub&q=[% querystring | uri %]', |
306 |
[% IF ( DidYouMean ) %] |
|
|
307 |
$("#didyoumean").load("/cgi-bin/koha/svc/suggestion?render=stub&q=[% querystring |uri %]", |
| 307 |
function() { |
308 |
function() { |
| 308 |
$('.searchsuggestion').parent().parent().css({ |
309 |
$(".searchsuggestion").parent().parent().css({ |
| 309 |
'border-color': '#F4ECBE', |
310 |
"border-color": "#F4ECBE", |
| 310 |
'background-color': '#FFFBEA'}); |
311 |
"background-color": "#FFFBEA" |
| 311 |
} ); |
312 |
}); |
|
|
313 |
}); |
| 314 |
[% END %] |
| 315 |
|
| 312 |
}); |
316 |
}); |
| 313 |
|
317 |
|
| 314 |
//]]> |
318 |
//]]> |
|
Lines 325-331
$(document).ready(function(){
Link Here
|
| 325 |
<div class="yui-b"> |
329 |
<div class="yui-b"> |
| 326 |
<div id="userresults" class="container"> |
330 |
<div id="userresults" class="container"> |
| 327 |
[% IF ( DidYouMean ) %] |
331 |
[% IF ( DidYouMean ) %] |
| 328 |
<div id='didyoumean'>Not what you expected? Check for <a href='/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring | uri %]'>suggestions</a></div> |
332 |
<div id="didyoumean">Not what you expected? Check for <a href="/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring |uri %]">suggestions</a></div> |
| 329 |
[% END %] |
333 |
[% END %] |
| 330 |
<div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div> |
334 |
<div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div> |
| 331 |
[% IF ( koha_spsuggest ) %] |
335 |
[% IF ( koha_spsuggest ) %] |
|
Lines 607-614
$(document).ready(function(){
Link Here
|
| 607 |
[% END %] |
611 |
[% END %] |
| 608 |
|
612 |
|
| 609 |
[% END %] |
613 |
[% END %] |
| 610 |
<input type="hidden" name='biblionumber' value="[% SEARCH_RESULT.biblionumber %]" /> |
614 |
<input type="hidden" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> |
| 611 |
<input type="hidden" name='loggedinuser' value="[% loggedinuser %]" /> |
615 |
<input type="hidden" name="loggedinuser" value="[% loggedinuser %]" /> |
| 612 |
|
616 |
|
| 613 |
[% IF ( SEARCH_RESULT.rating_total ) > 0 %] |
617 |
[% IF ( SEARCH_RESULT.rating_total ) > 0 %] |
| 614 |
<span id="rating_total_[% SEARCH_RESULT.biblionumber %]"> ([% SEARCH_RESULT.rating_total %] votes)</span> |
618 |
<span id="rating_total_[% SEARCH_RESULT.biblionumber %]"> ([% SEARCH_RESULT.rating_total %] votes)</span> |