|
@@ -203,16 +203,16 @@ function template_body_above()
|
|
|
echo '
|
|
|
</li>';
|
|
|
|
|
|
- // This will only apply if we're powerful and can actually see reports.
|
|
|
- if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
|
|
|
- echo '
|
|
|
- <li class="modnotice"><a href="', $scripturl, '?action=moderate;area=reports">', $txt['mod_reports_waiting'], ' <span class="amt">', $context['open_mod_reports'], '</span></a></li>';
|
|
|
-
|
|
|
// Are there any members waiting for approval?
|
|
|
if (!empty($context['unapproved_members']))
|
|
|
echo '
|
|
|
<li class="modnotice"><a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $txt['approve_members_waiting'], ' <span class="amt">', $context['unapproved_members'], '</span></a></li>';
|
|
|
|
|
|
+ // This will only apply if we're powerful and can actually see reports.
|
|
|
+ if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
|
|
|
+ echo '
|
|
|
+ <li class="modnotice"><a href="', $scripturl, '?action=moderate;area=reports">', $txt['mod_reports_waiting'], ' <span class="amt">', $context['open_mod_reports'], '</span></a></li>';
|
|
|
+
|
|
|
echo '
|
|
|
</ul>';
|
|
|
}
|