diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-01-15 17:51:54 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-01-15 17:51:54 +0100 |
commit | 022b6984758355e50e6e4a1ae053ee465d2d4e7c (patch) | |
tree | 2c64aa197ed73cc7a3c4cce944ede3cffaa6a30d /settings/templates | |
parent | 2fbe8bbcba2e6387669f0028cb5a3d314336efe4 (diff) | |
download | nextcloud-server-022b6984758355e50e6e4a1ae053ee465d2d4e7c.tar.gz nextcloud-server-022b6984758355e50e6e4a1ae053ee465d2d4e7c.zip |
Show mail address & display name if it is read only
* gives the user the chance to verify it's mail address
and display name
* ref #12823
* fixes #13393
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/personal.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index ad61f398b1c..978174cc683 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -102,6 +102,13 @@ if($_['displayNameChangeSupported']) { <input type="hidden" id="oldDisplayName" name="oldDisplayName" value="<?php p($_['displayName'])?>" /> </form> <?php +} else { +?> +<div class="section"> + <h2><?php echo $l->t('Full Name');?></h2> + <span><?php p($_['displayName'])?></span> +</div> +<?php } ?> @@ -119,6 +126,13 @@ if($_['passwordChangeSupported']) { <em><?php p($l->t('Fill in an email address to enable password recovery and receive notifications'));?></em> </form> <?php +} else { +?> +<div class="section"> + <h2><?php echo $l->t('Email'); ?></h2> + <span><?php if($_['email']) { p($_['email']); } else { p($l->t('No email address set')); }?></span> +</div> +<?php } ?> |