]> code.citadel.org Git - citadel.git/blobdiff - webcit/calendar_view.c
* Satan's Browser insists on putting bloody acres of whitespace to the
[citadel.git] / webcit / calendar_view.c
index 75fb4f9fcb242ee61e354e83b395041d345ed67f..30f705a7f68a215d82a798cd7817500b51aab3b4 100644 (file)
@@ -458,8 +458,6 @@ void calendar_summary_view(void) {
        now = time(NULL);
        memcpy(&today_tm, localtime(&now), sizeof(struct tm));
 
-       wprintf("<UL>");
-
        for (i=0; i<(WC->num_cal); ++i) {
                p = icalcomponent_get_first_property(WC->disp_cal[i],
                                                ICAL_DTSTART_PROPERTY);
@@ -479,15 +477,13 @@ void calendar_summary_view(void) {
                                                        WC->disp_cal[i],
                                                        ICAL_SUMMARY_PROPERTY);
                                if (p != NULL) {
-                                       wprintf("<LI>");
                                        escputs((char *)
                                                icalproperty_get_comment(p));
-                                       wprintf(" (%s)\n", timestring);
+                                       wprintf(" (%s)<BR>\n", timestring);
                                }
                        }
                }
        }
-       wprintf("</UL>\n");
        free_calendar_buffer();
 }