|
@@ 4343-4347 (lines=5) @@
|
| 4340 |
|
} |
| 4341 |
|
|
| 4342 |
|
// Show how many errors there are |
| 4343 |
|
if (!empty($context['num_errors']) && allowedTo('admin_forum')) |
| 4344 |
|
{ |
| 4345 |
|
$context['menu_buttons']['admin']['title'] .= ' <span class="amt">' . $context['num_errors'] . '</span>'; |
| 4346 |
|
$context['menu_buttons']['admin']['sub_buttons']['errorlog']['title'] .= ' <span class="amt">' . $context['num_errors'] . '</span>'; |
| 4347 |
|
} |
| 4348 |
|
|
| 4349 |
|
// Show number of reported members |
| 4350 |
|
if (!empty($context['open_member_reports']) && allowedTo('moderate_forum')) |
|
@@ 4356-4360 (lines=5) @@
|
| 4353 |
|
$context['menu_buttons']['moderate']['sub_buttons']['reported_members']['title'] .= ' <span class="amt">' . $context['open_member_reports'] . '</span>'; |
| 4354 |
|
} |
| 4355 |
|
|
| 4356 |
|
if (!empty($context['unapproved_members'])) |
| 4357 |
|
{ |
| 4358 |
|
$context['menu_buttons']['admin']['sub_buttons']['memberapprove']['title'] .= ' <span class="amt">' . $context['unapproved_members'] . '</span>'; |
| 4359 |
|
$context['menu_buttons']['admin']['title'] .= ' <span class="amt">' . $context['unapproved_members'] . '</span>'; |
| 4360 |
|
} |
| 4361 |
|
|
| 4362 |
|
// Do we have any open reports? |
| 4363 |
|
if ($total_mod_reports > 0) |