diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-11-17 10:44:16 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-21 11:29:59 +0100 |
commit | 061ef0cc7cda6bd93ec8f42bba0e526d12c9bfec (patch) | |
tree | 7339d5139bafcdb3c953a506c03f3e95575a13e6 /settings | |
parent | fa87b2fbf25b776cfd62be8189cb663946944bfe (diff) | |
download | nextcloud-server-061ef0cc7cda6bd93ec8f42bba0e526d12c9bfec.tar.gz nextcloud-server-061ef0cc7cda6bd93ec8f42bba0e526d12c9bfec.zip |
rearrange input fields
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/personal.php | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 16cb5a0c761..519ffa273d9 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -112,6 +112,20 @@ if($_['displayNameChangeSupported']) { </form> </div> <div class="personal-settings-setting-box"> + <form id="addressform" class="section"> + <h2> + <label for="address"><?php echo $l->t('Address'); ?></label> + <span class="icon-password"/> + </h2> + <input type="text" id="address" name="address" + placeholder="<?php p($l->t('Your postal address')); ?>" + value="<?php p($_['address']) ?>" + autocomplete="on" autocapitalize="off" autocorrect="off" /> + <span class="icon-checkmark hidden"/> + <input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>"> + </form> + </div> + <div class="personal-settings-setting-box"> <form id="websiteform" class="section"> <h2> <label for="website"><?php p($l->t('Website')); ?></label> @@ -124,7 +138,6 @@ if($_['displayNameChangeSupported']) { <input type="hidden" id="websitescope" value="<?php p($_['websiteScope']) ?>"> </form> </div> - <div class="personal-settings-setting-box"> <form id="twitterform" class="section"> <h2> @@ -139,21 +152,6 @@ if($_['displayNameChangeSupported']) { </form> </div> - - <div class="personal-settings-setting-box"> - <form id="addressform" class="section"> - <h2> - <label for="address"><?php echo $l->t('Address'); ?></label> - <span class="icon-password"/> - </h2> - <input type="text" id="address" name="address" - placeholder="<?php p($l->t('Your postal address')); ?>" - value="<?php p($_['address']) ?>" - autocomplete="on" autocapitalize="off" autocorrect="off" /> - <span class="icon-checkmark hidden"/> - <input type="hidden" id="addressscope" value="<?php p($_['addressScope']) ?>"> - </form> - </div> <span class="msg"></span> </div> <?php @@ -200,6 +198,10 @@ if($_['displayNameChangeSupported']) { <h2><?php p($l->t('Phone')); ?></h2> <span><?php if(isset($_['phone'][0])) { p($_['phone']); } else { p($l->t('No phone number set')); }?></span> </div> + <div id="addressform" class="section"> + <h2><?php p($l->t('Address')); ?></h2> + <span><?php if(isset($_['address'][0])) { p($_['address']); } else { p($l->t('No address set')); }?></span> + </div> <div id="websiteform" class="section"> <h2><?php p($l->t('Website')); ?></h2> <span><?php if(isset($_['website'][0])) { p($_['website']); } else { p($l->t('No website set')); }?></span> @@ -208,10 +210,7 @@ if($_['displayNameChangeSupported']) { <h2><?php p($l->t('Twitter')); ?></h2> <span><?php if(isset($_['twitter'][0])) { p($_['twitter']); } else { p($l->t('No twitter handle set')); }?></span> </div> - <div id="addressform" class="section"> - <h2><?php p($l->t('Address')); ?></h2> - <span><?php if(isset($_['address'][0])) { p($_['address']); } else { p($l->t('No address set')); }?></span> - </div> + </div> <?php } |