|
Lines 9-16
Link Here
|
| 9 |
{lang: '[% lang %]'} |
9 |
{lang: '[% lang %]'} |
| 10 |
</script> |
10 |
</script> |
| 11 |
[% END %] |
11 |
[% END %] |
| 12 |
<script type="text/javascript" src="/opac-tmpl/prog/en/lib/jquery/plugins/jquery.rating.js"></script> |
12 |
[% IF ( OpacStarRatings != 'disable' ) %]<script type="text/javascript" src="/opac-tmpl/prog/en/lib/jquery/plugins/jquery.rating.js"></script> |
| 13 |
<link rel="stylesheet" type="text/css" href="/opac-tmpl/prog/en/css/jquery.rating.css" /> |
13 |
<link rel="stylesheet" type="text/css" href="/opac-tmpl/prog/en/css/jquery.rating.css" />[% END %] |
| 14 |
|
14 |
|
| 15 |
<script type="text/JavaScript" language="JavaScript"> |
15 |
<script type="text/JavaScript" language="JavaScript"> |
| 16 |
//<![CDATA[ |
16 |
//<![CDATA[ |
|
Lines 89-95
Link Here
|
| 89 |
[% END %] |
89 |
[% END %] |
| 90 |
|
90 |
|
| 91 |
$(".branch-info-tooltip-trigger").tooltip({delay: 100, position: "top right"}); |
91 |
$(".branch-info-tooltip-trigger").tooltip({delay: 100, position: "top right"}); |
| 92 |
|
92 |
[% IF ( OpacStarRatings != 'disable' ) %] |
| 93 |
// ----------------------------------------------------- |
93 |
// ----------------------------------------------------- |
| 94 |
// star-ratings code |
94 |
// star-ratings code |
| 95 |
// ----------------------------------------------------- |
95 |
// ----------------------------------------------------- |
|
Lines 136-142
$(function () {
Link Here
|
| 136 |
}); |
136 |
}); |
| 137 |
}); |
137 |
}); |
| 138 |
// ----------------------------------------------------- |
138 |
// ----------------------------------------------------- |
| 139 |
|
139 |
[% END %] |
| 140 |
}); |
140 |
}); |
| 141 |
|
141 |
|
| 142 |
[% IF ( OpacBrowseResults && busc ) %] |
142 |
[% IF ( OpacBrowseResults && busc ) %] |
|
Lines 563-569
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 563 |
<input type="hidden" name='rating_total' id='rating_total' value="[% rating_total %]" /> |
563 |
<input type="hidden" name='rating_total' id='rating_total' value="[% rating_total %]" /> |
| 564 |
<input type="hidden" name='rating_avg_int' id='rating_avg_int' value="[% rating_avg_int %]" /> |
564 |
<input type="hidden" name='rating_avg_int' id='rating_avg_int' value="[% rating_avg_int %]" /> |
| 565 |
|
565 |
|
| 566 |
[% UNLESS ( rating_readonly ) %] <INPUT name="rate_button" type="submit" value="Rate me">[% END %] |
566 |
[% UNLESS ( rating_readonly ) %] <input name="rate_button" type="submit" value="Rate me" />[% END %] |
| 567 |
|
567 |
|
| 568 |
[% IF ( rating_value ) %] |
568 |
[% IF ( rating_value ) %] |
| 569 |
<span id="rating_value_text">your rating: [% rating_value %], </span> |
569 |
<span id="rating_value_text">your rating: [% rating_value %], </span> |
|
Lines 574-580
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 574 |
<span id="rating_text">average rating: [% rating_avg_int %] ([% rating_total %] votes)</span> |
574 |
<span id="rating_text">average rating: [% rating_avg_int %] ([% rating_total %] votes)</span> |
| 575 |
|
575 |
|
| 576 |
</div> |
576 |
</div> |
| 577 |
</FORM> |
577 |
</form> |
| 578 |
[% END %] |
578 |
[% END %] |
| 579 |
|
579 |
|
| 580 |
[% IF ( BakerTaylorContentURL ) %] |
580 |
[% IF ( BakerTaylorContentURL ) %] |