Lines 555-562
Link Here
|
555 |
[% IF ( OpacStarRatings == 'all' || Koha.Preference('Babeltheque') ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>[% END %] |
555 |
[% IF ( OpacStarRatings == 'all' || Koha.Preference('Babeltheque') ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.rating.js"></script>[% END %] |
556 |
[% IF ( OverDriveEnabled ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/js/overdrive.js"></script>[% END %] |
556 |
[% IF ( OverDriveEnabled ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/js/overdrive.js"></script>[% END %] |
557 |
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
557 |
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
558 |
[% IF ( OpacHighlightedWords ) %]<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.highlight-3.js"></script> |
558 |
[% IF ( OpacHighlightedWords ) %][% INCLUDE 'opac-highlight.inc' %][% END %] |
559 |
[% END %]<script type="text/javascript"> |
559 |
<script type="text/javascript"> |
560 |
//<![CDATA[ |
560 |
//<![CDATA[ |
561 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %] |
561 |
[% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %] |
562 |
function holdMultiple() { |
562 |
function holdMultiple() { |
Lines 641-666
function enableCheckboxActions(){
Link Here
|
641 |
} |
641 |
} |
642 |
} |
642 |
} |
643 |
|
643 |
|
644 |
[% IF ( OpacHighlightedWords ) %] |
|
|
645 |
var q_array = new Array(); // holds search terms if available |
646 |
|
647 |
function highlightOff() { |
648 |
$("td").removeHighlight(); |
649 |
$(".highlight_toggle").toggle(); |
650 |
} |
651 |
function highlightOn() { |
652 |
var x; |
653 |
for (x in q_array) { |
654 |
q_array[x] = q_array[x].replace(/\w*:([\w])/, "$1"); |
655 |
if ( q_array[x].length > 0 ) { |
656 |
$(".title").highlight(q_array[x]); |
657 |
$(".author").highlight(q_array[x]); |
658 |
$(".results_summary").highlight(q_array[x]); |
659 |
} |
660 |
} |
661 |
$(".highlight_toggle").toggle(); |
662 |
} |
663 |
[% END %] |
664 |
$(document).ready(function(){ |
644 |
$(document).ready(function(){ |
665 |
[% IF ( OpacHighlightedWords ) %] |
645 |
[% IF ( OpacHighlightedWords ) %] |
666 |
$('a.title').each(function() { |
646 |
$('a.title').each(function() { |