4 * First-time setup wizard
12 void do_setup_wizard(void)
19 if (!strcasecmp(step, "Finish")) {
20 fp = fopen(wizard_filename, "w");
22 fprintf(fp, "%d\n", serv_info.serv_rev_level);
29 output_headers(1, 1, 2, 0, 0, 0);
31 wprintf("<div id=\"banner\">\n");
32 wprintf("<TABLE class=\"setup_banner\"><TR><TD>");
33 wprintf("<img src=\"static/citadel-logo.gif\" WIDTH=64 HEIGHT=64 ALT=\" \" ALIGN=MIDDLE>");
34 wprintf("<SPAN CLASS=\"titlebar\"> First time setup");
35 wprintf("</SPAN></TD><TD ALIGN=RIGHT>");
36 wprintf("</TD></TR></TABLE>\n");
38 "<div id=\"content\">\n");
40 wprintf("<div class=\"fix_scrollbar_bug\">"
41 "<form method=\"post\" action=\"setup_wizard\">\n"
43 wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
45 wprintf("<div align=center>"
46 "This is where the setup wizard will be placed.<br>\n"
47 "For now, just click Finish.<br><br>\n"
50 wprintf("<INPUT TYPE=\"submit\" NAME=\"step\" VALUE=\"Next\">\n");
51 wprintf("<INPUT TYPE=\"submit\" NAME=\"step\" VALUE=\"Finish\">\n");
53 wprintf("</form></div></div>\n");