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.7 -r1.8 --- openacs-4/packages/dotlrn/www/admin/term-edit.tcl 17 Feb 2004 19:36:49 -0000 1.7 +++ openacs-4/packages/dotlrn/www/admin/term-edit.tcl 18 Feb 2004 21:25:36 -0000 1.8 @@ -55,9 +55,9 @@ { [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" + {end_date + { [template::util::date::compare [template::util::date::from_ansi [clock format [clock seconds] -format "%Y-%m-%d"]] $end_date] <= 0 } + "The term must end in the future" } } -edit_data { 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.9 -r1.10 --- openacs-4/packages/dotlrn/www/admin/term-new.tcl 17 Feb 2004 19:36:49 -0000 1.9 +++ openacs-4/packages/dotlrn/www/admin/term-new.tcl 18 Feb 2004 21:25:36 -0000 1.10 @@ -43,9 +43,9 @@ { [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" + {end_date + { [template::util::date::compare [template::util::date::from_ansi [clock format [clock seconds] -format "%Y-%m-%d"]] $end_date] <= 0 } + "The term must end in the future" } } -on_submit {