X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=cefb6c02815ee029f7f18607c104a09391efff1e;hb=a0b24745843fc7bad6f8291ef6f660e255af7825;hp=463169decd6e330ab19a113ff672054b25646108;hpb=d484aecb2d4013bdae38437a7edea4877261d96b;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 463169d..cefb6c0 100644 --- a/web/commons.js +++ b/web/commons.js @@ -359,7 +359,7 @@ function chatt_checksend(obj,e) function act_chatt(value) { if (value.substring(0, 6) == "/info ") { - show_user_info(value.substring(6)); + info_show(value.substring(6)); } else { send_mesg("chatt|"+encodeURIComponent(value)); @@ -430,11 +430,6 @@ function act_roadmap() send_mesg("roadmap"); } -function act_whysupport() -{ - send_mesg("whysupport"); -} - function act_lascio() { send_mesg("lascio"); @@ -1038,17 +1033,19 @@ function user_decorator(user, is_real) for (i = 0 ; i < 4 ; i++) { if (flags & (1 << i)) { - cl += sp + "au" + i; + cl += sp + "au" + i + (is_real ? "" : "_off"); sp = " "; } } - if (flags != 0) + if (flags != 0) { name = ""+user[1]+""; - else + (is_real && (flags & 0xfffffe && ((flags & 0x01) == 0)) ? "id_usr" : "") + + "'>" + user[1] + ""; + } + else { name = user[1]; + } return (name); }