* Add "close window" option to goodbye screen
authorArt Cancro <ajc@citadel.org>
Tue, 11 Jan 2000 04:20:40 +0000 (04:20 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 11 Jan 2000 04:20:40 +0000 (04:20 +0000)
webcit/ChangeLog
webcit/auth.c

index c5d34f8bd5804495307d99f679886774929ae563..dc071217806b1152ef653884f0ed08407d9cc3ba 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 211.1  2000/01/11 04:20:40  ajc
+* Add "close window" option to goodbye screen
+
 Revision 211.0  2000/01/04 15:24:16  ajc
 * Worked around HTTP bugs in Internet Explorer 5.  Die, Bill, Die.
 * This will be released as v2.11; tagged everything as such.
@@ -372,3 +375,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 926cc143598f1b13145f8714eb7a566c5a24454b..e0f61e24e3defd45bb2d9fefab9cc3cfeb7ba981 100644 (file)
@@ -195,7 +195,9 @@ void do_logout(void)
        else
                wprintf("Goodbye\n");
 
-       wprintf("<HR><A HREF=\"/\">Log in again</A></CENTER>\n");
+       wprintf("<HR><A HREF=\"/\">Log in again</A>&nbsp;&nbsp;&nbsp;"
+               "<A HREF=\"javascript:window.Close();\">Close window</A>"
+               "</CENTER>\n");
        wDumpContent(2);
        serv_puts("QUIT");
        close(WC->serv_sock);