Lines 3-21
Link Here
|
3 |
<title>Koha › Tools › Batch patron modification</title> |
3 |
<title>Koha › Tools › Batch patron modification</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'calendar.inc' %] |
5 |
[% INCLUDE 'calendar.inc' %] |
6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
6 |
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> |
7 |
<script type="text/JavaScript"> |
7 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
|
|
8 |
[% INCLUDE 'datatables-strings.inc' %] |
9 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> |
10 |
<script type="text/javascript"> |
8 |
//<![CDATA[ |
11 |
//<![CDATA[ |
|
|
12 |
[% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %] |
9 |
var patron_attributes_lib = new Array(); |
13 |
var patron_attributes_lib = new Array(); |
10 |
var patron_attributes_values = new Array(); |
14 |
var patron_attributes_values = new Array(); |
11 |
$(document).ready(function() { |
15 |
$(document).ready(function() { |
12 |
[% IF borrowers %] |
16 |
[% IF borrowers %] |
13 |
$("#borrowerst").tablesorter({ |
17 |
$("#borrowerst").dataTable($.extend(true, {}, dataTablesDefaults, { |
14 |
headers: { 0: { sorter: false}}, |
18 |
"sDom": 't', |
15 |
widgets : ['zebra'], |
19 |
"aoColumnDefs": [ |
16 |
sortList: [[1,0]] |
20 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false } |
17 |
}); |
21 |
], |
18 |
|
22 |
"bPaginate": false |
|
|
23 |
})); |
19 |
$("#selectallbutton").click(function() { |
24 |
$("#selectallbutton").click(function() { |
20 |
$("#borrowerst").find("input:checkbox").each(function() { |
25 |
$("#borrowerst").find("input:checkbox").each(function() { |
21 |
$(this).attr("checked", true); |
26 |
$(this).attr("checked", true); |
22 |
- |
|
|