]> code.citadel.org Git - citadel.git/commitdiff
* who.c: provide links to bio/photo pages for each user in the wholist
authorArt Cancro <ajc@citadel.org>
Thu, 28 Sep 2000 03:37:23 +0000 (03:37 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 28 Sep 2000 03:37:23 +0000 (03:37 +0000)
webcit/ChangeLog
webcit/who.c

index c725aa7f5ce0d2ca67160f506c97e072e7e520ba..d50666261fdf2fed57ff6be41198d1e79bebdb4a 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 212.14  2000/09/28 03:37:23  ajc
+* who.c: provide links to bio/photo pages for each user in the wholist
+
 Revision 212.13  2000/09/24 21:37:21  ajc
 * When reading large numbers of messages, group them in smaller numbers and
   display the selector bar in search engine style (like AltaVista and Google)
@@ -491,3 +494,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 ab2ad90bd00602ad7e18cc18345c507da91d58e3..1a2e9ad36ad99fac4666bd4d5095aef9466c1ac7 100644 (file)
@@ -126,8 +126,15 @@ void whobbs(void)
                                        ">(edit)</A>");
                        }
                        wprintf("</FONT></TD>\n\t<TD><FONT SIZE=-1>");
-                       /* username */
+
+
+                       /* username (link to user bio/photo page) */
+                       wprintf("<A HREF=\"javascript:window.opener.location='/showuser&who=");
+                       urlescputs(wlist->username);
+                       wprintf("';window.location='/whobbs'\">");
                        escputs(wlist->username);
+                       wprintf("</A>");
+
                        /* room */
                        wprintf("</FONT></TD>\n\t<TD><FONT SIZE=-1>");
                        escputs(wlist->roomname);