diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/config.twig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig index 13bdaafd..23860ebd 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -47,6 +47,25 @@ | |||
47 | <input type="hidden" name="token" value="{{ token }}"> | 47 | <input type="hidden" name="token" value="{{ token }}"> |
48 | </form> | 48 | </form> |
49 | 49 | ||
50 | <h2>{% trans "Change your language" %}</h2> | ||
51 | <form method="post" action="?updatelanguage" name="changelanguageform"> | ||
52 | <fieldset class="w500p"> | ||
53 | <div class="row"> | ||
54 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | ||
55 | <select class="col" id="language" name="language"> | ||
56 | {% for language in languages %} | ||
57 | <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | ||
58 | {% endfor %} | ||
59 | </select> | ||
60 | </div> | ||
61 | <div class="row mts txtcenter"> | ||
62 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | ||
63 | </div> | ||
64 | </fieldset> | ||
65 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
66 | <input type="hidden" name="token" value="{{ token }}"> | ||
67 | </form> | ||
68 | |||
50 | <h2>{% trans "Change your password" %}</h2> | 69 | <h2>{% trans "Change your password" %}</h2> |
51 | <form method="post" action="?config" name="loginform"> | 70 | <form method="post" action="?config" name="loginform"> |
52 | <fieldset class="w500p"> | 71 | <fieldset class="w500p"> |