Renamed the /icons directory to /webcit_icons because of incompatibility with symlink...
[citadel.git] / webcit / userlist.c
index d5ea48081d25e3ef616e80f964cc177910ef0aa9..7b63bf81b31d0e19e8c1e505eec78e91db098825 100644 (file)
@@ -1,6 +1,3 @@
-/*
- * $Id$
- */
 
 #include "webcit.h"
 
@@ -49,12 +46,11 @@ void userlist(void)
        serv_puts("LIST");
        serv_getln(buf, sizeof buf);
        if (buf[0] != '1') {
-               wc_printf("<em>%s</em><br />\n", &buf[4]);
+               wc_printf("<em>%s</em><br>\n", &buf[4]);
                goto DONE;
        }
 
-       wc_printf("<div class=\"fix_scrollbar_bug\">"
-               "<table class=\"userlist_background\"><tr><td>\n");
+       wc_printf("<table class=\"userlist_background\"><tr><td>\n");
        wc_printf("<tr><th>%s</th><th>%s</th><th>%s</th>"
                        "<th>%s</th><th>%s</th><th>%s</th></tr>",
                        _("User Name"),
@@ -99,7 +95,7 @@ void userlist(void)
                        extract_long(buf, 4), extract_long(buf, 5));
 
        }
-       wc_printf("</table></div>\n");
+       wc_printf("</table>\n");
 DONE:  wDumpContent(1);
 }
 
@@ -117,7 +113,7 @@ void showuser(void)
 
        output_headers(1, 1, 2, 0, 0, 0);
        wc_printf("<div id=\"banner\">\n");
-       wc_printf("<img src=\"static/usermanag_48x.gif\">");
+       wc_printf("<img src=\"static/webcit_icons/essen/32x32/account.png\">");
         wc_printf("<h1>");
        wc_printf(_("User profile"));
         wc_printf("</h1>");
@@ -125,8 +121,7 @@ void showuser(void)
 
         wc_printf("<div id=\"content\" class=\"service\">\n");
 
-       wc_printf("<div class=\"fix_scrollbar_bug\">"
-               "<table class=\"userlist_background\"><tr><td>\n");
+       wc_printf("<table class=\"userlist_background\"><tr><td>\n");
 
        serv_printf("OIMG _userpic_|%s", who);
        serv_getln(buf, sizeof buf);
@@ -152,16 +147,16 @@ void showuser(void)
        if (buf[0] == '1') {
                fmout("JUSTIFY");
        }
-       wc_printf("<br /><a href=\"display_page?recp=");
+       wc_printf("<br><a href=\"display_page?recp=");
        urlescputs(who);
        wc_printf("\">"
-               "<img src=\"static/citadelchat_24x.gif\" "
+               "<img src=\"static/webcit_icons/essen/16x16/chat.png\" "
                "align=middle border=0>&nbsp;&nbsp;");
        snprintf(buf, sizeof buf, _("Click here to send an instant message to %s"), who);
        escputs(buf);
        wc_printf("</a>\n");
 
-       wc_printf("</td></tr></table></div>\n");
+       wc_printf("</td></tr></table>\n");
        wDumpContent(1);
 }