1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
echo '<label style="float:left;" for="f1-nom" class="oblig"> Du :</label>';
// <!-- <input type='text' id='date1' name="date1"/><input type='button' id='for_date1' value='date1' onclick='showCalender(this)' /> -->
echo '<input style="float:left;" type="text" name="date1" id=\'date1\' />';
echo ' <script language="JavaScript">';
echo 'var o_cal = new tcal ({';
// form name
echo "'formname': 'form01',";
// input name
echo "'controlname': 'date1'});";
// individual template parameters can be modified via the calendar variable
echo 'o_cal.a_tpl.yearscroll = false;';
echo 'o_cal.a_tpl.weekstart = 1;';
echo '</script>'; |