X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.c;h=723bc0db9113acb70e403c13f887a5d24d656a7a;hb=6f1846672284d64b74a10937813320271293ad66;hp=f510e27bbd37301bc18243c7ccbf75bf0fe2be43;hpb=d3865a3e08f6e62ded13210dccb4da0d26eee532;p=citadel.git diff --git a/webcit/webcit.c b/webcit/webcit.c index f510e27bb..723bc0db9 100644 --- a/webcit/webcit.c +++ b/webcit/webcit.c @@ -399,7 +399,7 @@ void wDumpContent(int print_standard_html_footer) { if (print_standard_html_footer) { wprintf("\n"); /* end of "text" div */ - do_template("trailing"); + do_template("trailing", NULL); } /* If we've been saving it all up for one big output burst, @@ -742,7 +742,7 @@ void output_headers( int do_httpheaders, /* 1 = output HTTP headers "" ); } - do_template("head"); + do_template("head", NULL); } /* ICONBAR */ @@ -830,7 +830,7 @@ void print_menu_box(char* Title, char *Class, int nLines, ...) long i; svput("BOXTITLE", WCS_STRING, Title); - do_template("beginbox"); + do_template("beginbox", NULL); wprintf(""); - do_template("endbox"); + do_template("endbox", NULL); } @@ -1094,7 +1094,7 @@ void blank_page(void) { * A template has been requested */ void url_do_template(void) { - do_template(bstr("template")); + do_template(bstr("template"), NULL); } @@ -1134,7 +1134,7 @@ void change_start_page(void) { set_preference("startpage", NewStrBufPlain(bstr("startpage"), -1), 1); output_headers(1, 1, 0, 0, 0, 0); - do_template("newstartpage"); + do_template("newstartpage", NULL); wDumpContent(1); }