Code Duplication    Length = 11-11 lines in 2 locations

Themes/default/Profile.template.php 2 locations

@@ 1579-1589 (lines=11) @@
1576
				<div>', $context['profile_posthtml'], '</div>';
1577
1578
	// Only show the password box if it's actually needed.
1579
	if ($context['require_password'])
1580
		echo '
1581
				<dl class="settings">
1582
					<dt>
1583
						<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '><label for="oldpasswrd">', $txt['current_password'], ': </label></strong><br>
1584
						<span class="smalltext">', $txt['required_security_reasons'], '</span>
1585
					</dt>
1586
					<dd>
1587
						<input type="password" name="oldpasswrd" id="oldpasswrd" size="20">
1588
					</dd>
1589
				</dl>';
1590
1591
	// The button shouldn't say "Change profile" unless we're changing the profile...
1592
	if (!empty($context['submit_button_text']))
@@ 2636-2646 (lines=11) @@
2633
					<hr>';
2634
2635
	// Only show the password box if it's actually needed.
2636
	if ($context['require_password'])
2637
		echo '
2638
					<dl class="settings">
2639
						<dt>
2640
							<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '>', $txt['current_password'], ': </strong><br>
2641
							<span class="smalltext">', $txt['required_security_reasons'], '</span>
2642
						</dt>
2643
						<dd>
2644
							<input type="password" name="oldpasswrd" size="20">
2645
						</dd>
2646
					</dl>';
2647
2648
	echo '
2649
					<div class="righttext">';