summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-06-21 11:22:05 +0200
committerJoas Schilling <coding@schilljs.com>2017-06-21 11:34:52 +0200
commit7816c5462531bfb20ab977b430081ab5ccf04755 (patch)
tree9161d24af014df15b2393646cc44fdb7922e181e /settings/templates/personal.php
parent146c699eb49e05c499bf6673f85a948aecceec97 (diff)
downloadnextcloud-server-7816c5462531bfb20ab977b430081ab5ccf04755.tar.gz
nextcloud-server-7816c5462531bfb20ab977b430081ab5ccf04755.zip
Allow to force a language and set it via the ocs api
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index dbc5b5611d5..7a7d87e930d 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -292,6 +292,7 @@ if($_['passwordChangeSupported']) {
}
?>
+<?php if (isset($_['activelanguage'])) { ?>
<form id="language" class="section">
<h2>
<label for="languageinput"><?php p($l->t('Language'));?></label>
@@ -317,6 +318,7 @@ if($_['passwordChangeSupported']) {
<em><?php p($l->t('Help translate'));?></em>
</a>
</form>
+<?php } ?>
<div id="clientsbox" class="section clientsbox">