Code Duplication    Length = 3-3 lines in 8 locations

Themes/default/Profile.template.php 8 locations

@@ 769-771 (lines=3) @@
766
			</dl>
767
		</div>';
768
769
	if (!empty($context['token_check']))
770
		echo '
771
			<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
772
773
	echo '
774
		<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 868-870 (lines=3) @@
865
			</dl>
866
		</div>';
867
868
	if (!empty($context['token_check']))
869
		echo '
870
		<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
871
872
	echo '
873
		<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 1547-1549 (lines=3) @@
1544
		echo '
1545
				<input type="submit" name="save" value="', $txt['change_profile'], '" class="button_submit">';
1546
1547
	if (!empty($context['token_check']))
1548
		echo '
1549
				<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
1550
1551
	echo '
1552
				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 2082-2084 (lines=3) @@
2079
	echo '
2080
		</div>';
2081
2082
	if (!empty($context['token_check']))
2083
		echo '
2084
				<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
2085
2086
	echo '
2087
				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 2393-2395 (lines=3) @@
2390
			</dl>
2391
			<div class="righttext">';
2392
2393
	if (!empty($context['token_check']))
2394
		echo '
2395
				<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
2396
2397
	echo '
2398
				<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 2494-2496 (lines=3) @@
2491
					<input type="password" name="oldpasswrd" size="20" class="input_password">&nbsp;&nbsp;&nbsp;&nbsp;
2492
					<input type="submit" value="', $txt['yes'], '" class="button_submit">';
2493
2494
		if (!empty($context['token_check']))
2495
			echo '
2496
				<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
2497
2498
		echo '
2499
					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 2537-2539 (lines=3) @@
2534
				<div>
2535
					<input type="submit" value="', $txt['delete'], '" class="button_submit">';
2536
2537
		if (!empty($context['token_check']))
2538
			echo '
2539
				<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
2540
2541
		echo '
2542
					<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
@@ 2580-2582 (lines=3) @@
2577
	echo '
2578
					<div class="righttext">';
2579
2580
		if (!empty($context['token_check']))
2581
			echo '
2582
				<input type="hidden" name="', $context[$context['token_check'] . '_token_var'], '" value="', $context[$context['token_check'] . '_token'], '">';
2583
2584
	echo '
2585
						<input type="submit" value="', $txt['change_profile'], '" class="button_submit">