/** Display the form */
output_headers(1, 1, 1, 0, 0, 0);
- svprintf("BOXTITLE", WCS_STRING, _("Edit contact information"));
+ svput("BOXTITLE", WCS_STRING, _("Edit contact information"));
do_template("beginbox");
wprintf("<form method=\"POST\" action=\"submit_vcard\">\n");
long msgnum;
char *partnum;
- msgnum = atol(bstr("msgnum"));
+ msgnum = lbstr("msgnum");
partnum = bstr("partnum");
do_edit_vcard(msgnum, partnum, "", NULL);
}
char buf[SIZ];
int i;
- if (IsEmptyStr(bstr("ok_button"))) {
+ if (!havebstr("ok_button")) {
readloop("readnew");
return;
}
- if (!IsEmptyStr(bstr("force_room"))) {
+ if (havebstr("force_room")) {
gotoroom(bstr("force_room"));
}