Code Duplication    Length = 11-11 lines in 2 locations

Themes/default/Profile.template.php 2 locations

@@ 1595-1605 (lines=11) @@
1592
				<div>', $context['profile_posthtml'], '</div>';
1593
1594
	// Only show the password box if it's actually needed.
1595
	if ($context['require_password'])
1596
		echo '
1597
				<dl class="settings">
1598
					<dt>
1599
						<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '><label for="oldpasswrd">', $txt['current_password'], ': </label></strong><br>
1600
						<span class="smalltext">', $txt['required_security_reasons'], '</span>
1601
					</dt>
1602
					<dd>
1603
						<input type="password" name="oldpasswrd" id="oldpasswrd" size="20">
1604
					</dd>
1605
				</dl>';
1606
1607
	// The button shouldn't say "Change profile" unless we're changing the profile...
1608
	if (!empty($context['submit_button_text']))
@@ 2663-2673 (lines=11) @@
2660
					<hr>';
2661
2662
	// Only show the password box if it's actually needed.
2663
	if ($context['require_password'])
2664
		echo '
2665
					<dl class="settings">
2666
						<dt>
2667
							<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '>', $txt['current_password'], ': </strong><br>
2668
							<span class="smalltext">', $txt['required_security_reasons'], '</span>
2669
						</dt>
2670
						<dd>
2671
							<input type="password" name="oldpasswrd" size="20">
2672
						</dd>
2673
					</dl>';
2674
2675
	echo '
2676
					<div class="righttext">';