From: Art Cancro Date: Tue, 1 Mar 2011 04:57:31 +0000 (-0500) Subject: Validate new users screen now uses the main room banner X-Git-Tag: v8.11~836 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=ea154f19b14c0319df0d45552bceda8ba86b9b5e Validate new users screen now uses the main room banner --- diff --git a/webcit/auth.c b/webcit/auth.c index 9d2eaa3e6..ebf7aa14c 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -559,14 +559,11 @@ void validate(void) char buf[SIZ]; int a; - output_headers(1, 1, 2, 0, 0, 0); - wc_printf("
\n"); - wc_printf("

"); - wc_printf(_("Validate new users")); - wc_printf("

"); - wc_printf("
\n"); + output_headers(1, 1, 1, 0, 0, 0); - wc_printf("
\n"); + do_template("beginbox_1", NULL); + StrBufAppendBufPlain(WC->WBuf, _("Validate new users"), -1, 0); + do_template("beginbox_2", NULL); /* If the user just submitted a validation, process it... */ safestrncpy(buf, bstr("user"), sizeof buf); @@ -680,6 +677,7 @@ void validate(void) wc_printf("
\n"); wc_printf("\n"); + do_template("endbox", NULL); wDumpContent(1); }