]> code.citadel.org Git - citadel.git/blobdiff - webcit/who.c
* The previous <div style=\"margin-right:1px\"> has been replaced by a
[citadel.git] / webcit / who.c
index 4898ec45ad887ea29d0fc56cfac1441aca5998e1..d57b18504b2fdab013da5bf753f2615ee2b56c76 100644 (file)
@@ -1,4 +1,8 @@
-/* $Id$ */
+/*
+ * $Id$
+ *
+ * Display a list of all users currently logged on to the Citadel server.
+ */
 
 #include <ctype.h>
 #include <stdlib.h>
@@ -55,11 +59,11 @@ void whobbs(void)
        offer_start_page();
        wprintf("</TD></TR></TABLE>\n");
        wprintf("</div>\n"
-               "<div id=\"text\">\n");
+               "<div id=\"content\">\n");
 
-       do_template("beginbox_nt");
-       wprintf("<CENTER>"
-               "<TABLE BORDER=0 CELLSPACING=0 WIDTH=100%%>\n<TR>\n");
+       wprintf("<div id=\"fix_scrollbar_bug\">"
+               "<table border=0 cellspacing=0 width=100%% bgcolor=\"#FFFFFF\">"
+               "<tr>\n");
        wprintf("<TH COLSPAN=4>Session ID</TH>\n");
        wprintf("<TH>User Name</TH>\n");
        wprintf("<TH>Room</TH>");
@@ -155,12 +159,12 @@ void whobbs(void)
                        wprintf("</TD>\n</TR>");
                }
        }
-       wprintf("</TABLE>\n"
+       wprintf("</TABLE></div>\n"
+               "<div align=center>"
                "Click on a name to read user info.  Click on "
                "<IMG ALIGN=MIDDLE SRC=\"/static/page.gif\" ALT=\"(p)\" "
                "BORDER=0> to send "
-               "a page (instant message) to that user.<br /></CENTER>\n");
-       do_template("endbox");
+               "a page (instant message) to that user.</div>\n");
        wDumpContent(1);
 }
 
@@ -205,7 +209,7 @@ void edit_me(void)
                wprintf("<SPAN CLASS=\"titlebar\">");
                wprintf("Edit your session display");
                wprintf("</SPAN></TD></TR></TABLE>\n");
-               wprintf("</div>\n<div id=\"text\">\n");
+               wprintf("</div>\n<div id=\"content\">\n");
 
                wprintf("This screen allows you to change the way your\n");
                wprintf("session appears in the 'Who is online' listing.\n");