]> code.citadel.org Git - citadel.git/commitdiff
* Rooms listed on the summary page are now clickable-gotoable
authorArt Cancro <ajc@citadel.org>
Mon, 26 Aug 2002 02:57:06 +0000 (02:57 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 26 Aug 2002 02:57:06 +0000 (02:57 +0000)
webcit/ChangeLog
webcit/summary.c

index d7ccc390a701eeb682e92df404a2a8b039e339c4..97977fcfe2ab7d7c04ccb142444e6011013017c2 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 323.66  2002/08/26 02:57:06  ajc
+* Rooms listed on the summary page are now clickable-gotoable
+
 Revision 323.65  2002/08/26 01:24:09  ajc
 * Added a "summary" page (rather sparse for now)
 
@@ -922,4 +925,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 5c5bdf94483a72c44b9c514651ab3683161e3bba..a153c305140c28d2371085f704bd000c0e571f9b 100644 (file)
@@ -98,9 +98,11 @@ void new_messages_section(void) {
                serv_gets(buf);
                if (buf[0] == '2') {
                        extract(room, &buf[4], 0);
-                       wprintf("<TR><TD>");
+                       wprintf("<TR><TD><A HREF=\"/dotgoto?room=");
+                       urlescputs(room);
+                       wprintf("\">");
                        escputs(room);
-                       wprintf("</TD><TD>%d/%d</TD></TR>\n",
+                       wprintf("</A></TD><TD>%d/%d</TD></TR>\n",
                                extract_int(&buf[4], 1),
                                extract_int(&buf[4], 2)
                        );