X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar_tools.c;fp=webcit%2Fcalendar_tools.c;h=e5ecf5d6d6f77fb458312e8fde0d36f13af4cc08;hb=8e165dd308679f195af8614d62dbdb4e43238495;hp=b717cd2aacc7908bb79a99f4a197e93d82be891a;hpb=3b0f83df92714f2657da0b738884adbd7d4bdc63;p=citadel.git diff --git a/webcit/calendar_tools.c b/webcit/calendar_tools.c index b717cd2aa..e5ecf5d6d 100644 --- a/webcit/calendar_tools.c +++ b/webcit/calendar_tools.c @@ -61,14 +61,14 @@ void display_icaltimetype_as_webform(struct icaltimetype *t, char *prefix, int d localtime_r(&tt, &tm); } - wprintf("WBuf, prefix, -1, 0); - wprintf("\" id=\""); + wc_printf("\" id=\""); StrBufAppendBufPlain(WCC->WBuf, prefix, -1, 0); - wprintf("\" size=\"10\" maxlength=\"10\" value=\""); + wc_printf("\" size=\"10\" maxlength=\"10\" value=\""); wc_strftime(timebuf, 32, "%Y-%m-%d", &tm); StrBufAppendBufPlain(WCC->WBuf, timebuf, -1, 0); - wprintf("\">"); + wc_printf("\">"); StrBufAppendPrintf(WC->trailing_javascript, "attachDatePicker('"); StrBufAppendPrintf(WC->trailing_javascript, prefix); @@ -78,46 +78,46 @@ void display_icaltimetype_as_webform(struct icaltimetype *t, char *prefix, int d * This keeps the data model consistent. */ if (date_only) { - wprintf("
"); } }