X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fgraphics.c;h=add3b0021929ebe3072806906f481b5aefc9e2e7;hb=8aec1a788f381cbe18eafc729a89b303bec05944;hp=601b4d0a43359aed77fef439aa3a2394dcc02ab6;hpb=aafa773c33eef66c0d1836d034419bf96e94c156;p=citadel.git diff --git a/webcit/graphics.c b/webcit/graphics.c index 601b4d0a4..add3b0021 100644 --- a/webcit/graphics.c +++ b/webcit/graphics.c @@ -22,10 +22,13 @@ void display_graphics_upload(char *description, char *filename, char *uplurl) } output_headers(1, 1, 0, 0, 0, 0); + StrBuf *Buf; output_headers(1, 1, 1, 0, 0, 0); - svput("BOXTITLE", WCS_STRING, _("Image upload")); - do_template("beginbox", NULL); + Buf = NewStrBufPlain(_("Image upload"), -1); + DoTemplate(HKEY("beginbox"), NULL, Buf, CTX_STRBUF); + + FreeStrBuf(&Buf); wprintf("
\n", uplurl);