Code Duplication    Length = 6-8 lines in 2 locations

Themes/default/Display.template.php 1 location

@@ 696-701 (lines=6) @@
693
							</div><!-- .keyinfo -->';
694
695
	// Ignoring this user? Hide the post.
696
	if ($ignoring)
697
		echo '
698
							<div id="msg_', $message['id'], '_ignored_prompt">
699
								', $txt['ignoring_user'], '
700
								<a href="#" id="msg_', $message['id'], '_ignored_link" style="display: none;">', $txt['show_ignore_user_post'], '</a>
701
							</div>';
702
703
	// Show the post itself, finally!
704
	echo '

Themes/default/Post.template.php 1 location

@@ 849-856 (lines=8) @@
846
			echo '
847
					<br class="clear">';
848
849
			if ($ignoring)
850
			{
851
				echo '
852
					<div id="msg_', $post['id'], '_ignored_prompt" class="smalltext">
853
						', $txt['ignoring_user'], '
854
						<a href="#" id="msg_', $post['id'], '_ignored_link" style="display: none;">', $txt['show_ignore_user_post'], '</a>
855
					</div>';
856
			}
857
858
			echo '
859
					<div class="list_posts smalltext" id="msg_', $post['id'], '_body" data-msgid="', $post['id'], '">', $post['message'], '</div>