2
0
Эх сурвалжийг харах

! Flipped the display of member approvals and reported posts to match the menu order of the same.

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 жил өмнө
parent
commit
d9fab23ea7

+ 5 - 5
Themes/default/index.template.php

@@ -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>';
 	}