summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/templates/personal.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 14378899e92..5fc3c60cf66 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -72,7 +72,7 @@ if($_['displayNameChangeSupported']) {
<?php
} else {
?>
-<div class="section">
+<div id="displaynameform" class="section">
<h2><?php echo $l->t('Full name');?></h2>
<span><?php if(isset($_['displayName'][0])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span>
</div>
@@ -81,7 +81,7 @@ if($_['displayNameChangeSupported']) {
?>
<?php
-if($_['passwordChangeSupported']) {
+if($_['displayNameChangeSupported']) {
?>
<form id="lostpassword" class="section">
<h2>
@@ -96,7 +96,7 @@ if($_['passwordChangeSupported']) {
<?php
} else {
?>
-<div class="section">
+<div id="lostpassword" class="section">
<h2><?php echo $l->t('Email'); ?></h2>
<span><?php if(isset($_['email'][0])) { p($_['email']); } else { p($l->t('No email address set')); }?></span>
</div>