|
@@ 1614-1624 (lines=11) @@
|
| 1611 |
|
<div>', $context['profile_posthtml'], '</div>'; |
| 1612 |
|
|
| 1613 |
|
// Only show the password box if it's actually needed. |
| 1614 |
|
if ($context['require_password']) |
| 1615 |
|
echo ' |
| 1616 |
|
<dl class="settings"> |
| 1617 |
|
<dt> |
| 1618 |
|
<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '><label for="oldpasswrd">', $txt['current_password'], ': </label></strong><br> |
| 1619 |
|
<span class="smalltext">', $txt['required_security_reasons'], '</span> |
| 1620 |
|
</dt> |
| 1621 |
|
<dd> |
| 1622 |
|
<input type="password" name="oldpasswrd" id="oldpasswrd" size="20"> |
| 1623 |
|
</dd> |
| 1624 |
|
</dl>'; |
| 1625 |
|
|
| 1626 |
|
// The button shouldn't say "Change profile" unless we're changing the profile... |
| 1627 |
|
if (!empty($context['submit_button_text'])) |
|
@@ 2637-2647 (lines=11) @@
|
| 2634 |
|
<hr>'; |
| 2635 |
|
|
| 2636 |
|
// Only show the password box if it's actually needed. |
| 2637 |
|
if ($context['require_password']) |
| 2638 |
|
echo ' |
| 2639 |
|
<dl class="settings"> |
| 2640 |
|
<dt> |
| 2641 |
|
<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '>', $txt['current_password'], ': </strong><br> |
| 2642 |
|
<span class="smalltext">', $txt['required_security_reasons'], '</span> |
| 2643 |
|
</dt> |
| 2644 |
|
<dd> |
| 2645 |
|
<input type="password" name="oldpasswrd" size="20"> |
| 2646 |
|
</dd> |
| 2647 |
|
</dl>'; |
| 2648 |
|
|
| 2649 |
|
echo ' |
| 2650 |
|
<div class="righttext">'; |