output_headers(1, 1, 0, 0, 0, 0);
}
- svprintf("BOXTITLE", WCS_STRING, _("Edit %s"), description);
+ svprintf(HKEY("BOXTITLE"), WCS_STRING, _("Edit %s"), description);
do_template("beginbox");
wprintf(_("Enter %s below. Text is formatted to the reader's browser."
" A newline is forced by preceding the next line by a blank."), description);
wprintf("<form method=\"post\" action=\"%s\">\n", save_cmd);
- wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
+ wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);
wprintf("<textarea name=\"msgtext\" wrap=soft "
"rows=10 cols=80 width=80>\n");
serv_puts(read_cmd);
{
char buf[SIZ];
- if (IsEmptyStr(bstr("save_button"))) {
+ if (!havebstr("save_button")) {
sprintf(WC->ImportantMessage,
_("Cancelled. %s was not saved."),
description);