char buf[SIZ];
int organizer_is_me = 0;
int i, j = 0;
+ /************************************************************
+ * Uncomment this to see the UID in calendar events for debugging
int sequence = 0;
+ */
char weekday_labels[7][32];
char month_labels[12][32];
long weekstart = 0;
/* Learn the sequence */
p = icalcomponent_get_first_property(vevent, ICAL_SEQUENCE_PROPERTY);
+ /************************************************************
+ * Uncomment this to see the UID in calendar events for debugging
if (p != NULL) {
sequence = icalproperty_get_sequence(p);
}
-
+ */
/* Begin output */
output_headers(1, 1, 2, 0, 0, 0);
wc_printf("<div id=\"banner\">\n");
}
}
if (buf[0] == '2') {
- strcpy(WC->ImportantMessage, &buf[4]);
+ StrBufAppendBufPlain(WC->ImportantMsg, buf, -1, 4);
}
icalmemory_free_ring ();
icalcomponent_free(encaps);
/* If this was a save or delete, go back to the calendar or summary view. */
if (!havebstr("check_button")) {
if (!strcasecmp(bstr("calview"), "summary")) {
- summary();
+ do_template("summary_page");
}
else {
readloop(readfwd, eUseDefault);