X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fsetup_wizard.c;h=bbac2183c53eee8f0dde127ef9a972bcc2e70586;hb=HEAD;hp=a22b8fc03a2c0191031fa54c6315f71f8012d40f;hpb=1b302cba797e9b8d6f94304f80c52ac63845503a;p=citadel.git diff --git a/webcit/setup_wizard.c b/webcit/setup_wizard.c deleted file mode 100644 index a22b8fc03..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", WC->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); -}