|
@@ 1527-1537 (lines=11) @@
|
| 1524 |
|
<div>', $context['profile_posthtml'], '</div>'; |
| 1525 |
|
|
| 1526 |
|
// Only show the password box if it's actually needed. |
| 1527 |
|
if ($context['require_password']) |
| 1528 |
|
echo ' |
| 1529 |
|
<dl class="settings"> |
| 1530 |
|
<dt> |
| 1531 |
|
<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '><label for="oldpasswrd">', $txt['current_password'], ': </label></strong><br> |
| 1532 |
|
<span class="smalltext">', $txt['required_security_reasons'], '</span> |
| 1533 |
|
</dt> |
| 1534 |
|
<dd> |
| 1535 |
|
<input type="password" name="oldpasswrd" id="oldpasswrd" size="20" style="margin-right: 4ex;" class="input_password"> |
| 1536 |
|
</dd> |
| 1537 |
|
</dl>'; |
| 1538 |
|
|
| 1539 |
|
// The button shouldn't say "Change profile" unless we're changing the profile... |
| 1540 |
|
if (!empty($context['submit_button_text'])) |
|
@@ 2565-2575 (lines=11) @@
|
| 2562 |
|
<hr>'; |
| 2563 |
|
|
| 2564 |
|
// Only show the password box if it's actually needed. |
| 2565 |
|
if ($context['require_password']) |
| 2566 |
|
echo ' |
| 2567 |
|
<dl class="settings"> |
| 2568 |
|
<dt> |
| 2569 |
|
<strong', isset($context['modify_error']['bad_password']) || isset($context['modify_error']['no_password']) ? ' class="error"' : '', '>', $txt['current_password'], ': </strong><br> |
| 2570 |
|
<span class="smalltext">', $txt['required_security_reasons'], '</span> |
| 2571 |
|
</dt> |
| 2572 |
|
<dd> |
| 2573 |
|
<input type="password" name="oldpasswrd" size="20" style="margin-right: 4ex;" class="input_password"> |
| 2574 |
|
</dd> |
| 2575 |
|
</dl>'; |
| 2576 |
|
|
| 2577 |
|
echo ' |
| 2578 |
|
<div class="righttext">'; |