diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-22 19:21:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-22 19:21:22 +0100 |
commit | ca3b67703c8f99820136cb3307df64540b460887 (patch) | |
tree | 029a29d39effaae442d73bce6ec84d90d29976b1 | |
parent | f4470b6861080f9ef9635c65b7b8d8ee7574c78a (diff) | |
parent | 623c02fe6eb3edf5e814e0771592106a17fce680 (diff) | |
download | nextcloud-server-ca3b67703c8f99820136cb3307df64540b460887.tar.gz nextcloud-server-ca3b67703c8f99820136cb3307df64540b460887.zip |
Merge pull request #2251 from nextcloud/remove-superfluos-mail-input-field
Remove superfluous email input field
-rw-r--r-- | settings/templates/personal.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index b81b19d9060..2ae6c1dcdf2 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -157,34 +157,6 @@ if($_['displayNameChangeSupported']) { <?php } else { ?> -<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> -<?php -} -?> - -<?php -if($_['displayNameChangeSupported']) { -?> -<form id="lostpassword" class="section"> - <h2> - <label for="email"><?php p($l->t('Email'));?></label> - </h2> - <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" - placeholder="<?php p($l->t('Your email address'));?>" - class="password-confirm-required" - autocomplete="on" autocapitalize="off" autocorrect="off" /> - <span class="msg"></span><br /> - <em><?php p($l->t('For password recovery and notifications'));?></em> -</form> -<?php -} else { -?> -<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 id="personal-settings-container" class="no-edit"> <div id="displaynameform" class="section"> <h2><?php p($l->t('Full name'));?></h2> |