hide password recovery note if email address can't be set
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
2f517899a2
commit
9e66d5d7cf
|
@ -97,8 +97,10 @@
|
||||||
<?php if(!$_['displayNameChangeSupported']) { ?>
|
<?php if(!$_['displayNameChangeSupported']) { ?>
|
||||||
<span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span>
|
<span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<br />
|
<?php if($_['displayNameChangeSupported']) { ?>
|
||||||
<em><?php p($l->t('For password recovery and notifications')); ?></em>
|
<br />
|
||||||
|
<em><?php p($l->t('For password recovery and notifications')); ?></em>
|
||||||
|
<?php } ?>
|
||||||
<span class="icon-checkmark hidden"/>
|
<span class="icon-checkmark hidden"/>
|
||||||
<input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
|
<input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue