]> code.citadel.org Git - citadel.git/blobdiff - webcit/calendar_view.c
* Make the "all day event" shadebox smaller (month view) - no border.
[citadel.git] / webcit / calendar_view.c
index 56005f92cdfb57bbfb086ab5fba229a33cf90561..12c28ec65fe6002de50cb7d9d7b8eb64321947d7 100644 (file)
@@ -66,6 +66,7 @@ void calendar_month_view_display_events(time_t thetime) {
                           && (t.day == day)) {
 
                                if (t.is_date) all_day_event = 1;
+                               else all_day_event = 0;
 
                                p = icalcomponent_get_first_property(
                                                        WC->disp_cal[i],
@@ -73,8 +74,8 @@ void calendar_month_view_display_events(time_t thetime) {
                                if (p != NULL) {
 
                                        if (all_day_event) {
-                                               wprintf("<TABLE border=1 cellpadding=2><TR>"
-                                                       "<TD BGCOLOR=#CCCCCC>"
+                                               wprintf("<TABLE border=0 cellpadding=2><TR>"
+                                                       "<TD BGCOLOR=#AAAAAA>"
                                                );
                                        }