summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-26 14:05:29 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-26 14:05:29 +0100
commit5fa6d3ea5802c705c2883edf1d24bbd330defdcb (patch)
treed2f9ac2a6f5c018634498beb3f70d8062e053092 /settings
parent62d7885c3b13d7d2acf33f80e91016a82cc8a7c0 (diff)
parentd03c537a26e5f5b3cb5ff3b6bd85a370f3af6038 (diff)
downloadnextcloud-server-5fa6d3ea5802c705c2883edf1d24bbd330defdcb.tar.gz
nextcloud-server-5fa6d3ea5802c705c2883edf1d24bbd330defdcb.zip
Merge pull request #22669 from owncloud/fix-email-form
Fix email form on personal page
Diffstat (limited to 'settings')
-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>