output_headers(1, 1, 1, 0, 0, 0);
- svprintf("BOXTITLE", WCS_STRING, _("Image upload"));
+ svput("BOXTITLE", WCS_STRING, _("Image upload"));
do_template("beginbox");
wprintf("<form enctype=\"multipart/form-data\" action=\"%s\" "
int thisblock;
bytes_remaining = WC->upload_length;
- if (!IsEmptyStr(bstr("cancel_button"))) {
+ if (havebstr("cancel_button")) {
strcpy(WC->ImportantMessage,
_("Graphics upload has been cancelled."));
display_main_menu();