Code Duplication    Length = 11-11 lines in 2 locations

Themes/default/Profile.template.php 2 locations

@@ 1606-1616 (lines=11) @@
1603
				<div>', $context['profile_posthtml'], '</div>';
1604
1605
	// Only show the password box if it's actually needed.
1606
	if ($context['require_password'])
1607
		echo '
1608
				<dl class="settings">
1609
					<dt>
1610
						<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '><label for="oldpasswrd">', $txt['current_password'], ': </label></strong><br>
1611
						<span class="smalltext">', $txt['required_security_reasons'], '</span>
1612
					</dt>
1613
					<dd>
1614
						<input type="password" name="oldpasswrd" id="oldpasswrd" size="20">
1615
					</dd>
1616
				</dl>';
1617
1618
	// The button shouldn't say "Change profile" unless we're changing the profile...
1619
	if (!empty($context['submit_button_text']))
@@ 2669-2679 (lines=11) @@
2666
					<hr>';
2667
2668
	// Only show the password box if it's actually needed.
2669
	if ($context['require_password'])
2670
		echo '
2671
					<dl class="settings">
2672
						<dt>
2673
							<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '>', $txt['current_password'], ': </strong><br>
2674
							<span class="smalltext">', $txt['required_security_reasons'], '</span>
2675
						</dt>
2676
						<dd>
2677
							<input type="password" name="oldpasswrd" size="20">
2678
						</dd>
2679
					</dl>';
2680
2681
	echo '
2682
					<div class="righttext">';