Lines 1-21
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title> |
2 |
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
4 |
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/en/css/datatables.css" /> |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
5 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
|
|
6 |
[% INCLUDE 'datatables-strings.inc' %] |
7 |
<script type="text/javascript" src="/intranet-tmpl/prog/en/js/datatables.js"></script> |
6 |
<script type="text/javascript" id="js">$(document).ready(function() { |
8 |
<script type="text/javascript" id="js">$(document).ready(function() { |
7 |
$.tablesorter.addParser({ |
9 |
$(document).ready(function() { |
8 |
id: 'articles', |
10 |
$("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, { |
9 |
is: function(s) {return false; }, |
11 |
"sPaginationType": "four_button", |
10 |
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, |
12 |
})); |
11 |
type: 'text' |
13 |
}); |
12 |
}); |
|
|
13 |
$.tablesorter.defaults.widgets = ['zebra']; |
14 |
$("#table_readingrec").tablesorter({[% IF ( dateformat_metric ) %] |
15 |
dateFormat: 'uk',[% END %] |
16 |
sortList: [[8,1]], |
17 |
headers: { 1: { sorter: 'articles' }, 9: { sorter: 'shortDate'} } |
18 |
}).tablesorterPager({container: $("#pagertable_readingrec"),positionFixed: false,size: 20}); |
19 |
}); </script> |
14 |
}); </script> |
20 |
</head> |
15 |
</head> |
21 |
<body> |
16 |
<body> |
Lines 34-42
Link Here
|
34 |
[% IF ( loop_reading ) %] |
29 |
[% IF ( loop_reading ) %] |
35 |
<form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form> |
30 |
<form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /></form> |
36 |
|
31 |
|
37 |
<div id="pagertable_readingrec"> |
|
|
38 |
[% INCLUDE 'table-pager.inc' perpage='20' %] |
39 |
</div> |
40 |
<table id="table_readingrec"> |
32 |
<table id="table_readingrec"> |
41 |
<thead> |
33 |
<thead> |
42 |
<th>Date</th> |
34 |
<th>Date</th> |
43 |
- |
|
|