summaryrefslogtreecommitdiff
path: root/app/views/configure/display.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 16:45:16 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 16:45:16 +0200
commit70d75f0cf5304c1f8ef121538f9e4e166bb7b755 (patch)
treed9efb364cbcdfb7db92734937a68a42db7c5e123 /app/views/configure/display.phtml
parent70e7d09b967b903aed4d97d7eb66800f395f838c (diff)
Possibilité de choisir la langue à utiliser + fin traduction en anglais (bug #38)
Diffstat (limited to 'app/views/configure/display.phtml')
-rw-r--r--app/views/configure/display.phtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml
index fcae83d9a..be67896dc 100644
--- a/app/views/configure/display.phtml
+++ b/app/views/configure/display.phtml
@@ -7,6 +7,18 @@
<legend><?php echo Translate::t ('general_configuration'); ?></legend>
<div class="form-group">
+ <label class="group-name" for="language"><?php echo Translate::t ('language'); ?></label>
+ <div class="group-controls">
+ <select name="language" id="language">
+ <?php $languages = $this->conf->availableLanguages (); ?>
+ <?php foreach ($languages as $short => $lib) { ?>
+ <option value="<?php echo $short; ?>"<?php echo $this->conf->language () == $short ? ' selected="selected"' : ''; ?>><?php echo $lib; ?></option>
+ <?php } ?>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group">
<label class="group-name" for="old_entries"><?php echo Translate::t ('delete_articles_every'); ?></label>
<div class="group-controls">
<input type="number" id="old_entries" name="old_entries" value="<?php echo $this->conf->oldEntries (); ?>" /> <?php echo Translate::t ('month'); ?>