Revert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""
[citadel.git] / webcit / vcard_edit.c
index d9537cb42c4586479f835fb689b04abdb787091f..c2bf41d47ead02572c55867f203341df14064c76 100644 (file)
@@ -1,6 +1,3 @@
-/*
- * $Id$
- */
 
 #include "webcit.h"
 #include "calendar.h"
@@ -831,8 +828,9 @@ void do_edit_vcard(long msgnum, char *partnum,
        /* Display the form */
        output_headers(1, 1, 1, 0, 0, 0);
 
-       svput("BOXTITLE", WCS_STRING, _("Edit contact information"));
-       do_template("beginboxx", NULL);
+       do_template("beginbox_1", NULL);
+       StrBufAppendBufPlain(WC->WBuf, _("Edit contact information"), -1, 0);
+       do_template("beginbox_2", NULL);
 
        wc_printf("<form method=\"POST\" action=\"submit_vcard\">\n");
        wc_printf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC->nonce);
@@ -843,8 +841,7 @@ void do_edit_vcard(long msgnum, char *partnum,
                wc_printf("\">\n");
        }
 
-       wc_printf("<div class=\"fix_scrollbar_bug\">"
-               "<table class=\"vcard_edit_background\"><tr><td>\n");
+       wc_printf("<table class=\"vcard_edit_background\"><tr><td>\n");
 
        wc_printf("<table border=0><tr>"
                "<td>%s</td>"
@@ -852,7 +849,7 @@ void do_edit_vcard(long msgnum, char *partnum,
                "<td>%s</td>"
                "<td>%s</td>"
                "<td>%s</td></tr>\n",
-               _("Prefix"), _("First"), _("Middle"), _("Last"), _("Suffix")
+               _("Prefix"), _("First Name"), _("Middle Name"), _("Last Name"), _("Suffix")
        );
        wc_printf("<tr><td><input type=\"text\" name=\"prefix\" "
                "value=\"%s\" maxlength=\"5\" size=\"5\"></td>",