From ea154f19b14c0319df0d45552bceda8ba86b9b5e Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 28 Feb 2011 23:57:31 -0500 Subject: [PATCH] Validate new users screen now uses the main room banner --- webcit/auth.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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); } -- 2.30.2