|
Lines 4-11
Link Here
|
| 4 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
4 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
| 5 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
5 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pager.js"></script> |
| 6 |
<script type="text/javascript" id="js">$(document).ready(function() { |
6 |
<script type="text/javascript" id="js">$(document).ready(function() { |
|
|
7 |
$.tablesorter.addParser({ |
| 8 |
id: 'articles', |
| 9 |
is: function(s) {return false; }, |
| 10 |
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, |
| 11 |
type: 'text' |
| 12 |
}); |
| 13 |
$.tablesorter.defaults.widgets = ['zebra']; |
| 7 |
$("#table_readingrec").tablesorter({ |
14 |
$("#table_readingrec").tablesorter({ |
| 8 |
sortList: [[1,0]], |
15 |
sortList: [[8,1]], |
|
|
16 |
headers: { 1: { sorter: 'articles' }} |
| 9 |
}).tablesorterPager({container: $("#pagertable_readingrec"),positionFixed: false,size: 20}); |
17 |
}).tablesorterPager({container: $("#pagertable_readingrec"),positionFixed: false,size: 20}); |
| 10 |
}); </script> |
18 |
}); </script> |
| 11 |
</head> |
19 |
</head> |
|
Lines 23-31
Link Here
|
| 23 |
<!-- TMPL_INCLUDE NAME="circ-toolbar.inc" --> |
31 |
<!-- TMPL_INCLUDE NAME="circ-toolbar.inc" --> |
| 24 |
<h1>Reading Record</h1> |
32 |
<h1>Reading Record</h1> |
| 25 |
<form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /></form> |
33 |
<form action="/cgi-bin/koha/members/readingrec.pl" method="get"><input type="hidden" name="borrowernumber" id="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /></form> |
| 26 |
<p><!-- TMPL_IF NAME="showfulllink" -->Showing All Items | |
34 |
|
| 27 |
<a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&limit=50">Show Last 50 Items Only</a> <!-- TMPL_ELSE --> Showing Last 50 Items | |
|
|
| 28 |
<a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&limit=full">Show All Items</a><!-- /TMPL_IF --></p> |
| 29 |
<span id="pagertable_readingrec" class="pager"> |
35 |
<span id="pagertable_readingrec" class="pager"> |
| 30 |
<form class="formpager"> <strong>page(s)</strong> : |
36 |
<form class="formpager"> <strong>page(s)</strong> : |
| 31 |
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/> |
37 |
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/> |
|
Lines 46-84
Link Here
|
| 46 |
</span> |
52 |
</span> |
| 47 |
<table id="table_readingrec"> |
53 |
<table id="table_readingrec"> |
| 48 |
<thead> |
54 |
<thead> |
| 49 |
<th> |
55 |
<th>Date</th> |
| 50 |
<a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&order=issuestimestamp&limit=<!-- TMPL_VAR name="limit" -->">Date</a> |
56 |
<th>Title</th> |
| 51 |
</th> |
57 |
<th>Author</th> |
| 52 |
<th> |
|
|
| 53 |
<a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&order=title&limit=<!-- TMPL_VAR name="limit" -->">Title</a> |
| 54 |
</th> |
| 55 |
<th> |
| 56 |
<a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&order=author&limit=<!-- TMPL_VAR name="limit" -->">Author</a> |
| 57 |
</th> |
| 58 |
<th>Call No.</th> |
58 |
<th>Call No.</th> |
| 59 |
<th>Barcode</th> |
59 |
<th>Barcode</th> |
| 60 |
<th>Number of Renewals</th> |
60 |
<th>Number of Renewals</th> |
| 61 |
<th>Checked out on</th> |
61 |
<th>Checked out on</th> |
| 62 |
<th>Checked out from</th> |
62 |
<th>Checked out from</th> |
| 63 |
<th>Date Due</th> |
63 |
<th>Date Due</th> |
| 64 |
<th> |
64 |
<th>Return Date</th> |
| 65 |
<a href="readingrec.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber" -->&order=returndate%20DESC&limit=<!-- TMPL_VAR name="limit" -->">Return Date</a> |
|
|
| 66 |
</th> |
| 67 |
</thead> |
65 |
</thead> |
| 68 |
<!-- TMPL_LOOP name="loop_reading" --> |
66 |
<!-- TMPL_LOOP name="loop_reading" --> |
| 69 |
<!-- TMPL_UNLESS NAME="__odd__" --> |
|
|
| 70 |
<!-- TMPL_IF NAME="returndate" --><tr class="highlight"><!-- TMPL_ELSE --><tr class="highlight onissue"><!-- /TMPL_IF --> |
| 71 |
<!-- TMPL_ELSE --> |
| 72 |
<!-- TMPL_IF NAME="returndate" --><tr><!-- TMPL_ELSE --><tr class="onissue"><!-- /TMPL_IF --> |
67 |
<!-- TMPL_IF NAME="returndate" --><tr><!-- TMPL_ELSE --><tr class="onissue"><!-- /TMPL_IF --> |
| 73 |
<!-- /TMPL_UNLESS --> |
|
|
| 74 |
<td> |
68 |
<td> |
| 75 |
<!-- TMPL_VAR name="issuestimestamp" --> |
69 |
<!-- TMPL_VAR name="issuestimestamp" --> |
| 76 |
</td> |
70 |
</td> |
| 77 |
<td> |
71 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR name="title" escape="html" --></a></td> |
| 78 |
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"> |
|
|
| 79 |
<!-- TMPL_VAR name="title" escape="html" --> |
| 80 |
</a> |
| 81 |
</td> |
| 82 |
|
72 |
|
| 83 |
<td><!-- TMPL_VAR name="author" --></td> |
73 |
<td><!-- TMPL_VAR name="author" --></td> |
| 84 |
|
74 |
|