|
Lines 4-10
Link Here
|
| 4 |
<!-- TMPL_INCLUDE NAME="calendar.inc" --> |
4 |
<!-- TMPL_INCLUDE NAME="calendar.inc" --> |
| 5 |
<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.min.js"></script> |
| 6 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
6 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
| 7 |
<script type="text/JavaScript" language="JavaScript"> |
7 |
<script type="text/javascript"> |
| 8 |
//<![CDATA[ |
8 |
//<![CDATA[ |
| 9 |
function Dopop(link) { |
9 |
function Dopop(link) { |
| 10 |
var newin=window.open(link,'popup','width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top'); |
10 |
var newin=window.open(link,'popup','width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top'); |
|
Lines 21-27
$(document).ready(function() {
Link Here
|
| 21 |
$.tablesorter.defaults.widgets = ['zebra']; |
21 |
$.tablesorter.defaults.widgets = ['zebra']; |
| 22 |
$("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> |
22 |
$("#issuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> |
| 23 |
dateFormat: 'uk',<!-- /TMPL_IF --> |
23 |
dateFormat: 'uk',<!-- /TMPL_IF --> |
| 24 |
headers: { 1: { sorter: 'articles' },5: { sorter: false },6:{sorter:false},7:{sorter:false},8:{sorter:false}} |
24 |
headers: { 1: { sorter: 'articles' },6:{sorter:false},7:{sorter:false},8:{sorter:false},9:{sorter:false}} |
| 25 |
}); |
25 |
}); |
| 26 |
$("#table_additionalattributes").tablesorter({sortList: [[1,0]]}); |
26 |
$("#table_additionalattributes").tablesorter({sortList: [[1,0]]}); |
| 27 |
$("#relissuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> |
27 |
$("#relissuest").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> |
|
Lines 32-38
$(document).ready(function() {
Link Here
|
| 32 |
$("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> |
32 |
$("#holdst").tablesorter({<!-- TMPL_IF NAME="dateformat_metric" --> |
| 33 |
dateFormat: 'uk',<!-- /TMPL_IF --> |
33 |
dateFormat: 'uk',<!-- /TMPL_IF --> |
| 34 |
sortList: [[0,0]], |
34 |
sortList: [[0,0]], |
| 35 |
headers: { 1: { sorter: 'articles' },6: { sorter: false }} |
35 |
headers: { 1: { sorter: 'articles' },4: { sorter: false },5: { sorter: false }} |
| 36 |
}); |
36 |
}); |
| 37 |
<!-- TMPL_IF NAME="picture" --> |
37 |
<!-- TMPL_IF NAME="picture" --> |
| 38 |
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button |
38 |
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button |
|
Lines 107-113
function validate1(date) {
Link Here
|
| 107 |
//]]> |
107 |
//]]> |
| 108 |
</script> |
108 |
</script> |
| 109 |
<!-- TMPL_IF name="boolsuggestions" --> |
109 |
<!-- TMPL_IF name="boolsuggestions" --> |
| 110 |
<script type="text/JavaScript"> |
110 |
<script type="text/javascript"> |
|
|
111 |
//<![CDATA[ |
| 111 |
/** |
112 |
/** |
| 112 |
* displayOther. |
113 |
* displayOther. |
| 113 |
* This function display the select or an textaera to write a reason. |
114 |
* This function display the select or an textaera to write a reason. |
|
Lines 130-140
$(document).ready(function() {
Link Here
|
| 130 |
|
131 |
|
| 131 |
|
132 |
|
| 132 |
// functions for allsuggestionforthisborrower interactions |
133 |
// functions for allsuggestionforthisborrower interactions |
| 133 |
$("#CheckAll").click(function(){ |
134 |
$("#CheckAll").click(function(e){ |
| 134 |
$("#allsuggestionforthisborrowert").checkCheckboxes(); |
135 |
$("#allsuggestionforthisborrowert").checkCheckboxes(); |
|
|
136 |
e.preventDefault(); |
| 135 |
}); |
137 |
}); |
| 136 |
$("#UncheckAll").click(function(){ |
138 |
$("#UncheckAll").click(function(e){ |
| 137 |
$("#allsuggestionforthisborrowert").unCheckCheckboxes(); |
139 |
$("#allsuggestionforthisborrowert").unCheckCheckboxes(); |
|
|
140 |
e.preventDefault(); |
| 138 |
}); |
141 |
}); |
| 139 |
$("#other_reasonallsuggestionforthisborrower").hide(); |
142 |
$("#other_reasonallsuggestionforthisborrower").hide(); |
| 140 |
$("input[name*=other_reasonallsuggestionforthisborrower]").focus(function(){ $(this).val(""); }); |
143 |
$("input[name*=other_reasonallsuggestionforthisborrower]").focus(function(){ $(this).val(""); }); |
|
Lines 211-217
$(document).ready(function() {
Link Here
|
| 211 |
<!-- TMPL_IF NAME="reregistration" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF --> |
214 |
<!-- TMPL_IF NAME="reregistration" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF --> |
| 212 |
|
215 |
|
| 213 |
<!-- TMPL_IF NAME="flagged" --> |
216 |
<!-- TMPL_IF NAME="flagged" --> |
| 214 |
<div class="error"> |
217 |
<div class="dialog alert"> |
| 215 |
<ul> |
218 |
<ul> |
| 216 |
<!-- TMPL_IF NAME="borrowernotes" --><li><!-- TMPL_VAR NAME="borrowernotes" --> </li><!-- /TMPL_IF --> |
219 |
<!-- TMPL_IF NAME="borrowernotes" --><li><!-- TMPL_VAR NAME="borrowernotes" --> </li><!-- /TMPL_IF --> |
| 217 |
<!-- TMPL_IF NAME="userdebarred" --> |
220 |
<!-- TMPL_IF NAME="userdebarred" --> |
|
Lines 350-361
$(document).ready(function() {
Link Here
|
| 350 |
<!-- TMPL_UNLESS NAME="no_patron_attribute_types" --> |
353 |
<!-- TMPL_UNLESS NAME="no_patron_attribute_types" --> |
| 351 |
<div id="patron-extended-attributes"> |
354 |
<div id="patron-extended-attributes"> |
| 352 |
<h3>Additional attributes and identifiers</h3> |
355 |
<h3>Additional attributes and identifiers</h3> |
| 353 |
<table id="table_additionalattributes"> |
356 |
<!-- TMPL_IF NAME="patron_attributes" --><table id="table_additionalattributes"> |
| 354 |
<thead> |
357 |
<thead><tr> |
| 355 |
<th>Type</th> |
358 |
<th>Type</th> |
| 356 |
<th>Description</th> |
359 |
<th>Description</th> |
| 357 |
<th>Value</th> |
360 |
<th>Value</th> |
|
|
361 |
</tr> |
| 358 |
</thead> |
362 |
</thead> |
|
|
363 |
<tbody> |
| 359 |
<!-- TMPL_LOOP NAME="patron_attributes" --> |
364 |
<!-- TMPL_LOOP NAME="patron_attributes" --> |
| 360 |
<tr> |
365 |
<tr> |
| 361 |
<td><!-- TMPL_VAR NAME="code" --></td> |
366 |
<td><!-- TMPL_VAR NAME="code" --></td> |
|
Lines 367-373
$(document).ready(function() {
Link Here
|
| 367 |
</td> |
372 |
</td> |
| 368 |
</tr> |
373 |
</tr> |
| 369 |
<!-- /TMPL_LOOP --> |
374 |
<!-- /TMPL_LOOP --> |
| 370 |
</table> |
375 |
</tbody> |
|
|
376 |
</table><!-- TMPL_ELSE -->Patron has no additional attributes and identifiers.<!-- /TMPL_IF --> |
| 371 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=4">Edit</a></div> |
377 |
<div class="action"><a href="memberentry.pl?op=modify&borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&step=4">Edit</a></div> |
| 372 |
</div> |
378 |
</div> |
| 373 |
<!-- /TMPL_UNLESS --> |
379 |
<!-- /TMPL_UNLESS --> |
|
Lines 472-478
$(document).ready(function() {
Link Here
|
| 472 |
<!-- ###################### suggestions start ######################--> |
478 |
<!-- ###################### suggestions start ######################--> |
| 473 |
<div id="suggestions"><!-- TMPL_IF name="boolsuggestions" --> |
479 |
<div id="suggestions"><!-- TMPL_IF name="boolsuggestions" --> |
| 474 |
<form name="fallsuggestionforthisborrower" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#allsuggestionforthisborrower"> |
480 |
<form name="fallsuggestionforthisborrower" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#allsuggestionforthisborrower"> |
| 475 |
<p><a id="CheckAll" href="javascript:;">Check All</a> | <a id="UncheckAll" href="javascript:;"">Uncheck All</a></p> |
481 |
<p><a id="CheckAll" href="#">Check All</a> | <a id="UncheckAll" href="#">Uncheck All</a></p> |
| 476 |
<table id="allsuggestionforthisborrowert"> |
482 |
<table id="allsuggestionforthisborrowert"> |
| 477 |
<thead> |
483 |
<thead> |
| 478 |
<tr><th> </th> |
484 |
<tr><th> </th> |
|
Lines 486-492
$(document).ready(function() {
Link Here
|
| 486 |
</thead> |
492 |
</thead> |
| 487 |
<tbody> |
493 |
<tbody> |
| 488 |
<!-- TMPL_LOOP Name="suggestions" --><!-- TMPL_LOOP NAME="suggestions_loop" --> |
494 |
<!-- TMPL_LOOP Name="suggestions" --><!-- TMPL_LOOP NAME="suggestions_loop" --> |
| 489 |
<!-- TMPL_IF name="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF --> |
495 |
<!-- TMPL_UNLESS name="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS --> |
| 490 |
<td> |
496 |
<td> |
| 491 |
<input type="checkbox" name="edit_field" value="<!-- TMPL_VAR name="suggestionid" -->" /> |
497 |
<input type="checkbox" name="edit_field" value="<!-- TMPL_VAR name="suggestionid" -->" /> |
| 492 |
</td> |
498 |
</td> |
|
Lines 497-503
$(document).ready(function() {
Link Here
|
| 497 |
<br /> |
503 |
<br /> |
| 498 |
<!-- TMPL_IF name="copyrightdate" -->© <!-- TMPL_VAR name="copyrightdate" --> <!-- /TMPL_IF --> |
504 |
<!-- TMPL_IF name="copyrightdate" -->© <!-- TMPL_VAR name="copyrightdate" --> <!-- /TMPL_IF --> |
| 499 |
<!-- TMPL_IF name="volumedesc" -->; Volume:<i><!-- TMPL_VAR name="volumedesc" --></i> <!-- /TMPL_IF --> |
505 |
<!-- TMPL_IF name="volumedesc" -->; Volume:<i><!-- TMPL_VAR name="volumedesc" --></i> <!-- /TMPL_IF --> |
| 500 |
<!-- TMPL_IF name="isbn" -->; ISBN:<i><!-- TMPL_VAR name="isbn" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->; Published by <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <i><!-- TMPL_VAR name="publicationyear" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="place" --> in <i><!-- TMPL_VAR name="place" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="collectiontitle" -->;<!-- TMPL_VAR name="collectiontitle" --> <!-- /TMPL_IF --><!-- TMPL_IF name="itemtype" -->;<!-- TMPL_VAR name="itemtype" --> <!-- /TMPL_IF --><br /><!-- TMPL_IF name="note" --><!-- TMPL VAR NAME="note" --><!-- /TMPL_IF --> |
506 |
<!-- TMPL_IF name="isbn" -->; ISBN:<i><!-- TMPL_VAR name="isbn" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->; Published by <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <i><!-- TMPL_VAR name="publicationyear" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="place" --> in <i><!-- TMPL_VAR name="place" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="collectiontitle" -->; <!-- TMPL_VAR name="collectiontitle" --> <!-- /TMPL_IF --><!-- TMPL_IF name="itemtype" -->; <!-- TMPL_VAR name="itemtype" --> <!-- /TMPL_IF --><br /><!-- TMPL_IF name="note" --><!-- TMPL VAR NAME="note" --><!-- /TMPL_IF --> |
| 501 |
</td> |
507 |
</td> |
| 502 |
<td> |
508 |
<td> |
| 503 |
<!-- TMPL_VAR name="note" --> |
509 |
<!-- TMPL_VAR name="note" --> |
|
Lines 526-533
$(document).ready(function() {
Link Here
|
| 526 |
|
532 |
|
| 527 |
|
533 |
|
| 528 |
<div id="select-reasonallsuggestionforthisborrower"> |
534 |
<div id="select-reasonallsuggestionforthisborrower"> |
| 529 |
<div id="statusallsuggestionforthisborrower"> |
535 |
<fieldset id="statusallsuggestionforthisborrower"> |
| 530 |
<label for="STATUSallsuggestionforthisborrower">Mark selected as: </label><select name="STATUS" id="STATUSallsuggestionforthisborrower"> |
536 |
<label for="STATUS">Mark selected as: </label><select name="STATUS" id="STATUS"> |
| 531 |
<option value=""> -- Choose a status --</option> |
537 |
<option value=""> -- Choose a status --</option> |
| 532 |
<option value="ASKED">Requested</option> |
538 |
<option value="ASKED">Requested</option> |
| 533 |
<option value="ACCEPTED">Accepted</option> |
539 |
<option value="ACCEPTED">Accepted</option> |
|
Lines 543-555
$(document).ready(function() {
Link Here
|
| 543 |
</select> <span id="other_reasonallsuggestionforthisborrower"> |
549 |
</select> <span id="other_reasonallsuggestionforthisborrower"> |
| 544 |
<input type="text" size="31" id="select-other_reasonallsuggestionforthisborrower" name="other_reasonallsuggestionforthisborrower" value="please note your reason here" /> <a href="#backallsuggestionforthisborrower">Cancel</a> |
550 |
<input type="text" size="31" id="select-other_reasonallsuggestionforthisborrower" name="other_reasonallsuggestionforthisborrower" value="please note your reason here" /> <a href="#backallsuggestionforthisborrower">Cancel</a> |
| 545 |
</span> <strong style="padding: 0 1em;">OR:</strong> <label for="allsuggestionforthisborrowerdelete">Delete selected</label> <input type="checkbox" name="op" id="allsuggestionforthisborrowerdelete" /> |
551 |
</span> <strong style="padding: 0 1em;">OR:</strong> <label for="allsuggestionforthisborrowerdelete">Delete selected</label> <input type="checkbox" name="op" id="allsuggestionforthisborrowerdelete" /> |
| 546 |
</div> |
|
|
| 547 |
</div> |
| 548 |
|
552 |
|
| 549 |
<input type="hidden" name="returnsuggested" id="returnsuggested" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /> |
553 |
<input type="hidden" name="returnsuggested" id="returnsuggested" value="<!-- TMPL_VAR NAME="borrowernumber" -->" /> |
| 550 |
<input type="hidden" name="tabcode" value="allsuggestionforthisborrower" /> |
554 |
<input type="hidden" name="tabcode" value="allsuggestionforthisborrower" /> |
| 551 |
<input type="hidden" name="op" value="change" /> |
555 |
<input type="hidden" name="op" value="change" /> |
| 552 |
</fieldset> |
556 |
</fieldset> </div> |
| 553 |
<fieldset class="action"> |
557 |
<fieldset class="action"> |
| 554 |
<input type="submit" value="Submit" /></fieldset> |
558 |
<input type="submit" value="Submit" /></fieldset> |
| 555 |
</form> |
559 |
</form> |
|
Lines 557-562
$(document).ready(function() {
Link Here
|
| 557 |
<!-- TMPL_ELSE -->Patron has no suggestions.<!-- /TMPL_IF --> |
561 |
<!-- TMPL_ELSE -->Patron has no suggestions.<!-- /TMPL_IF --> |
| 558 |
</div> |
562 |
</div> |
| 559 |
<!-- ###################### suggestions end ######################--> |
563 |
<!-- ###################### suggestions end ######################--> |
|
|
564 |
|
| 560 |
<div id="finesandcharges"> |
565 |
<div id="finesandcharges"> |
| 561 |
<!-- TMPL_IF NAME="totaldue_raw" --> |
566 |
<!-- TMPL_IF NAME="totaldue_raw" --> |
| 562 |
<p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p> |
567 |
<p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p> |
| 563 |
- |
|
|