Browse Source

change order of email and phone number

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/1946/head
Bjoern Schiessle 10 years ago
committed by Roeland Jago Douma
parent
commit
3f8bfbdb11
No known key found for this signature in database GPG Key ID: F941078878347C0C
  1. 28
      settings/templates/personal.php

28
settings/templates/personal.php

@ -83,32 +83,32 @@ if($_['displayNameChangeSupported']) {
</form>
</div>
<div class="personal-settings-setting-box">
<form id="phoneform" class="section">
<form id="emailform" class="section">
<h2>
<label for="phone"><?php p($l->t('Phone number')); ?></label>
<label for="email"><?php p($l->t('Email')); ?></label>
<span class="icon-password"/>
</h2>
<input type="tel" id="phone" name="phone"
value="<?php p($_['phone']) ?>"
placeholder="<?php p($l->t('Your phone number')); ?>"
autocomplete="on" autocapitalize="off" autocorrect="off" />
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
placeholder="<?php p($l->t('Your email address')); ?>"
autocomplete="on" autocapitalize="off" autocorrect="off" />
<input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
<br />
<em><?php p($l->t('For password recovery and notifications')); ?></em>
<span class="icon-checkmark hidden"/>
<input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>">
</form>
</div>
<div class="personal-settings-setting-box">
<form id="emailform" class="section">
<form id="phoneform" class="section">
<h2>
<label for="email"><?php p($l->t('Email')); ?></label>
<label for="phone"><?php p($l->t('Phone number')); ?></label>
<span class="icon-password"/>
</h2>
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
placeholder="<?php p($l->t('Your email address')); ?>"
<input type="tel" id="phone" name="phone"
value="<?php p($_['phone']) ?>"
placeholder="<?php p($l->t('Your phone number')); ?>"
autocomplete="on" autocapitalize="off" autocorrect="off" />
<input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
<br />
<em><?php p($l->t('For password recovery and notifications')); ?></em>
<span class="icon-checkmark hidden"/>
<input type="hidden" id="phonescope" value="<?php p($_['phoneScope']) ?>">
</form>
</div>
<div class="personal-settings-setting-box">

Loading…
Cancel
Save