Lines 107-113
function highlightOn() {
Link Here
|
107 |
$(document).ready(function(){ |
107 |
$(document).ready(function(){ |
108 |
[% IF ( OpacHighlightedWords ) %] |
108 |
[% IF ( OpacHighlightedWords ) %] |
109 |
$('a.title').each(function() { |
109 |
$('a.title').each(function() { |
110 |
$(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | url %]'); |
110 |
$(this).attr("href", $(this).attr("href") + "&query_desc=[% query_desc | uri %]"); |
111 |
}); |
111 |
}); |
112 |
[% END %] |
112 |
[% END %] |
113 |
|
113 |
|
Lines 272-283
$(document).ready(function(){
Link Here
|
272 |
[% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] |
272 |
[% IF OPACLocalCoverImages %]KOHA.LocalCover.GetCoverFromBibnumber(false);[% END %] |
273 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
273 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
274 |
|
274 |
|
275 |
$('#didyoumean').load('/cgi-bin/koha/svc/suggestion?render=stub&q=[% querystring | uri %]', |
275 |
[% IF ( DidYouMean ) %] |
|
|
276 |
$("#didyoumean").load("/cgi-bin/koha/svc/suggestion?render=stub&q=[% querystring |uri %]", |
276 |
function() { |
277 |
function() { |
277 |
$('.searchsuggestion').parent().parent().css({ |
278 |
$(".searchsuggestion").parent().parent().css({ |
278 |
'border-color': '#F4ECBE', |
279 |
"border-color": "#F4ECBE", |
279 |
'background-color': '#FFFBEA'}); |
280 |
"background-color": "#FFFBEA" |
280 |
} ); |
281 |
}); |
|
|
282 |
}); |
283 |
[% END %] |
284 |
|
281 |
}); |
285 |
}); |
282 |
|
286 |
|
283 |
//]]> |
287 |
//]]> |
Lines 294-300
$(document).ready(function(){
Link Here
|
294 |
<div class="yui-b"> |
298 |
<div class="yui-b"> |
295 |
<div id="userresults" class="container"> |
299 |
<div id="userresults" class="container"> |
296 |
[% IF ( DidYouMean ) %] |
300 |
[% IF ( DidYouMean ) %] |
297 |
<div id='didyoumean'>Not what you expected? Check for <a href='/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring | uri %]'>suggestions</a></div> |
301 |
<div id="didyoumean">Not what you expected? Check for <a href="/cgi-bin/koha/svc/suggestion?render=standalone&q=[% querystring |uri %]">suggestions</a></div> |
298 |
[% END %] |
302 |
[% END %] |
299 |
<div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div> |
303 |
<div id="top-pages">[% INCLUDE 'page-numbers.inc' %]</div> |
300 |
[% IF ( koha_spsuggest ) %] |
304 |
[% IF ( koha_spsuggest ) %] |
Lines 576-583
$(document).ready(function(){
Link Here
|
576 |
[% END %] |
580 |
[% END %] |
577 |
|
581 |
|
578 |
[% END %] |
582 |
[% END %] |
579 |
<input type="hidden" name='biblionumber' value="[% SEARCH_RESULT.biblionumber %]" /> |
583 |
<input type="hidden" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> |
580 |
<input type="hidden" name='loggedinuser' value="[% loggedinuser %]" /> |
584 |
<input type="hidden" name="loggedinuser" value="[% loggedinuser %]" /> |
581 |
|
585 |
|
582 |
[% IF ( SEARCH_RESULT.rating_total ) > 0 %] |
586 |
[% IF ( SEARCH_RESULT.rating_total ) > 0 %] |
583 |
<span id="rating_total_[% SEARCH_RESULT.biblionumber %]"> ([% SEARCH_RESULT.rating_total %] votes)</span> |
587 |
<span id="rating_total_[% SEARCH_RESULT.biblionumber %]"> ([% SEARCH_RESULT.rating_total %] votes)</span> |