Index: openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs.tcl,v diff -u -N -r1.44.2.1 -r1.44.2.2 --- openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs.tcl 10 Sep 2015 08:21:21 -0000 1.44.2.1 +++ openacs-4/packages/acs-datetime/tcl/acs-calendar-2-procs.tcl 3 Oct 2015 18:16:37 -0000 1.44.2.2 @@ -66,25 +66,23 @@ set return_html "\n" # Navigation Bar - append return_html "
- - - - " + }] - append return_html " + append return_html [subst {
+ append return_html [subst {
+ + +
[subst $prev_week_template] - - - [util_AnsiDatetoPrettyDate $sunday_date] - [util_AnsiDatetoPrettyDate $saturday_date] - + + [util_AnsiDatetoPrettyDate $sunday_date] - [util_AnsiDatetoPrettyDate $saturday_date] [subst $next_week_template]
- " +
}] set days_of_week {Sunday Monday Tuesday Wednesday Thursday Friday Saturday} foreach day $days_of_week { @@ -101,12 +99,11 @@ set bgcolor $day_bgcolor } - append return_html " + append return_html [subst { -
$day_html   -
$day_html  
- " +
+ }] # Go through events while {1} { @@ -115,15 +112,11 @@ break } - append return_html " - - - - " + append return_html [subst { + + }] ns_set delete $calendar_details $index } @@ -149,8 +142,8 @@ {-start_hour 0} {-end_hour 23} {-show_nav 1} - {-prev_nav_template {\"[_}} - {-next_nav_template {\"[_}} + {-prev_nav_template {[_ acs-datetime.back_one_day]}} + {-next_nav_template {[_ acs-datetime.forward_one_day]}} {-master_bgcolor "black"} {-header_bgcolor "black"} {-header_text_color "white"} @@ -246,9 +239,10 @@ set next_hour "" set start_time "" set odd_row_p 0 - set display_hour "\"[_" - append return_html "" - append return_html " +
- - [ns_set value $calendar_details $index] - -
+ [ns_set value $calendar_details $index] +
[subst $hour_template]" + set display_hour [subst {[_ acs-datetime.All_day]}] + append return_html [subst { +
[subst $hour_template]}] # Go through events while {1} {