View | Details | Raw Unified | Return to bug 9493
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-5 / +7 lines)
Lines 8-14 Link Here
8
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
8
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
9
<script type="text/JavaScript">
9
<script type="text/JavaScript">
10
//<![CDATA[
10
//<![CDATA[
11
var MSG_CONFIRM_DELETE_HOLD = _("Are you sure you want to cancel this hold?");
11
var MSG_CONFIRM_DELETE_HOLD   = _("Are you sure you want to cancel this hold?");
12
var MSG_CONFIRM_SUSPEND_HOLDS = _("Are you sure you want to suspend all holds?");
13
var MSG_CONFIRM_RESUME_HOLDS  = _("Are you sure you want to resume all suspended holds?");
14
12
$.tablesorter.addParser({
15
$.tablesorter.addParser({
13
    id: 'articles', 
16
    id: 'articles', 
14
    is: function(s) {return false;  }, 
17
    is: function(s) {return false;  }, 
Lines 410-416 $.tablesorter.addParser({ Link Here
410
			<form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
413
			<form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
411
			<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
414
			<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
412
		<input type="hidden" name="reservenumber" value="[% RESERVE.reservenumber %]" />
415
		<input type="hidden" name="reservenumber" value="[% RESERVE.reservenumber %]" />
413
			<input type="submit" name="submit" class="icon delete cancel" value="Cancel" onclick="return confirmDelete('Are you sure you want to cancel this hold?');" /></form>
416
			<input type="submit" name="submit" class="icon delete cancel" value="Cancel" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);" /></form>
414
		[% ELSE %]
417
		[% ELSE %]
415
		[% END %]
418
		[% END %]
416
		</td>
419
		</td>
Lines 424-430 $.tablesorter.addParser({ Link Here
424
        [% IF SuspendHoldsOpac %]
427
        [% IF SuspendHoldsOpac %]
425
	<div>
428
	<div>
426
            <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
429
            <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
427
              <input type="submit" name="submit" class="icon delete cancel" value="Suspend all holds" onclick="return confirmDelete('Are you sure you want to suspend all holds?');" />
430
              <input type="submit" name="submit" class="icon delete cancel" value="Suspend all holds" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);" />
428
              <input type="hidden" name="suspend" value="1" />
431
              <input type="hidden" name="suspend" value="1" />
429
432
430
	      [% IF AutoResumeSuspendedHolds %]
433
	      [% IF AutoResumeSuspendedHolds %]
Lines 436-442 $.tablesorter.addParser({ Link Here
436
	</div>
439
	</div>
437
	<div>
440
	<div>
438
            <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
441
            <form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post">
439
              <input type="submit" name="submit" class="icon delete cancel" value="Resume all suspended holds" onclick="return confirmDelete('Are you sure you want to resume all suspended holds?');" />
442
              <input type="submit" name="submit" class="icon delete cancel" value="Resume all suspended holds" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);" />
440
              <input type="hidden" name="suspend" value="0" />
443
              <input type="hidden" name="suspend" value="0" />
441
            </form>
444
            </form>
442
	</div>
445
	</div>
443
- 

Return to bug 9493