*** empty log message ***
[citadel.git] / webcit / setup_wizard.c
1 /*
2  * $Id$
3  *
4  * First-time setup wizard
5  */
6
7 #include <ctype.h>
8 #include <stdlib.h>
9 #include <unistd.h>
10 #include <stdio.h>
11 #include <fcntl.h>
12 #include <signal.h>
13 #include <sys/types.h>
14 #include <sys/wait.h>
15 #include <sys/socket.h>
16 #include <sys/time.h>
17 #include <limits.h>
18 #include <netinet/in.h>
19 #include <netdb.h>
20 #include <string.h>
21 #include <pwd.h>
22 #include <errno.h>
23 #include <stdarg.h>
24 #include <pthread.h>
25 #include <signal.h>
26 #include "webcit.h"
27
28
29
30 /*
31  */
32 void do_setup_wizard(void)
33 {
34
35         output_headers(1, 1, 2, 0, 1, 0, 0);
36
37         wprintf("<div id=\"banner\">\n");
38         wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
39         wprintf("<IMG SRC=\"/static/users-icon.gif\" ALT=\" \" ALIGN=MIDDLE>");
40         wprintf("<SPAN CLASS=\"titlebar\">&nbsp;First time setup");
41         wprintf("</SPAN></TD><TD ALIGN=RIGHT>");
42         offer_start_page();
43         wprintf("</TD></TR></TABLE>\n");
44         wprintf("</div>\n"
45                 "<div id=\"content\">\n");
46
47         wprintf("<div id=\"fix_scrollbar_bug\">");
48
49         wprintf("wow");
50
51         wprintf("</div>\n"
52                 "<div align=center>"
53                 "Click on a name to read user info.  Click on "
54                 "<IMG ALIGN=MIDDLE SRC=\"/static/page.gif\" ALT=\"(p)\" "
55                 "BORDER=0> to send "
56                 "a page (instant message) to that user.</div>\n");
57         wDumpContent(1);
58 }
59
60