]> code.citadel.org Git - citadel.git/commitdiff
* Linked to the bio/photo page from message headers. I'm not sure I like the
authorArt Cancro <ajc@citadel.org>
Thu, 28 Sep 2000 03:44:52 +0000 (03:44 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 28 Sep 2000 03:44:52 +0000 (03:44 +0000)
  color scheme, though.

webcit/ChangeLog
webcit/messages.c

index d50666261fdf2fed57ff6be41198d1e79bebdb4a..8338c0344f4c07dd7b78abaf2ebd8f3bc98a1ae3 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 212.15  2000/09/28 03:44:52  ajc
+* Linked to the bio/photo page from message headers.  I'm not sure I like the
+  color scheme, though.
+
 Revision 212.14  2000/09/28 03:37:23  ajc
 * who.c: provide links to bio/photo pages for each user in the wholist
 
@@ -494,4 +498,3 @@ 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 10dfe9a8cb4ac42eb29d36dd56a484e6aee70924..7fa4c819a948dc213596962c64dd4cda57b29483 100644 (file)
@@ -105,10 +105,10 @@ void read_message(long msgnum, int is_summary) {
                wprintf("<STRONG>ERROR:</STRONG> %s<BR>\n", &buf[4]);
                return;
        }
-       wprintf("<TABLE WIDTH=100%% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=000077><TR><TD>\n");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=444455><TR><TD>\n");
        wprintf("<FONT ");
        if (!is_summary) wprintf("SIZE=+1 ");
-       wprintf("COLOR=\"FFFF00\"> ");
+       wprintf("COLOR=\"DDDDCC\"> ");
        strcpy(m_subject, "");
 
        while (serv_gets(buf), strncasecmp(buf, "text", 4)) {
@@ -120,9 +120,11 @@ void read_message(long msgnum, int is_summary) {
                        format_type = atoi(&buf[5]);
                if (!strncasecmp(buf, "from=", 5)) {
                        strcpy(from, &buf[5]);
-                       wprintf("from ");
+                       wprintf("from <A HREF=\"/showuser&who=");
+                       urlescputs(from);
+                       wprintf("\">");
                        escputs(from);
-                       wprintf(" ");
+                       wprintf("</A> ");
                }
                if (!strncasecmp(buf, "subj=", 5))
                        strcpy(m_subject, &buf[5]);