]> source.dussan.org Git - nextcloud-server.git/commitdiff
change order of email and phone number
authorBjoern Schiessle <bjoern@schiessle.org>
Wed, 16 Nov 2016 11:34:32 +0000 (12:34 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 21 Nov 2016 10:29:58 +0000 (11:29 +0100)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
settings/templates/personal.php

index cd3093a75edbbe033252b83a8665b26bdfdd8bda..16cb5a0c761840f178271b5da2b2772a75c7f61c 100644 (file)
@@ -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">