Code Duplication    Length = 3-3 lines in 2 locations

Themes/default/Profile.template.php 1 location

@@ 1454-1456 (lines=3) @@
1451
						<input type="', $type, '" name="', $key, '" id="', $key, '" size="', empty($field['size']) ? 30 : $field['size'], '" value="', $field['value'], '" ', $field['input_attr'], ' class="input_', $field['type'] == 'password' ? 'password' : 'text', '"', $step, '>';
1452
			}
1453
			// You "checking" me out? ;)
1454
			elseif ($field['type'] == 'check')
1455
				echo '
1456
						<input type="hidden" name="', $key, '" value="0"><input type="checkbox" name="', $key, '" id="', $key, '"', !empty($field['value']) ? ' checked' : '', ' value="1" class="input_check" ', $field['input_attr'], '>';
1457
1458
			// Always fun - select boxes!
1459
			elseif ($field['type'] == 'select')

Themes/default/Register.template.php 1 location

@@ 219-221 (lines=3) @@
216
							<input type="', $field['type'] == 'password' ? 'password' : 'text', '" name="', $key, '" id="', $key, '" size="', empty($field['size']) ? 30 : $field['size'], '" value="', $field['value'], '" tabindex="', $context['tabindex']++, '" ', $field['input_attr'], ' class="input_', $field['type'] == 'password' ? 'password' : 'text', '">';
217
218
				// You "checking" me out? ;)
219
				elseif ($field['type'] == 'check')
220
					echo '
221
							<input type="hidden" name="', $key, '" value="0"><input type="checkbox" name="', $key, '" id="', $key, '"', !empty($field['value']) ? ' checked' : '', ' value="1" tabindex="', $context['tabindex']++, '" class="input_check" ', $field['input_attr'], '>';
222
223
				// Always fun - select boxes!
224
				elseif ($field['type'] == 'select')