aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-07 14:26:25 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-10-07 14:26:25 +0200
commit5011388f39432f810e397a60d9b200faba6c868b (patch)
tree4c5fd66795f1b20c42cb054f0e760b6db5b71eb5 /themes/default
parent894c36ea32d38d425e27dae43a29dcd9e669040e (diff)
downloadwallabag-5011388f39432f810e397a60d9b200faba6c868b.tar.gz
wallabag-5011388f39432f810e397a60d9b200faba6c868b.tar.zst
wallabag-5011388f39432f810e397a60d9b200faba6c868b.zip
bug fix #215: change language from config screen
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/config.twig19
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">