Lines 4-9
Link Here
|
4 |
[% BORROWER_INF.firstname %] [% BORROWER_INF.surname %] |
4 |
[% BORROWER_INF.firstname %] [% BORROWER_INF.surname %] |
5 |
[% END %] |
5 |
[% END %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
7 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.metadata.min.js"></script> |
7 |
<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> |
8 |
<script type="text/JavaScript" language="JavaScript"> |
9 |
<script type="text/JavaScript" language="JavaScript"> |
9 |
//<![CDATA[ |
10 |
//<![CDATA[ |
Lines 16-68
$.tablesorter.addParser({
Link Here
|
16 |
}); |
17 |
}); |
17 |
$(function() { |
18 |
$(function() { |
18 |
$('#opac-user-views > ul').tabs(); |
19 |
$('#opac-user-views > ul').tabs(); |
19 |
$("#holdst").tablesorter({[% IF ( dateformat == 'metric' ) %] |
20 |
$.tablesorter.defaults.widgets = ['zebra']; |
20 |
dateFormat: 'uk',[% END %] |
21 |
[% IF ( dateformat == 'metric' ) %]$.tablesorter.defaults.dateFormat = ['uk'];[% END %] |
21 |
widgets : ['zebra'], |
22 |
$("#holdst").tablesorter({ |
22 |
sortList: [[0,0]], |
23 |
sortList: [[0,0]] |
23 |
headers: { 0: { sorter: 'articles' },5: { sorter: false } |
|
|
24 |
} |
25 |
}); |
24 |
}); |
26 |
$("#checkoutst").tablesorter({[% IF ( dateformat == 'metric' ) %] |
25 |
$("#checkoutst").tablesorter({ |
27 |
dateFormat: 'uk',[% END %] |
26 |
[% IF ( JacketImages ) %]sortList: [[2,0]][% ELSE %]sortList: [[1,0]][% END %] |
28 |
widgets : ['zebra'], |
27 |
}); |
29 |
[% IF ( JacketImages ) %] |
28 |
$("#overduest").tablesorter(); |
30 |
sortList: [[3,0]], |
|
|
31 |
[% IF ( item_level_itypes ) %] |
32 |
headers: { 0: { sorter: false }, 1: { sorter: 'articles' },4: { sorter: false },5: { sorter: false },6: { sorter: false }} |
33 |
[% ELSE %] |
34 |
headers: { 0: { sorter: false }, 1: { sorter: 'articles' },5: { sorter: false },6: { sorter: false },7: { sorter: false }} |
35 |
[% END %] |
36 |
[% ELSE %] |
37 |
[% IF ( item_level_itypes ) %] |
38 |
sortList: [[2,0]], |
39 |
headers: { 0: { sorter: 'articles' },3: { sorter: false },4: { sorter: false },5: { sorter: false }} |
40 |
[% ELSE %] |
41 |
sortList: [[3,0]], |
42 |
headers: { 0: { sorter: 'articles' },4: { sorter: false },5: { sorter: false },6: { sorter: false }} |
43 |
[% END %] |
44 |
[% END %] |
45 |
}); |
46 |
$("#overduest").tablesorter({[% IF ( dateformat == 'metric' ) %] |
47 |
dateFormat: 'uk',[% END %] |
48 |
widgets : ['zebra'], |
49 |
[% IF ( JacketImages ) %] |
50 |
sortList: [[1,0]], |
51 |
[% IF ( item_level_itypes ) %] |
52 |
headers: { 0: { sorter: false }, 1: { sorter: 'articles' },4: { sorter: false },5: { sorter: false }} |
53 |
[% ELSE %] |
54 |
headers: { 0: { sorter: false }, 1: { sorter: 'articles' },5: { sorter: false },6: { sorter: false }} |
55 |
[% END %] |
56 |
[% ELSE %] |
57 |
[% IF ( item_level_itypes ) %] |
58 |
sortList: [[0,0]], |
59 |
headers: { 0: { sorter: 'articles' },3: { sorter: false }} |
60 |
[% ELSE %] |
61 |
sortList: [[0,0]], |
62 |
headers: { 0: { sorter: 'articles' },1: { sorter: false },3: { sorter: false }} |
63 |
[% END %] |
64 |
[% END %] |
65 |
}); |
66 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
29 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
67 |
}); |
30 |
}); |
68 |
//]]> |
31 |
//]]> |
Lines 168-174
$.tablesorter.addParser({
Link Here
|
168 |
<table id="waitingt"> |
131 |
<table id="waitingt"> |
169 |
<caption>Holds Waiting</caption> |
132 |
<caption>Holds Waiting</caption> |
170 |
<thead> <tr> |
133 |
<thead> <tr> |
171 |
<th colspan="2">Title</th> |
134 |
<th colspan="2" class="{sorter:'articles'}">Title</th> |
172 |
<th>Hold date</th> |
135 |
<th>Hold date</th> |
173 |
<th>Pick Up Library</th> |
136 |
<th>Pick Up Library</th> |
174 |
</tr></thead> |
137 |
</tr></thead> |
Lines 198-217
$.tablesorter.addParser({
Link Here
|
198 |
<table id="checkoutst"> |
161 |
<table id="checkoutst"> |
199 |
<caption>[% issues_count %] Item(s) Checked Out</caption> |
162 |
<caption>[% issues_count %] Item(s) Checked Out</caption> |
200 |
<thead><tr> |
163 |
<thead><tr> |
201 |
[% IF ( JacketImages ) %]<th> </th>[% END %] |
164 |
[% IF ( JacketImages ) %]<th class="{sorter: false}"> </th>[% END %] |
202 |
<th>Title</th> |
165 |
<th class="{sorter:'articles'}">Title</th> |
|
|
166 |
<th>Due</th> |
203 |
[% UNLESS ( item_level_itypes ) %]<th>Item Type</th> [% END %] |
167 |
[% UNLESS ( item_level_itypes ) %]<th>Item Type</th> [% END %] |
204 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
168 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
205 |
<th>Call No.</th> |
169 |
<th>Call No.</th> |
206 |
<th>Due</th> |
|
|
207 |
[% IF ( OpacRenewalAllowed ) %] |
170 |
[% IF ( OpacRenewalAllowed ) %] |
208 |
[% UNLESS ( patron_flagged ) %]<th>Renew</th>[% END %] |
171 |
[% UNLESS ( patron_flagged ) %]<th class="{sorter: false}">Renew</th>[% END %] |
209 |
[% END %] |
172 |
[% END %] |
210 |
[% IF ( OPACFinesTab ) %] |
173 |
[% IF ( OPACFinesTab ) %] |
211 |
<th>Fines</th> |
174 |
<th>Fines</th> |
212 |
[% END %] |
175 |
[% END %] |
213 |
[% IF ( OPACMySummaryHTML ) %] |
176 |
[% IF ( OPACMySummaryHTML ) %] |
214 |
<th>Links</th> |
177 |
<th class="{sorter: false}">Links</th> |
215 |
[% END %] |
178 |
[% END %] |
216 |
</tr></thead> |
179 |
</tr></thead> |
217 |
<tbody> |
180 |
<tbody> |
Lines 244-257
$.tablesorter.addParser({
Link Here
|
244 |
<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a><span class="item-details"> |
207 |
<td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a><span class="item-details"> |
245 |
[% ISSUE.author %] |
208 |
[% ISSUE.author %] |
246 |
</span></td> |
209 |
</span></td> |
247 |
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( ISSUE.imageurl ) %]<img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />[% END %] [% ISSUE.description %]</td>[% END %] |
|
|
248 |
[% IF ( show_barcode ) %]<td>[% ISSUE.barcode %]</td>[% END %] |
249 |
<td>[% ISSUE.itemcallnumber %]</td> |
250 |
[% IF ( ISSUE.overdue ) %] |
210 |
[% IF ( ISSUE.overdue ) %] |
251 |
<td class="overdue">[% ISSUE.date_due %]</td> |
211 |
<td class="overdue">[% ISSUE.date_due %]</td> |
252 |
[% ELSE %] |
212 |
[% ELSE %] |
253 |
<td>[% ISSUE.date_due %]</td> |
213 |
<td>[% ISSUE.date_due %]</td> |
254 |
[% END %] |
214 |
[% END %] |
|
|
215 |
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( ISSUE.imageurl ) %]<img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />[% END %] [% ISSUE.description %]</td>[% END %] |
216 |
[% IF ( show_barcode ) %]<td>[% ISSUE.barcode %]</td>[% END %] |
217 |
<td>[% ISSUE.itemcallnumber %]</td> |
255 |
[% IF ( OpacRenewalAllowed ) %] |
218 |
[% IF ( OpacRenewalAllowed ) %] |
256 |
[% UNLESS ( ISSUE.patron_flagged ) %] |
219 |
[% UNLESS ( ISSUE.patron_flagged ) %] |
257 |
<td>[% IF ( ISSUE.status ) %]<input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/><a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% ISSUE.itemnumber %]&borrowernumber=[% ISSUE.borrowernumber %]">Renew</a> <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span> |
220 |
<td>[% IF ( ISSUE.status ) %]<input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/><a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=[% ISSUE.itemnumber %]&borrowernumber=[% ISSUE.borrowernumber %]">Renew</a> <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span> |
Lines 297-310
$.tablesorter.addParser({
Link Here
|
297 |
<caption>Overdues <span class="count">([% overdues_count %] total)</span></caption> |
260 |
<caption>Overdues <span class="count">([% overdues_count %] total)</span></caption> |
298 |
<!-- OVERDUES TABLE ROWS --> |
261 |
<!-- OVERDUES TABLE ROWS --> |
299 |
<thead><tr> |
262 |
<thead><tr> |
300 |
[% IF ( JacketImages ) %]<th> </th>[% END %] |
263 |
[% IF ( JacketImages ) %]<th class="{sorter: false}"> </th>[% END %] |
301 |
<th>Title</th> |
264 |
<th class="{sorter:'articles'}">Title</th> |
302 |
[% UNLESS ( item_level_itypes ) %]<th>Item Type</th> [% END %] |
265 |
[% UNLESS ( item_level_itypes ) %]<th>Item Type</th> [% END %] |
303 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
266 |
[% IF ( show_barcode ) %]<th>Barcode</th>[% END %] |
304 |
<th>Call No.</th> |
267 |
<th>Call No.</th> |
305 |
<th>Due</th> |
268 |
<th>Due</th> |
306 |
[% IF ( OpacRenewalAllowed ) %] |
269 |
[% IF ( OpacRenewalAllowed ) %] |
307 |
[% UNLESS ( patron_flagged ) %]<th>Renew</th>[% END %][% END %] |
270 |
[% UNLESS ( patron_flagged ) %]<th class="{sorter: false}">Renew</th>[% END %][% END %] |
308 |
[% IF ( OPACFinesTab ) %] |
271 |
[% IF ( OPACFinesTab ) %] |
309 |
<th>Fines</th> |
272 |
<th>Fines</th> |
310 |
[% END %] |
273 |
[% END %] |
Lines 360-366
$.tablesorter.addParser({
Link Here
|
360 |
<caption>Holds <span class="count">([% reserves_count %] total)</span></caption> |
323 |
<caption>Holds <span class="count">([% reserves_count %] total)</span></caption> |
361 |
<!-- RESERVES TABLE ROWS --> |
324 |
<!-- RESERVES TABLE ROWS --> |
362 |
<thead><tr> |
325 |
<thead><tr> |
363 |
<th>Title</th> |
326 |
<th class="{sorter:'articles'}">Title</th> |
364 |
<th>Placed On</th> |
327 |
<th>Placed On</th> |
365 |
<th>Expires On</th> |
328 |
<th>Expires On</th> |
366 |
<th>Pick Up Location</th> |
329 |
<th>Pick Up Location</th> |
Lines 368-374
$.tablesorter.addParser({
Link Here
|
368 |
<th>Priority</th> |
331 |
<th>Priority</th> |
369 |
[% END %] |
332 |
[% END %] |
370 |
<th>Status</th> |
333 |
<th>Status</th> |
371 |
<th>Modify</th> |
334 |
<th class="{sorter: false}">Modify</th> |
372 |
</tr></thead> |
335 |
</tr></thead> |
373 |
<tbody> |
336 |
<tbody> |
374 |
[% FOREACH RESERVE IN RESERVES %] |
337 |
[% FOREACH RESERVE IN RESERVES %] |
375 |
- |
|
|