mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #22669 from owncloud/fix-email-form
Fix email form on personal page
This commit is contained in:
commit
5fa6d3ea58
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue