summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-06-10 14:58:30 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-06-10 14:58:30 +0200
commit663459ca26d371731e0bc6409f746ebd7bac11ef (patch)
tree84459b358f9ad8b36d18d93eea31706eccc20e73 /settings/templates/personal.php
parenta9ea908413aa51c48739ea3e01811e36e819560c (diff)
downloadnextcloud-server-663459ca26d371731e0bc6409f746ebd7bac11ef.tar.gz
nextcloud-server-663459ca26d371731e0bc6409f746ebd7bac11ef.zip
rearrange personal settings sections
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php56
1 files changed, 28 insertions, 28 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index ced76fc3bf6..942944ffab7 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -139,6 +139,34 @@ if($_['passwordChangeSupported']) {
}
?>
+<form id="language" class="section">
+ <h2>
+ <label for="languageinput"><?php p($l->t('Language'));?></label>
+ </h2>
+ <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language'));?>">
+ <option value="<?php p($_['activelanguage']['code']);?>">
+ <?php p($_['activelanguage']['name']);?>
+ </option>
+ <?php foreach($_['commonlanguages'] as $language):?>
+ <option value="<?php p($language['code']);?>">
+ <?php p($language['name']);?>
+ </option>
+ <?php endforeach;?>
+ <optgroup label="––––––––––"></optgroup>
+ <?php foreach($_['languages'] as $language):?>
+ <option value="<?php p($language['code']);?>">
+ <?php p($language['name']);?>
+ </option>
+ <?php endforeach;?>
+ </select>
+ <?php if (OC_Util::getEditionString() === ''): ?>
+ <a href="https://www.transifex.com/projects/p/owncloud/"
+ target="_blank" rel="noreferrer">
+ <em><?php p($l->t('Help translate'));?></em>
+ </a>
+ <?php endif; ?>
+</form>
+
<div id="sessions" class="section">
<h2><?php p($l->t('Sessions'));?></h2>
<span class="hidden-when-empty"><?php p($l->t('These are the web, desktop and mobile clients currently logged in to your ownCloud.'));?></span>
@@ -180,34 +208,6 @@ if($_['passwordChangeSupported']) {
</div>
</div>
-<form id="language" class="section">
- <h2>
- <label for="languageinput"><?php p($l->t('Language'));?></label>
- </h2>
- <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language'));?>">
- <option value="<?php p($_['activelanguage']['code']);?>">
- <?php p($_['activelanguage']['name']);?>
- </option>
- <?php foreach($_['commonlanguages'] as $language):?>
- <option value="<?php p($language['code']);?>">
- <?php p($language['name']);?>
- </option>
- <?php endforeach;?>
- <optgroup label="––––––––––"></optgroup>
- <?php foreach($_['languages'] as $language):?>
- <option value="<?php p($language['code']);?>">
- <?php p($language['name']);?>
- </option>
- <?php endforeach;?>
- </select>
- <?php if (OC_Util::getEditionString() === ''): ?>
- <a href="https://www.transifex.com/projects/p/owncloud/"
- target="_blank" rel="noreferrer">
- <em><?php p($l->t('Help translate'));?></em>
- </a>
- <?php endif; ?>
-</form>
-
<div id="clientsbox" class="section clientsbox">
<h2><?php p($l->t('Get the apps to sync your files'));?></h2>
<a href="<?php p($_['clients']['desktop']); ?>" rel="noreferrer" target="_blank">