]> code.citadel.org Git - citadel.git/blobdiff - webcit/who.c
* Use the new icons in more places.
[citadel.git] / webcit / who.c
index 3b833d10cf79e91321d80a98906ffee8d62fc3ee..f506e2d6b60073bc35eceda3446564fac6b28e42 100644 (file)
@@ -53,7 +53,7 @@ void whobbs(void)
 
        wprintf("<div id=\"banner\">\n");
        wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
-       wprintf("<IMG SRC=\"/static/users-icon.gif\" ALT=\" \" ALIGN=MIDDLE>");
+       wprintf("<IMG SRC=\"/static/usermanag_48x.gif\" ALT=\" \" ALIGN=MIDDLE>");
        wprintf("<SPAN CLASS=\"titlebar\">&nbsp;Users currently on ");
        escputs(serv_info.serv_humannode);
        wprintf("</SPAN></TD><TD ALIGN=RIGHT>");
@@ -112,11 +112,11 @@ void whobbs(void)
                        wprintf("</TD>");
 
                        /* (link to page this user) */
-                       wprintf("<TD><A HREF=\"/display_page&recp=");
+                       wprintf("<TD><A HREF=\"/display_page?recp=");
                        urlescputs(user);
                        wprintf("\">"
-                               "<IMG ALIGN=MIDDLE WIDTH=20 HEIGHT=15 "
-                               "SRC=\"/static/page.gif\" "
+                               "<IMG ALIGN=MIDDLE "
+                               "SRC=\"/static/citadelchat_24x.gif\" "
                                "ALT=\"(p)\""
                                " BORDER=0></A>&nbsp;");
                        wprintf("</TD>");
@@ -126,9 +126,15 @@ void whobbs(void)
                        if ((now - last_activity) > 900L) {
                                wprintf("&nbsp;"
                                        "<IMG ALIGN=MIDDLE "
-                                       "SRC=\"/static/idle.gif\" "
+                                       "SRC=\"/static/inactiveuser_24x.gif\" "
                                        "ALT=\"[idle]\" BORDER=0>");
                        }
+                       else {
+                               wprintf("&nbsp;"
+                                       "<IMG ALIGN=MIDDLE "
+                                       "SRC=\"/static/activeuser_24x.gif\" "
+                                       "ALT=\"[active]\" BORDER=0>");
+                       }
                        wprintf("</TD>\n\t<TD>");
 
 
@@ -163,9 +169,8 @@ void whobbs(void)
        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.</div>\n");
+               "<IMG ALIGN=MIDDLE SRC=\"/static/citadelchat_16x.gif\" ALT=\"(p)\" "
+               "BORDER=0> to send an instant message to that user.</div>\n");
        wDumpContent(1);
 }