Code Duplication    Length = 6-8 lines in 2 locations

Themes/default/Display.template.php 1 location

@@ 688-693 (lines=6) @@
685
							</div>';
686
687
	// Ignoring this user? Hide the post.
688
	if ($ignoring)
689
		echo '
690
							<div id="msg_', $message['id'], '_ignored_prompt">
691
								', $txt['ignoring_user'], '
692
								<a href="#" id="msg_', $message['id'], '_ignored_link" style="display: none;">', $txt['show_ignore_user_post'], '</a>
693
							</div>';
694
695
	// Show the post itself, finally!
696
	echo '

Themes/default/Post.template.php 1 location

@@ 870-877 (lines=8) @@
867
			echo '
868
					<br class="clear">';
869
870
			if ($ignoring)
871
			{
872
				echo '
873
					<div id="msg_', $post['id'], '_ignored_prompt" class="smalltext">
874
						', $txt['ignoring_user'], '
875
						<a href="#" id="msg_', $post['id'], '_ignored_link" style="display: none;">', $txt['show_ignore_user_post'], '</a>
876
					</div>';
877
			}
878
879
			echo '
880
					<div class="list_posts smalltext" id="msg_', $post['id'], '_body" data-msgid="', $post['id'], '">', $post['message'], '</div>