]> code.citadel.org Git - citadel.git/blobdiff - webcit/setup_wizard.c
Nearly all <FORM> blocks now contain a hidden input
[citadel.git] / webcit / setup_wizard.c
index bc2b2277a722261bdff60371e6dd13eb7fbfd921..886046759519bfc5d04cd7c53033b068ed1189f2 100644 (file)
@@ -29,7 +29,7 @@ void do_setup_wizard(void)
        output_headers(1, 1, 2, 0, 0, 0);
 
        wprintf("<div id=\"banner\">\n");
-       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
+       wprintf("<TABLE class=\"setup_banner\"><TR><TD>");
        wprintf("<img src=\"static/citadel-logo.gif\" WIDTH=64 HEIGHT=64 ALT=\" \" ALIGN=MIDDLE>");
        wprintf("<SPAN CLASS=\"titlebar\">&nbsp;First time setup");
        wprintf("</SPAN></TD><TD ALIGN=RIGHT>");
@@ -40,6 +40,7 @@ void do_setup_wizard(void)
        wprintf("<div class=\"fix_scrollbar_bug\">"
                "<form method=\"post\" action=\"setup_wizard\">\n"
        );
+       wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
 
        wprintf("<div align=center>"
                "This is where the setup wizard will be placed.<br>\n"