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("<img src=\"static/citadel-logo.gif\" WIDTH=64 HEIGHT=64");
33 wprintf("<h1> First time setup</h1>");
36 wprintf("<div id=\"content\" class=\"service\">\n");
38 wprintf("<div class=\"fix_scrollbar_bug\">"
39 "<form method=\"post\" action=\"setup_wizard\">\n"
41 wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%d\">\n", WC
->nonce
);
43 wprintf("<div align=center>"
44 "This is where the setup wizard will be placed.<br>\n"
45 "For now, just click Finish.<br><br>\n"
48 wprintf("<INPUT TYPE=\"submit\" NAME=\"step\" VALUE=\"Next\">\n");
49 wprintf("<INPUT TYPE=\"submit\" NAME=\"step\" VALUE=\"Finish\">\n");
51 wprintf("</form></div></div>\n");
56 InitModule_SETUP_WIZARD
59 WebcitAddUrlHandler(HKEY("setup_wizard"), do_setup_wizard
, 0);