Lines 1-6
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
<script type="text/javascript"> |
2 |
<script> |
3 |
//<![CDATA[ |
|
|
4 |
|
3 |
|
5 |
var debug = "[% debug | html %]"; |
4 |
var debug = "[% debug | html %]"; |
6 |
var dformat = "[% dateformat | html %]"; |
5 |
var dformat = "[% dateformat | html %]"; |
Lines 128-138
jQuery(function($){
Link Here
|
128 |
$(document).ready(function(){ |
127 |
$(document).ready(function(){ |
129 |
|
128 |
|
130 |
$.datepicker.setDefaults({ |
129 |
$.datepicker.setDefaults({ |
131 |
showOn: "both", |
130 |
showOn: "focus", |
132 |
changeMonth: true, |
131 |
changeMonth: true, |
133 |
changeYear: true, |
132 |
changeYear: true, |
134 |
buttonImage: '[% interface | html %]/[% theme | html %]/img/famfamfam/silk/calendar.png', |
|
|
135 |
buttonImageOnly: true, |
136 |
showButtonPanel: true, |
133 |
showButtonPanel: true, |
137 |
showOtherMonths: true, |
134 |
showOtherMonths: true, |
138 |
selectOtherMonths: true, |
135 |
selectOtherMonths: true, |
Lines 170-174
$("#dateofbirth").datepicker({
Link Here
|
170 |
if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} |
167 |
if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} |
171 |
}); |
168 |
}); |
172 |
}); |
169 |
}); |
173 |
//]]> |
|
|
174 |
</script> |
170 |
</script> |
175 |
- |
|
|