Code Duplication    Length = 8-12 lines in 4 locations

Themes/default/Search.template.php 1 location

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

Themes/default/Display.template.php 1 location

@@ 1103-1110 (lines=8) @@
1100
						</script>';
1101
1102
	// Is visual verification enabled?
1103
	if ($context['require_verification'])
1104
		echo '
1105
						<div class="post_verification">
1106
							<strong>', $txt['verification'], ':</strong>
1107
							', template_control_verification($context['visual_verification_id'], 'all'), '
1108
						</div>';
1109
1110
	// Finally, the submit buttons.
1111
	echo '
1112
						<br class="clear_right">
1113
						<span id="post_confirm_buttons" class="floatright">

Themes/default/PersonalMessage.template.php 1 location

@@ 1143-1150 (lines=8) @@
1140
	}
1141
1142
	// Require an image to be typed to save spamming?
1143
	if ($context['require_verification'])
1144
		echo '
1145
				<div class="post_verification">
1146
					<strong>', $txt['pm_visual_verification_label'], ':</strong>
1147
					', template_control_verification($context['visual_verification_id'], 'all'), '
1148
				</div>';
1149
1150
	// Send, Preview, spellcheck buttons.
1151
	echo '
1152
				<span id="post_confirm_strip" class="floatright">
1153
					', template_control_richedit_buttons($context['post_box_name']), '

Themes/default/Register.template.php 1 location

@@ 311-322 (lines=12) @@
308
				</fieldset>
309
			</div><!-- .roundframe -->';
310
311
	if ($context['visual_verification'])
312
		echo '
313
			<div class="title_bar">
314
				<h3 class="titlebg">', $txt['verification'], '</h3>
315
			</div>
316
			<div class="roundframe noup">
317
				<fieldset class="centertext">
318
					', template_control_verification($context['visual_verification_id'], 'all'), '
319
				</fieldset>
320
			</div>';
321
322
	echo '
323
			<div id="confirm_buttons" class="flow_auto">';
324
325
	// Age restriction in effect?