Index: openacs-4/packages/dotlrn/www/admin/term-new.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/term-new.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/dotlrn/www/admin/term-new.tcl 29 May 2003 18:05:01 -0000 1.8 +++ openacs-4/packages/dotlrn/www/admin/term-new.tcl 17 Feb 2004 19:36:49 -0000 1.9 @@ -43,6 +43,10 @@ { [template::util::date::compare $start_date $end_date] <= 0 } "The term must start before it ends" } + {start_date + { [template::util::date::compare [template::util::date::from_ansi [clock format [clock seconds] -format "%Y-%m-%d"]] $start_date] <= 0 } + "The term must start in the future" + } } -on_submit { set term_year [dotlrn_term::start_end_dates_to_term_year \