diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-04 22:34:59 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-04 22:34:59 -0500 |
commit | 99d27e0ce4f48454808d2325cb407b5b35cf5e88 (patch) | |
tree | 3c518cf08499890d46b9d2f65724d46617e1fc67 /app/Template/user/edit.php | |
parent | d1d04d6feeebeba2aea5333d7a4229fcec799f75 (diff) |
Allow users to override the timezone and the language
Diffstat (limited to 'app/Template/user/edit.php')
-rw-r--r-- | app/Template/user/edit.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/user/edit.php b/app/Template/user/edit.php index 68b264ec..43171d29 100644 --- a/app/Template/user/edit.php +++ b/app/Template/user/edit.php @@ -20,6 +20,12 @@ <?= $this->formLabel(t('Default project'), 'default_project_id') ?> <?= $this->formSelect('default_project_id', $projects, $values, $errors) ?><br/> + <?= $this->formLabel(t('Timezone'), 'timezone') ?> + <?= $this->formSelect('timezone', $timezones, $values, $errors) ?><br/> + + <?= $this->formLabel(t('Language'), 'language') ?> + <?= $this->formSelect('language', $languages, $values, $errors) ?><br/> + <?php if ($this->userSession->isAdmin()): ?> <?= $this->formCheckbox('is_admin', t('Administrator'), 1, isset($values['is_admin']) && $values['is_admin'] == 1 ? true : false) ?><br/> <?php endif ?> |