]> code.citadel.org Git - citadel.git/blobdiff - webcit/paging.c
* Changed the colors slightly in chat screen
[citadel.git] / webcit / paging.c
index 92b7351807d060fae7968b6e8a3d4cf4d9751b41..fc573cd62066d8f7c398c06668244eb35844af12 100644 (file)
@@ -1,4 +1,8 @@
-/* $Id$ */
+/*
+ * $Id$
+ *
+ * Functions which implement the chat and paging facilities.
+ */
 
 #include <ctype.h>
 #include <stdlib.h>
@@ -261,7 +265,7 @@ void chat_recv(void) {
                "<HEAD>\n"
                "<META HTTP-EQUIV=\"refresh\" CONTENT=\"3\">\n"
                "</HEAD>\n"
-               "<BODY>"
+               "<BODY BGCOLOR=\"#FFFFFF\">"
        );
 
        if (setup_chat_socket() != 0) {
@@ -311,13 +315,13 @@ void chat_recv(void) {
                        extract(name, WC->chatlines[i], 0);
                        extract(text, WC->chatlines[i], 1);
                        if (!strcasecmp(name, WC->wc_username)) {
-                               wprintf("<FONT COLOR=\"#00FF00\">");
+                               wprintf("<FONT COLOR=\"#004400\">");
                        }
                        else if (!strcmp(name, ":")) {
-                               wprintf("<FONT COLOR=\"#FF0000\">");
+                               wprintf("<FONT COLOR=\"#440000\">");
                        }
                        else {
-                               wprintf("<FONT COLOR=\"#0000FF\">");
+                               wprintf("<FONT COLOR=\"#000044\">");
                        }
                        escputs(name);
                        wprintf(": </FONT>");