|
Lines 65-71
$(document).ready(function() {
Link Here
|
| 65 |
$('#'+ui.newTab.context.id).click(); |
65 |
$('#'+ui.newTab.context.id).click(); |
| 66 |
} |
66 |
} |
| 67 |
} ); |
67 |
} ); |
| 68 |
$("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, { |
68 |
$(CAN_user_reserveforothers("#holdst").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 69 |
"sDom": 't', |
69 |
"sDom": 't', |
| 70 |
"aoColumnDefs": [ |
70 |
"aoColumnDefs": [ |
| 71 |
{ "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false } |
71 |
{ "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false } |
|
Lines 74-80
$(document).ready(function() {
Link Here
|
| 74 |
{ "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null,null,null |
74 |
{ "sType": "title-string" },{ "sType": "anti-the" },null,null,null,null,null,null |
| 75 |
], |
75 |
], |
| 76 |
"bPaginate": false |
76 |
"bPaginate": false |
| 77 |
})); |
77 |
}))); |
| 78 |
[% IF ( picture ) %] |
78 |
[% IF ( picture ) %] |
| 79 |
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button |
79 |
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button |
| 80 |
$('#delpicture').click(function(){ |
80 |
$('#delpicture').click(function(){ |
|
Lines 446-452
function validate1(date) {
Link Here
|
| 446 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
446 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
| 447 |
<li><span class="label">Check previous checkouts: </span> |
447 |
<li><span class="label">Check previous checkouts: </span> |
| 448 |
[% IF ( checkprevcheckout == 'yes' ) %] |
448 |
[% IF ( checkprevcheckout == 'yes' ) %] |
| 449 |
Yes |
449 |
Yes |
| 450 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
450 |
[% ELSIF ( checkprevcheckout == 'no' ) %] |
| 451 |
No |
451 |
No |
| 452 |
[% ELSE %] |
452 |
[% ELSE %] |
|
Lines 508-520
function validate1(date) {
Link Here
|
| 508 |
<li><a href="#relatives-issues" id="relatives-issues-tab">Relatives' checkouts</a></li> |
508 |
<li><a href="#relatives-issues" id="relatives-issues-tab">Relatives' checkouts</a></li> |
| 509 |
[% END %] |
509 |
[% END %] |
| 510 |
<li><a href="#finesandcharges">Fines & Charges</a></li> |
510 |
<li><a href="#finesandcharges">Fines & Charges</a></li> |
|
|
511 |
[% IF has_reserveforothers_permission %] |
| 511 |
<li> |
512 |
<li> |
| 512 |
[% IF ( holds_count ) %] |
513 |
[% IF ( holds_count ) %] |
| 513 |
<a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a> |
514 |
<a href="#reserves" id="holds-tab">[% holds_count %] Hold(s)</a> |
| 514 |
[% ELSE %] |
515 |
[% ELSE %] |
| 515 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
516 |
<a href="#reserves" id="holds-tab">0 Holds</a> |
| 516 |
[% END %] |
517 |
[% END %] |
| 517 |
</li> |
518 |
</li> |
|
|
519 |
[% END %] |
| 518 |
[% IF Koha.Preference('ArticleRequests') %] |
520 |
[% IF Koha.Preference('ArticleRequests') %] |
| 519 |
<li> |
521 |
<li> |
| 520 |
<a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count %] Article requests</a> |
522 |
<a href="#article-requests" id="article-requests-tab"> [% patron.article_requests_current.count %] Article requests</a> |
|
Lines 574-579
function validate1(date) {
Link Here
|
| 574 |
|
576 |
|
| 575 |
[% INCLUDE borrower_debarments.inc %] |
577 |
[% INCLUDE borrower_debarments.inc %] |
| 576 |
|
578 |
|
|
|
579 |
[% IF has_reserveforothers_permission %] |
| 577 |
<div id="reserves"> |
580 |
<div id="reserves"> |
| 578 |
[% IF ( holds_count ) %] |
581 |
[% IF ( holds_count ) %] |
| 579 |
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> |
582 |
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post"> |
|
Lines 620-631
function validate1(date) {
Link Here
|
| 620 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
623 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
| 621 |
<input type="hidden" name="suspend" value="0" /> |
624 |
<input type="hidden" name="suspend" value="0" /> |
| 622 |
<input type="submit" value="Resume all suspended holds" /> |
625 |
<input type="submit" value="Resume all suspended holds" /> |
| 623 |
</form> |
626 |
</form> |
| 624 |
</fieldset> |
627 |
</fieldset> |
| 625 |
[% END # IF SuspendHoldsIntranet %] |
628 |
[% END # IF SuspendHoldsIntranet %] |
| 626 |
|
629 |
|
| 627 |
[% ELSE %]<p>Patron has nothing on hold.</p>[% END %] |
630 |
[% ELSE %]<p>Patron has nothing on hold.</p>[% END %] |
| 628 |
</div> |
631 |
</div> |
|
|
632 |
[% END %] |
| 629 |
|
633 |
|
| 630 |
|
634 |
|
| 631 |
[% IF Koha.Preference('ArticleRequests') %] |
635 |
[% IF Koha.Preference('ArticleRequests') %] |