give unread PM count a class, so custom themes can make it red if they wish
This commit is contained in:
parent
1703cd9caa
commit
97a0aa7e4c
@ -85,7 +85,7 @@ class PrivMsg extends Extension {
|
||||
global $user;
|
||||
if(!$user->is_anonymous()) {
|
||||
$count = $this->count_pms($user);
|
||||
$h_count = $count > 0 ? " ($count)" : "";
|
||||
$h_count = $count > 0 ? " <span class='unread'>($count)</span>" : "";
|
||||
$event->add_link("Private Messages$h_count", make_link("user#private-messages"));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user