Code Duplication    Length = 11-11 lines in 2 locations

Themes/default/Profile.template.php 2 locations

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