* add transitional beginboxx template and move some places to the new syntax
[citadel.git] / webcit / auth.c
index 0c4e76b516b04b0eb9f23297ae8454923fccff91..73a39ba62657cd0f4365c586f81eb9f41ff2eda7 100644 (file)
@@ -792,11 +792,13 @@ void display_reg(int during_login)
 void display_changepw(void)
 {
        char buf[SIZ];
-
+       StrBuf *Buf;
        output_headers(1, 1, 1, 0, 0, 0);
 
-       svput("BOXTITLE", WCS_STRING, _("Change your password"));
-       do_template("beginbox", NULL);
+       Buf = NewStrBufPlain(_("Change your password"), -1);
+       DoTemplate(HKEY("beginbox"), NULL, Buf, CTX_STRBUF);
+
+       FreeStrBuf(&Buf);
 
        if (!IsEmptyStr(WC->ImportantMessage)) {
                wprintf("<span class=\"errormsg\">"