Lines 2-40
Link Here
|
2 |
<title>Koha › Reports [% IF ( do_it ) %]› Catalog statistics › Results[% ELSE %]› Catalog statistics[% END %]</title> |
2 |
<title>Koha › Reports [% IF ( do_it ) %]› Catalog statistics › Results[% ELSE %]› Catalog statistics[% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
5 |
<script type="text/javascript"> |
|
|
6 |
//<![CDATA[ |
7 |
$(document).ready(function() { |
8 |
// http://jqueryui.com/demos/datepicker/#date-range |
9 |
var dates = $( "#from, #to" ).datepicker({ |
10 |
changeMonth: true, |
11 |
numberOfMonths: 1, |
12 |
onSelect: function( selectedDate ) { |
13 |
var option = this.id == "from" ? "minDate" : "maxDate", |
14 |
instance = $( this ).data( "datepicker" ); |
15 |
date = $.datepicker.parseDate( |
16 |
instance.settings.dateFormat || |
17 |
$.datepicker._defaults.dateFormat, |
18 |
selectedDate, instance.settings ); |
19 |
dates.not( this ).datepicker( "option", option, date ); |
20 |
} |
21 |
}); |
22 |
var datesRO = $( "#fromRO, #toRO" ).datepicker({ |
23 |
changeMonth: true, |
24 |
numberOfMonths: 1, |
25 |
onSelect: function( selectedDate ) { |
26 |
var option = this.id == "fromRO" ? "minDate" : "maxDate", |
27 |
instance = $( this ).data( "datepicker" ); |
28 |
date = $.datepicker.parseDate( |
29 |
instance.settings.dateFormat || |
30 |
$.datepicker._defaults.dateFormat, |
31 |
selectedDate, instance.settings ); |
32 |
datesRO.not( this ).datepicker( "option", option, date ); |
33 |
} |
34 |
}); |
35 |
}); |
36 |
//]]> |
37 |
</script> |
38 |
</head> |
5 |
</head> |
39 |
<body id="rep_catalogue_stats" class="rep"> |
6 |
<body id="rep_catalogue_stats" class="rep"> |
40 |
[% INCLUDE 'header.inc' %] |
7 |
[% INCLUDE 'header.inc' %] |
Lines 182-188
Link Here
|
182 |
<td>Publication year</td> |
149 |
<td>Publication year</td> |
183 |
<td><input type="radio" name="Line" value="publicationyear" /></td> |
150 |
<td><input type="radio" name="Line" value="publicationyear" /></td> |
184 |
<td><input type="radio" name="Column" value="publicationyear" /></td> |
151 |
<td><input type="radio" name="Column" value="publicationyear" /></td> |
185 |
<td><label for="fromRO">From</label> <input type="text" name="Filter" id="fromRO" /> <label for="toRO">To</label> <input type="text" name="Filter" id="toRO" /></td> |
152 |
<td><label for="fromRO">From</label> <input type="text" name="Filter" id="fromRO" class="datepickerfrom" /> <label for="toRO">To</label> <input type="text" name="Filter" id="toRO"i class="datepickerto" /></td> |
186 |
</tr> |
153 |
</tr> |
187 |
<tr> |
154 |
<tr> |
188 |
<td>Home library</td> |
155 |
<td>Home library</td> |
189 |
- |
|
|