]> code.citadel.org Git - citadel.git/blobdiff - webcit/who.c
* Finally tracked down the WC->vars heap corruption issue (for real this
[citadel.git] / webcit / who.c
index e1f8b9bafc71ceda91cb734c8fb149caa3ac8a11..0ccad321fc15b561bcaef6c731409021d978626b 100644 (file)
@@ -46,11 +46,11 @@ void whobbs(void)
                "</SCRIPT>\n"
        );
 
-       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#007700\"><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
        wprintf("<IMG SRC=\"/static/users-icon.gif\" ALT=\" \" ALIGN=MIDDLE>");
        wprintf("<SPAN CLASS=\"titlebar\">&nbsp;Users currently on ");
        escputs(serv_info.serv_humannode);
-       wprintf("</SPAN></TD><TD>");
+       wprintf("</SPAN></TD><TD ALIGN=RIGHT>");
        offer_start_page();
        wprintf("</TD></TR></TABLE><BR>\n");
 
@@ -91,13 +91,13 @@ void whobbs(void)
 
                        wprintf("<TD>%d</TD><TD>", sess);
                        if ((WC->is_aide) &&
-                           (sess != serv_info.serv_pid)) {
+                           (sess != WC->ctdl_pid)) {
                                wprintf(" <A HREF=\"/terminate_session&which_session=%d&session_owner=", sess);
                                urlescputs(user);
                                wprintf("\" onClick=\"return ConfirmKill();\" "
                                ">(kill)</A>");
                        }
-                       if (sess == serv_info.serv_pid) {
+                       if (sess == WC->ctdl_pid) {
                                wprintf(" <A HREF=\"/edit_me\" "
                                        ">(edit)</A>");
                        }
@@ -197,7 +197,7 @@ void edit_me(void)
 
                output_headers(3);
 
-               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#000077\"><TR><TD>");
+               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#444455\"><TR><TD>");
                wprintf("<SPAN CLASS=\"titlebar\">");
                wprintf("Edit your session display");
                wprintf("</SPAN></TD></TR></TABLE>\n");