&& strncasecmp("ib_logoff", key, 9)) {
// Don't shoot me for this
wprintf("#%s { display: none !important; }\r\n",key);
- } else if (!strncasecmp("ib_users",key, 8) && value != 2) {
- wprintf("#online_users { display: none; !important } \r\n");
+ } else if (!strncasecmp("ib_users",key, 8) && value == 2) {
+ wprintf("#online_users { display: block; !important } \r\n");
}
}
end_burst();
Msg->subj = NewStrBufPlain(NULL, StrLength(Buf));
StrBufExtract_token(Buf2, Buf, 5, '|');
if (StrLength(Buf2) == 0)
- StrBufAppendBufPlain(Msg->subj, _("(no subj)"), -1,0);
+ StrBufAppendBufPlain(Msg->subj, _("(no subject)"), -1,0);
else {
StrBuf_RFC822_to_Utf8(Msg->subj, Buf2, WCC->DefaultCharset, FoundCharset);
if ((StrLength(Msg->subj) > 75) &&
var classStmt = "col"+x;
tdElement.setAttribute("class", classStmt);
} catch (e) {
- if (window.console) {
+ if (!!window.console) {
console.log("Error on #"+msgId +" col"+j+":"+e);
}
}
rowArray[i] = trElement;
}
var end = new Date();
- if (window.console) {
+ if (!!window.console) {
var delta = end.getTime() - start.getTime();
console.log("loadMessages construct: " + delta);
}
}
message_view.appendChild(fragment);
var end = new Date();
- if (window.console) {
+ if (!!window.console) {
var delta = end.getTime() - start.getTime();
console.log("resortAndDisplay sort and append: " + delta);
}
<??("X",1)>
</ul>
</div>
-<div id="customize">
- <span><a href="/display_customize_iconbar"><?_("customize this menu")></a></span>
-</div>
<div id="ib_logoff">
<a href="termquit" onclick="return confirm('<?_("Log off now?")>');"
title="<?_("Log off")>">
<span><?_("Log off")></span>
</a>
</div>
+<div id="customize">
+ <span><a href="/display_customize_iconbar"><?_("customize this menu")></a></span>
+</div>
</div>
\ No newline at end of file
Event.observe(window, 'load', taskViewActivate);
//document.observe("dom:loaded", setupPrefEngine);
document.observe("dom:loaded", setupIconBar);
+document.observe('dom:loaded', function() { $('ib_chat_launch').observe('click', launchChat);});
function CtdlRandomString() {
return((Math.random()+'').substr(3));
}
}
}
+function launchChat(event) {
+window.open('chat', 'ctdl_chat_window', 'toolbar=no,location=no,directories=no,copyhistory=no,status=no,scrollbars=yes,resizable=yes');
+}
text-transform: uppercase;
}
-#iconbar ul li, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart {
+#iconbar ul li, #room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart, #ib_logoff {
background-color: #F0FFFF;
color: #333;
}
a:visited { color: purple; }
+#customize a:active, #customize a:link, #customize a:visited { color: black; }
+
#important_message, .buttons a:hover, .msgbuttons a:hover, input:hover, #button > li:hover, #online_users li a:hover, #navbar ul li a:hover, #ib_logoff:hover {
background-color: #AD1C00;
color: #FFF;
z-index: 65535;
background-color: white;
text-align: left;
+ opacity: 0.9;
+}
+.draganddrop > ul {
+ list-style: none;
+ padding-left: 0;
+ margin-left: 0;
}
.hidden {
display: none;
}
#online_users {
+ display: none; /* Hide by default */
border: 0;
max-height: 200px;
overflow: auto;