Code Duplication    Length = 7-7 lines in 4 locations

Themes/default/ModerationCenter.template.php 1 location

@@ 324-330 (lines=7) @@
321
	global $context, $txt, $scripturl;
322
323
	// Let them know the action was a success.
324
	if (!empty($context['report_post_action']))
325
		echo '
326
		<div class="infobox">
327
			', $txt['report_action_' . $context['report_post_action']], '
328
		</div>';
329
330
	echo '
331
		<div class="modnotes">
332
			<form action="', $scripturl, '?action=moderate;area=index;modnote" method="post">
333
				<div class="cat_bar">

Themes/default/ReportedContent.template.php 3 locations

@@ 21-27 (lines=7) @@
18
	global $context, $txt, $scripturl;
19
20
	// Let them know the action was a success.
21
	if (!empty($context['report_post_action']))
22
		echo '
23
	<div class="infobox">
24
		', $txt['report_action_' . $context['report_post_action']], '
25
	</div>';
26
27
	echo '
28
	<form id="reported_posts" action="', $scripturl, '?action=moderate;area=reportedposts;sa=show', $context['view_closed'] ? ';closed' : '', ';start=', $context['start'], '" method="post" accept-charset="', $context['character_set'], '">
29
		<div class="cat_bar">
30
			<h3 class="catbg">
@@ 192-198 (lines=7) @@
189
	global $context, $scripturl, $txt;
190
191
	// Let them know the action was a success.
192
	if (!empty($context['report_post_action']))
193
		echo '
194
	<div class="infobox">
195
		', $txt['report_action_' . $context['report_post_action']], '
196
	</div>';
197
198
	echo '
199
	<div id="modcenter">
200
		<form action="', $scripturl, '?action=moderate;area=reportedposts;sa=handlecomment;rid=', $context['report']['id'], '" method="post" accept-charset="', $context['character_set'], '">
201
			<div class="cat_bar">
@@ 485-491 (lines=7) @@
482
	global $context, $scripturl, $txt;
483
484
	// Let them know the action was a success.
485
	if (!empty($context['report_post_action']))
486
		echo '
487
	<div class="infobox">
488
		', $txt['report_action_' . $context['report_post_action']], '
489
	</div>';
490
491
	echo '
492
	<div id="modcenter">
493
		<form action="', $scripturl, '?action=moderate;area=reportedmembers;sa=handlecomment;rid=', $context['report']['id'], '" method="post" accept-charset="', $context['character_set'], '">
494
			<div class="cat_bar">