X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fvcard_edit.c;h=d7edb879f45756996bf33819dd928b9b366d4890;hb=aa62201ed9018fa6150ebc69213a6c9e4afadb9e;hp=4f6183dc570775b37d05cec92022d16092f07a59;hpb=60f6975f9df4e1bece0140ccfc082f6d250ca106;p=citadel.git diff --git a/webcit/vcard_edit.c b/webcit/vcard_edit.c index 4f6183dc5..d7edb879f 100644 --- a/webcit/vcard_edit.c +++ b/webcit/vcard_edit.c @@ -174,14 +174,10 @@ void do_edit_vcard(long msgnum, char *partnum, char *return_to) { } /** Display the form */ - output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n"); - wprintf(""); - wprintf("

"); - wprintf(_("Edit contact information")); - wprintf("

"); - wprintf("
\n"); - wprintf("
\n"); + output_headers(1, 1, 1, 0, 0, 0); + + svprintf("BOXTITLE", WCS_STRING, _("Edit contact information")); + do_template("beginbox"); wprintf("
\n"); wprintf("\n", WC->nonce); @@ -324,16 +320,17 @@ void do_edit_vcard(long msgnum, char *partnum, char *return_to) { urlescputs(return_to); wprintf("\">\n"); - wprintf("
\n" + wprintf("
\n" "" " " "" - "
\n", + "
\n", _("Save changes"), _("Cancel") ); - wprintf("\n"); + wprintf("\n"); + do_template("endbox"); wDumpContent(1); }