From: Art Cancro Date: Thu, 10 Dec 1998 04:04:10 +0000 (+0000) Subject: Set up login banner graphic and background image graphic X-Git-Tag: v7.86~8034 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=fdfaa4a86fd138c136aa927cc46046f08d9561fc;p=citadel.git Set up login banner graphic and background image graphic --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 2f3ca57a0..5901414b7 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -3,6 +3,7 @@ Wed Dec 9 18:50:46 EST 1998 Art Cancro so when the parent process closes it, it actually _does_ close. Otherwise, aIEeeee and possibly other browsers will hang. * Added support for graphics images retrieved from the Citadel server. + * Set up login banner graphic and background image graphic 1998-12-09 Nathan Bryant * context_loop.c, webserver.c, webserver.h: SO_LINGER and locking fix diff --git a/webcit/auth.c b/webcit/auth.c index 436965bba..9b8789134 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -28,10 +28,10 @@ void display_login(char *mesg) { printf("HTTP/1.0 200 OK\n"); output_headers(); - wprintf("\n"); - wprintf("
\n"); + wprintf("\n"); - /* FIX replace with the correct image */ + /* Da banner */ + wprintf("
\n"); wprintf(""); wprintf("
\n"); @@ -45,9 +45,9 @@ void display_login(char *mesg) { } wprintf("
\n"); - wprintf("
\n"); - /* FIX add instructions here */ + + /* Da login box */ wprintf("
\n"); wprintf("\n"); wprintf("\n"); @@ -60,6 +60,20 @@ void display_login(char *mesg) { wprintf("\n"); wprintf("\n"); wprintf("\n"); + + /* Da instructions */ + wprintf("
  • If you already have an account on %s,", + serv_info.serv_humannode); + wprintf(" enter your user name\n"); + wprintf("and password and click \"Login.\"
    \n"); + wprintf("
  • If you are a new user,\n"); + wprintf("enter the name and password you wish to use, and click\n"); + wprintf("\"New User.\"
  • "); + wprintf("Please log off properly when finished."); + wprintf("
  • You must use a browser that supports frames "); + wprintf("and cookies.\n"); + wprintf("\n"); + wprintf("\n"); wDumpContent(); } @@ -134,7 +148,7 @@ void do_login(void) { void do_welcome(void) { printf("HTTP/1.0 200 OK\n"); output_headers(); - wprintf("\n"); + wprintf("\n"); wprintf("

    "); escputs(wc_username); wprintf("

    \n"); @@ -164,7 +178,7 @@ void do_logout(void) { output_headers(); printf("X-WebCit-Session: close\n"); - wprintf("Goodbye
    \n"); + wprintf("Goodbye
    \n"); serv_puts("MESG goodbye"); serv_gets(buf); diff --git a/webcit/context_loop.c b/webcit/context_loop.c index 46b249cdf..9bfd6a176 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -209,7 +209,7 @@ void *context_loop(int sock) { printf("Content-length: 76\n"); printf("\n"); printf("Error\n"); - printf("execlp() failed\n"); + printf("execlp() failed\n"); exit(0); } /* Close the ends of the pipes that we're not using */ diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index e612d42e6..98bc44527 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -196,7 +196,7 @@ wprintf("
  • User Name:
    \n"); void display_main_menu(void) { printf("HTTP/1.0 200 OK\n"); output_headers(); - wprintf("WebCit main menu\n"); + wprintf("WebCit main menu\n"); embed_main_menu(); wprintf("\n"); wDumpContent(); @@ -206,7 +206,7 @@ void display_main_menu(void) { void display_advanced_menu(void) { printf("HTTP/1.0 200 OK\n"); output_headers(); - wprintf("WebCit main menu\n"); + wprintf("WebCit main menu\n"); embed_advanced_menu(); embed_main_menu(); wprintf("\n"); diff --git a/webcit/roomops.c b/webcit/roomops.c index 81ca79025..bd26fe7a1 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -117,7 +117,7 @@ void list_all_rooms_by_floor(void) { printf("HTTP/1.0 200 OK\n"); output_headers(); - wprintf("List known rooms\n"); + wprintf("List known rooms\n"); wprintf(""); wprintf(""); @@ -194,7 +194,7 @@ void gotoroom(char *gname, int display_name) printf("HTTP/1.0 200 OK\n"); output_headers(); - wprintf("\n"); + wprintf("\n"); if (display_name != 2) { /* store ungoto information */ diff --git a/webcit/static/menubar.html b/webcit/static/menubar.html index 080f3bbe6..9fb613880 100644 --- a/webcit/static/menubar.html +++ b/webcit/static/menubar.html @@ -2,7 +2,7 @@ MenuBar - +

    Citadel/UX

    FloorRooms with new messages
    "); wprintf("Users currently on ");