Index: openacs-4/packages/acs-datetime/tcl/acs-calendar-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-datetime/tcl/acs-calendar-procs.tcl,v diff -u -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/acs-datetime/tcl/acs-calendar-procs.tcl 9 Mar 2002 23:09:08 -0000 1.4.2.1 +++ openacs-4/packages/acs-datetime/tcl/acs-calendar-procs.tcl 10 Mar 2002 00:02:58 -0000 1.4.2.2 @@ -416,27 +416,26 @@ # properly append result " - - [ad_decode $view "list" "" ""] - - List + " + + foreach viewname {list day week month year} { + set text [string toupper $viewname 0] + if { $viewname == $view } { + # current view + append result " + $text - [ad_decode $view "day" "" ""] - - Day + " + } else { + append result " + + $text - [ad_decode $view "week" "" ""] - - Week - - [ad_decode $view "month" "" ""] - - Month - - [ad_decode $view "year" "" ""] - - Year - + " + } + } + + append result " "