X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsetup_wizard.c;h=bbac2183c53eee8f0dde127ef9a972bcc2e70586;hb=HEAD;hp=8b52e0616f812a609beea2e2a6e840f1e45a7025;hpb=76f23da782e9e80dad0a8ae1336230da5a6fa124;p=citadel.git diff --git a/webcit/setup_wizard.c b/webcit/setup_wizard.c deleted file mode 100644 index 8b52e0616..000000000 --- a/webcit/setup_wizard.c +++ /dev/null @@ -1,60 +0,0 @@ -/* - * $Id$ - * - * First-time setup wizard - */ - -#include "webcit.h" - - -/* - */ -void do_setup_wizard(void) -{ - char *step; - FILE *fp; - - step = bstr("step"); - - if (!strcasecmp(step, "Finish")) { - fp = fopen(wizard_filename, "w"); - if (fp != NULL) { - fprintf(fp, "%d\n", serv_info.serv_rev_level); - fclose(fp); - } - do_welcome(); - return; - } - - output_headers(1, 1, 2, 0, 0, 0); - - wprintf("
\n"); - wprintf(" First time setup"); - wprintf("
\n"); - - wprintf("
\n"); - - wprintf("
" - "
\n" - ); - wprintf("\n", WC->nonce); - - wprintf("
" - "This is where the setup wizard will be placed.
\n" - "For now, just click Finish.

\n" - ); - - wprintf("\n"); - wprintf("\n"); - - wprintf("
\n"); - wDumpContent(1); -} - -void -InitModule_SETUP_WIZARD -(void) -{ - WebcitAddUrlHandler(HKEY("setup_wizard"), do_setup_wizard, 0); -}