Lines 27-33
$.tablesorter.addParser({
Link Here
|
27 |
}); |
27 |
}); |
28 |
$("#overduest").tablesorter(); |
28 |
$("#overduest").tablesorter(); |
29 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
29 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
30 |
[% IF ( OpacRenewalAllowed ) %][% IF ( canrenew ) %]$("#renewselected").submit(function(){ |
30 |
[% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %]$("#renewselected").submit(function(){ |
31 |
valid = false; |
31 |
valid = false; |
32 |
$("input[type=checkbox]").each(function(){ |
32 |
$("input[type=checkbox]").each(function(){ |
33 |
if($(this).is(':checked')){ |
33 |
if($(this).is(':checked')){ |
Lines 45-51
$.tablesorter.addParser({
Link Here
|
45 |
$("#renewall_link").live('click',function(){ |
45 |
$("#renewall_link").live('click',function(){ |
46 |
$("#renewall").submit(); |
46 |
$("#renewall").submit(); |
47 |
}); |
47 |
}); |
48 |
$("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>");[% END %][% END %] |
48 |
$("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>");[% END %] |
49 |
}); |
49 |
}); |
50 |
//]]> |
50 |
//]]> |
51 |
</script> |
51 |
</script> |
Lines 92-99
$.tablesorter.addParser({
Link Here
|
92 |
[% IF ( BORROWER_INF.flagged ) %] |
92 |
[% IF ( BORROWER_INF.flagged ) %] |
93 |
<div class="dialog alert"> |
93 |
<div class="dialog alert"> |
94 |
<ul> |
94 |
<ul> |
95 |
[% IF ( BORROWER_INF.debarred ) %] |
95 |
[% IF ( userdebarred ) %] |
96 |
<li><strong>Please note:</strong> Your account has been frozen until [% BORROWER_INF.debarred %] - [% BORROWER_INF.debarredcomment %]. Usually the reason for freezing an account is old overdues or damage fees.If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please contact the library.</li> |
96 |
<li><strong>Please note:</strong> Your account has been frozen[% IF ( BORROWER_INF.userdebarreddate ) %] until [% BORROWER_INF.userdebarreddate %][% END %][% IF ( BORROWER_INF.debarredcomment ) %] with the comment "[% BORROWER_INF.debarredcomment %]"[% END %]. Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please contact the library.</li> |
97 |
[% END %] |
97 |
[% END %] |
98 |
[% IF ( BORROWER_INF.gonenoaddress ) %] |
98 |
[% IF ( BORROWER_INF.gonenoaddress ) %] |
99 |
<li><strong>Please note:</strong> According to our records, we don't have up-to-date [% UNLESS ( BORROWER_INF.OPACPatronDetails ) %]<a href="/cgi-bin/koha/opac-userupdate.pl">contact information</a>[% ELSE %]contact information[% END %] on file. Please contact the library[% IF ( BORROWER_INF.OPACPatronDetails ) %] or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)[% END %].</li> |
99 |
<li><strong>Please note:</strong> According to our records, we don't have up-to-date [% UNLESS ( BORROWER_INF.OPACPatronDetails ) %]<a href="/cgi-bin/koha/opac-userupdate.pl">contact information</a>[% ELSE %]contact information[% END %] on file. Please contact the library[% IF ( BORROWER_INF.OPACPatronDetails ) %] or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)[% END %].</li> |
Lines 260-273
$.tablesorter.addParser({
Link Here
|
260 |
</tr> |
260 |
</tr> |
261 |
[% END %]</tbody> |
261 |
[% END %]</tbody> |
262 |
</table> |
262 |
</table> |
263 |
[% IF ( canrenew ) %] |
263 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %] |
264 |
[% IF ( OpacRenewalAllowed ) %] |
|
|
265 |
<input type="submit" value="Renew Selected" /> |
264 |
<input type="submit" value="Renew Selected" /> |
266 |
[% END %] |
265 |
[% END %] |
267 |
[% END %] |
|
|
268 |
</form> |
266 |
</form> |
269 |
[% IF ( OpacRenewalAllowed ) %] |
267 |
[% IF ( canrenew && !userdebarred && OpacRenewalAllowed ) %] |
270 |
[% IF ( canrenew ) %] |
|
|
271 |
<form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
268 |
<form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post"> |
272 |
<input type="hidden" name="from" value="opac_user" /> |
269 |
<input type="hidden" name="from" value="opac_user" /> |
273 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
270 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
Lines 277-283
$.tablesorter.addParser({
Link Here
|
277 |
[% UNLESS patron_flagged %]<input type="submit" value="Renew All" />[% END %] |
274 |
[% UNLESS patron_flagged %]<input type="submit" value="Renew All" />[% END %] |
278 |
</form> |
275 |
</form> |
279 |
[% END %] |
276 |
[% END %] |
280 |
[% END %] |
|
|
281 |
[% ELSE %] |
277 |
[% ELSE %] |
282 |
<table> |
278 |
<table> |
283 |
<tr><td>You have nothing checked out</td></tr> |
279 |
<tr><td>You have nothing checked out</td></tr> |