htdocs/modules/pm/class/plugin/usermenu.php 1 location
|
@@ 34-36 (lines=3) @@
|
31 |
|
$pm_handler = $helper->getHandler('message'); |
32 |
|
|
33 |
|
$name = XoopsLocale::INBOX; |
34 |
|
if ($pm_count = $pm_handler->getCount($criteria)) { |
35 |
|
$name = XoopsLocale::INBOX . ' <span class="badge">' . $pm_count . '</span>'; |
36 |
|
} |
37 |
|
|
38 |
|
$ret[] = [ |
39 |
|
'name' => $name, |
htdocs/modules/system/blocks/user.php 1 location
|
@@ 102-105 (lines=4) @@
|
99 |
|
|
100 |
|
$name = XoopsLocale::INBOX; |
101 |
|
$class = ''; |
102 |
|
if ($pm_count = $pm_handler->getCount($criteria)) { |
103 |
|
$name = XoopsLocale::INBOX . ' <span class="badge">' . $pm_count . '</span>'; |
104 |
|
//$class = 'text-info'; |
105 |
|
} |
106 |
|
|
107 |
|
array_push($block['modules'], array( |
108 |
|
'name' => $name, |
htdocs/modules/system/class/plugin/usermenu.php 1 location
|
@@ 58-60 (lines=3) @@
|
55 |
|
$xoops->events()->triggerEvent('system.blocks.system_blocks.usershow', array(&$pm_handler)); |
56 |
|
|
57 |
|
$name = XoopsLocale::INBOX; |
58 |
|
if ($pm_count = $pm_handler->getCount($criteria)) { |
59 |
|
$name = XoopsLocale::INBOX . ' <span class="badge">' . $pm_count . '</span>'; |
60 |
|
} |
61 |
|
|
62 |
|
$ret[] = [ |
63 |
|
'name' => $name, |