Index: openacs-4/packages/dotlrn/www/admin/term-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/term-edit.tcl,v diff -u -r1.16 -r1.17 --- openacs-4/packages/dotlrn/www/admin/term-edit.tcl 29 Jun 2018 17:27:19 -0000 1.16 +++ openacs-4/packages/dotlrn/www/admin/term-edit.tcl 3 Sep 2024 15:37:37 -0000 1.17 @@ -51,20 +51,11 @@ {term_year:text {label "[_ dotlrn.lt_Year_eg_2003_20032004]"} {html {size 9 maxlength 9}}} - {start_date:text(text) + {start_date:text(h5date) {label "[_ dotlrn.Start_Date]"} - #{format {[lc_get formbuilder_date_format]}} - {html {id start_date}} - {after_html { \[yyyy-mm-dd \] - }} } - - {end_date:text(text) + {end_date:text(h5date) {label "[_ dotlrn.End_Date]"} - #{format {[lc_get formbuilder_date_format]}} - {html {id end_date}} - {after_html { \[yyyy-mm-dd \] - }} } } -validate { @@ -97,9 +88,6 @@ ad_returnredirect $referer ad_script_abort -} -on_request { - template::add_event_listener -id start_date-control -script {showCalendar('start_date', 'yyyy-mm-dd');} - template::add_event_listener -id end_date-control -script {showCalendar('end_date', 'yyyy-mm-dd');} } ad_return_template