From e0d3eae9dc5eb2c07bd8cf89bba016b7dc52c08f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 10 Mar 2005 05:13:21 +0000 Subject: [PATCH] * Created the framework for the "first time setup wizard" --- webcit/ChangeLog | 4 ++++ webcit/auth.c | 42 ++++++++++++++++++++++-------------------- webcit/setup_wizard.c | 37 ++++++++++++++++++++++++++----------- 3 files changed, 52 insertions(+), 31 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 37bf3fed7..d8c6d4e39 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 603.12 2005/03/10 05:13:21 ajc +* Created the framework for the "first time setup wizard" + Revision 603.11 2005/03/09 04:08:30 ajc * Delete room is now confirmed through a JavaScript popup instead of a transition page @@ -2481,3 +2484,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/auth.c b/webcit/auth.c index b7d6b64a2..78f15f239 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -46,7 +46,6 @@ void display_login(char *mesg) char buf[SIZ]; output_headers(1, 1, 2, 0, 0, 0, 0); - //wprintf("
\n"); wprintf("
\n"); if (mesg != NULL) if (strlen(mesg) > 0) { @@ -161,29 +160,32 @@ void do_welcome(void) /* * See if we have to run the first-time setup wizard */ - if (!setup_wizard) { - sprintf(wizard_filename, "setupwiz.%s.%s", ctdlhost, ctdlport); - for (i=0; iis_aide) { + if (!setup_wizard) { + sprintf(wizard_filename, "setupwiz.%s.%s", + ctdlhost, ctdlport); + for (i=0; i\n"); wprintf("
"); - wprintf("\""); + wprintf("\""); wprintf(" First time setup"); wprintf(""); - offer_start_page(); wprintf("
\n"); wprintf("
\n" "
\n"); - wprintf("
"); + wprintf("
" + "
\n" + ); - wprintf("wow"); + wprintf("
" + "This is where the setup wizard will be placed.
\n" + "For now, just click Finish.

\n" + ); - wprintf("
\n" - "
" - "Click on a name to read user info. Click on " - "\"(p)\" to send " - "a page (instant message) to that user.
\n"); + wprintf("\n"); + wprintf("\n"); + + wprintf("
\n"); wDumpContent(1); } -- 2.39.2