Code Duplication    Length = 3-7 lines in 2 locations

Themes/default/Search.template.php 1 location

@@ 28-30 (lines=3) @@
25
			</h3>
26
		</div>';
27
28
	if (!empty($context['search_errors']))
29
		echo '
30
		<div class="errorbox">', implode('<br>', $context['search_errors']['messages']), '</div>';
31
32
	if (!empty($context['search_ignored']))
33
		echo '

Themes/default/PersonalMessage.template.php 1 location

@@ 754-760 (lines=7) @@
751
			<h3 class="catbg">', $txt['pm_search_title'], '</h3>
752
		</div>';
753
754
	if (!empty($context['search_errors']))
755
		echo '
756
		<div class="errorbox">
757
			', implode('<br>', $context['search_errors']['messages']), '
758
		</div>';
759
760
761
	echo '
762
		<fieldset id="advanced_search">
763
			<div class="roundframe">