Code Duplication    Length = 8-12 lines in 4 locations

Themes/default/Search.template.php 1 location

@@ 113-120 (lines=8) @@
110
			<input type="hidden" name="advanced" value="1">';
111
112
	// Require an image to be typed to save spamming?
113
	if ($context['require_verification'])
114
		echo '
115
			<p>
116
				<strong>', $txt['verification'], ':</strong>
117
				', template_control_verification($context['visual_verification_id'], 'all'), '
118
			</p>';
119
120
	// If $context['search_params']['topic'] is set, that means we're searching just one topic.
121
	if (!empty($context['search_params']['topic']))
122
		echo '
123
			<p>

Themes/default/Register.template.php 1 location

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

Themes/default/Display.template.php 1 location

@@ 1087-1094 (lines=8) @@
1084
						</script>';
1085
1086
	// Is visual verification enabled?
1087
	if ($context['require_verification'])
1088
		echo '
1089
						<div class="post_verification">
1090
							<strong>', $txt['verification'], ':</strong>
1091
							', template_control_verification($context['visual_verification_id'], 'all'), '
1092
						</div>';
1093
1094
	// Finally, the submit buttons.
1095
	echo '
1096
						<br class="clear_right">
1097
						<span id="post_confirm_buttons" class="floatright">

Themes/default/PersonalMessage.template.php 1 location

@@ 1134-1141 (lines=8) @@
1131
				', template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message');
1132
1133
	// Require an image to be typed to save spamming?
1134
	if ($context['require_verification'])
1135
		echo '
1136
				<div class="post_verification">
1137
					<strong>', $txt['pm_visual_verification_label'], ':</strong>
1138
					', template_control_verification($context['visual_verification_id'], 'all'), '
1139
				</div>';
1140
1141
	// Send, Preview, spellcheck buttons.
1142
	echo '
1143
				<hr>
1144
				<span id="post_confirm_strip" class="righttext">