projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add new type of tables (certified only) and new type of user (certified)
[brisk.git]
/
web
/
commons.js
diff --git
a/web/commons.js
b/web/commons.js
index
9d07b5d
..
b95519b
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-1027,9
+1027,10
@@
var CHATT_MAXLINES = 40;
function user_decorator(user)
{
var name;
function user_decorator(user)
{
var name;
- var flags = user[0];
- if ((flags & 0x03) != 0)
- name = "<span class='au" + (flags & 0x03) + "'>"+user[1]+"</span>";
+ var flags = user[0] & 0x03 | ((user[0] & 0x040000) >> 16);
+
+ if (flags != 0)
+ name = "<span class='au" + flags + "'>"+user[1]+"</span>";
else
name = user[1];
else
name = user[1];