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 "
if ((now - last_activity) > 900L) {
wprintf(" "
"<IMG ALIGN=MIDDLE "
- "SRC=\"/static/idle.gif\" "
+ "SRC=\"/static/inactiveuser_24x.gif\" "
"ALT=\"[idle]\" BORDER=0>");
}
+ else {
+ wprintf(" "
+ "<IMG ALIGN=MIDDLE "
+ "SRC=\"/static/activeuser_24x.gif\" "
+ "ALT=\"[active]\" BORDER=0>");
+ }
wprintf("</TD>\n\t<TD>");
"<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");
+ "BORDER=0> to send an instant message to that user.</div>\n");
wDumpContent(1);
}