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.10 -r1.11 --- openacs-4/packages/acs-datetime/tcl/acs-calendar-procs.tcl 14 Sep 2002 16:50:17 -0000 1.10 +++ openacs-4/packages/acs-datetime/tcl/acs-calendar-procs.tcl 18 Sep 2002 21:03:59 -0000 1.11 @@ -77,9 +77,9 @@ \n" } else { set title " - + - +
$prev_month_url $month_heading @@ -93,13 +93,13 @@ # Write out the header and the days of the week append output " - +
$title - \n" + \n" foreach day_of_week $days_of_week { append output " - " + " # ben: taking out year for now, since it doesn't work foreach viewname {list day week month} { set text [string toupper $viewname 0] if { $viewname == $view } { # current view - append result " " } else { - append result " " } @@ -473,7 +475,7 @@ append result " -
+ $day_of_week @@ -143,7 +143,7 @@ set skip_day 0 if {$before_month_p || $after_month_p} { - append output " " + append output " " if { $fill_all_days == 0 } { set skip_day 1 } else { @@ -152,11 +152,13 @@ } else { if {$julian_date == $today_julian_date} { set the_bgcolor $today_bgcolor + set the_class "cal-month-today" } else { set the_bgcolor $day_bgcolor + set the_class "cal-month-day" } - append output "[subst $day_number_template] " + append output "[subst $day_number_template] " } if { (!$skip_day) && $large_calendar_p == 1 } { @@ -422,21 +424,21 @@ # properly append result " -
- $text + append result " + $text + append result " - $text + $text
+
@@ -503,12 +505,12 @@ set next_month [clock format [clock scan "1 month" -base $now] -format "%Y-%m-%d"] append results " -
+
@@ -570,7 +572,7 @@ dt_get_info $date set output " -
- $curr_month + $curr_month
+
[dt_navbar_view $view $base_url $date] @@ -580,7 +582,7 @@ # month view append output " -
+ " @@ -656,15 +658,17 @@ -
- + -
+ + " - set days_of_week [list Su Mo Tu We Th Fr Sa] + set days_of_week [list S M T W T F S] foreach day_of_week $days_of_week { append output "\n" } + append output "" set day_of_week 1 set julian_date $first_julian_date @@ -737,24 +741,26 @@
$day_of_week

+
- -
- " +
+ + + -
+ " if { $view == "day" && [dt_sysdate] == $date } { append output "Today" } else { - append output " - Today " + append output " + Today " } append output " - is [dt_ansi_to_pretty]
+ is [dt_ansi_to_pretty]

- Go to: +
Date as YYYYMMDD " @@ -765,7 +771,6 @@ append output "