summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-11-16 12:34:32 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:29:58 +0100
commit3f8bfbdb110a7010038f995d31d6d5132a543112 (patch)
tree457192e43170027d264496bd0c6f97efa412dc05 /settings
parentf7a4db5040be1682efb5ffb48273a62fc599e1b7 (diff)
downloadnextcloud-server-3f8bfbdb110a7010038f995d31d6d5132a543112.tar.gz
nextcloud-server-3f8bfbdb110a7010038f995d31d6d5132a543112.zip
change order of email and phone number
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/personal.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index cd3093a75ed..16cb5a0c761 100644
--- a/settings/templates/personal.php
+++ b/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">