Code Duplication    Length = 8-12 lines in 4 locations

Themes/default/PersonalMessage.template.php 1 location

@@ 1088-1095 (lines=8) @@
1085
			', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message');
1086
1087
	// Require an image to be typed to save spamming?
1088
	if ($context['require_verification'])
1089
	{
1090
		echo '
1091
			<div class="post_verification">
1092
				<strong>', $txt['pm_visual_verification_label'], ':</strong>
1093
				', template_control_verification($context['visual_verification_id'], 'all'), '
1094
			</div>';
1095
	}
1096
1097
	// Send, Preview, spellcheck buttons.
1098
	echo '

Themes/default/Register.template.php 1 location

@@ 280-291 (lines=12) @@
277
			</div>';
278
	}
279
280
	if ($context['visual_verification'])
281
	{
282
		echo '
283
			<div class="title_bar title_top">
284
				<h3 class="titlebg">', $txt['verification'], '</h3>
285
			</div>
286
			<div class="roundframe">
287
				<fieldset class="centertext">
288
					', template_control_verification($context['visual_verification_id'], 'all'), '
289
				</fieldset>
290
			</div>';
291
	}
292
293
	echo '
294
			<div id="confirm_buttons" class="flow_auto">';

Themes/default/Search.template.php 1 location

@@ 105-112 (lines=8) @@
102
				<input type="hidden" name="advanced" value="1">';
103
104
	// Require an image to be typed to save spamming?
105
	if ($context['require_verification'])
106
	{
107
		echo '
108
				<p>
109
					<strong>', $txt['verification'], ':</strong>
110
					', template_control_verification($context['visual_verification_id'], 'all'), '
111
				</p>';
112
	}
113
114
	// If $context['search_params']['topic'] is set, that means we're searching just one topic.
115
	if (!empty($context['search_params']['topic']))

Themes/default/Display.template.php 1 location

@@ 1043-1050 (lines=8) @@
1040
						</script>';
1041
1042
	// Is visual verification enabled?
1043
	if ($context['require_verification'])
1044
	{
1045
		echo '
1046
				<div class="post_verification">
1047
					<strong>', $txt['verification'], ':</strong>
1048
					', template_control_verification($context['visual_verification_id'], 'all'), '
1049
				</div>';
1050
	}
1051
1052
	// Finally, the submit buttons.
1053
	echo '