Purtroppo no... Il nuovo codice generato è questo:
codice:
<input type="hidden" name="data_esame" id="data_esame" />
<span style="text-decoration: underline; cursor: pointer;" id="vis_data_esame">Clicca per modificare...</span>
<script type="text/javascript">
Calendar.setup({
dateStatusFunc : function (date) { // disable weekend days (Saturdays == 6 and Subdays == 0)
return (date.getDay() == 0) ? true : false;
},
inputField : "data_esame", // id of the input field
ifFormat : "%Y-%m-%d %H:%M:00", // format of the input field (even if hidden, this format will be honored)
displayArea : "vis_data_esame", // ID of the span where the date is to be shown
daFormat : "%A %d %B %Y ore %H:%M",// format of the displayed date
align : "Bc", // alignment (defaults to "Bl")
weekNumbers : false, // disabilito i numeri di settimana
range : [2007,2008],
showsTime : true,
timeFormat : "24",
step : "1",
date : "8-16-2007"
});
</script>
Ma nemmeno così funziona, quando appare il calendar è sempre impostato a oggi.