|
@@ 4225-4229 (lines=5) @@
|
| 4222 |
|
} |
| 4223 |
|
|
| 4224 |
|
// Show how many errors there are |
| 4225 |
|
if (!empty($context['num_errors']) && allowedTo('admin_forum')) |
| 4226 |
|
{ |
| 4227 |
|
$context['menu_buttons']['admin']['title'] .= ' <span class="amt">' . $context['num_errors'] . '</span>'; |
| 4228 |
|
$context['menu_buttons']['admin']['sub_buttons']['errorlog']['title'] .= ' <span class="amt">' . $context['num_errors'] . '</span>'; |
| 4229 |
|
} |
| 4230 |
|
|
| 4231 |
|
/** |
| 4232 |
|
* @todo For some reason, $context['open_member_reports'] isn't getting set |
|
@@ 4240-4244 (lines=5) @@
|
| 4237 |
|
$context['menu_buttons']['moderate']['sub_buttons']['reported_members']['title'] .= ' <span class="amt">' . $context['open_member_reports'] . '</span>'; |
| 4238 |
|
} |
| 4239 |
|
|
| 4240 |
|
if (!empty($context['unapproved_members'])) |
| 4241 |
|
{ |
| 4242 |
|
$context['menu_buttons']['admin']['sub_buttons']['memberapprove']['title'] .= ' <span class="amt">' . $context['unapproved_members'] . '</span>'; |
| 4243 |
|
$context['menu_buttons']['admin']['title'] .= ' <span class="amt">' . $context['unapproved_members'] . '</span>'; |
| 4244 |
|
} |
| 4245 |
|
|
| 4246 |
|
// Do we have any open reports? |
| 4247 |
|
if ($total_mod_reports > 0) |