"</div>\n<div id=\"content\">\n"
);
- wprintf("<div id=\"fix_scrollbar_bug\">"
+ wprintf("<div class=\"fix_scrollbar_bug\">"
"<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
wprintf(_("Send an instant message to: "));
}
/* Then schedule it to happen again a minute from now if the user is idle. */
- wprintf("<script type=\"text/javascript\"> "
- " function HandleSslp(sslg_xmlresponse) { "
- " sslg_response = sslg_xmlresponse.responseText.substr(0, 1); "
- " if (sslg_response == 'Y') { "
- " window.open('static/instant_messenger.html', 'CTDL_MESSENGER', "
- " 'width=700,height=400'); "
- " } "
- " } "
- " function CheckPager() { "
- " new Ajax.Request('sslg', { method: 'get', onSuccess: HandleSslp } ); "
- " } "
- " new PeriodicalExecuter(CheckPager, 30); "
- "</script>\n"
+ wprintf("<script type=\"text/javascript\"> \n"
+ " function HandleSslp(sslg_xmlresponse) { \n"
+ " sslg_response = sslg_xmlresponse.responseText.substr(0, 1); \n"
+ " if (sslg_response == 'Y') { \n"
+ " window.open('static/instant_messenger.html', 'CTDL_MESSENGER', \n"
+ " 'width=700,height=400'); \n"
+ " } \n"
+ " } \n"
+ " function CheckPager() { \n"
+ " new Ajax.Request('sslg', { method: 'get', parameters: Math.random(), \n"
+ " onSuccess: HandleSslp } ); \n"
+ " } \n"
+ " new PeriodicalExecuter(CheckPager, 30); \n"
+ "</script> \n"
);
}
if (strcasecmp(cl_user, WC->last_chat_user)) {
wprintf("<B>");
- if (!strcasecmp(cl_user, WC->wc_username)) {
+ if (!strcasecmp(cl_user, WC->wc_fullname)) {
wprintf("<FONT COLOR="#FF0000">");
}
else {