aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/config.twig
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/config.twig')
-rw-r--r--themes/default/config.twig23
1 files changed, 21 insertions, 2 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig
index 0f1aea80..23860ebd 100644
--- a/themes/default/config.twig
+++ b/themes/default/config.twig
@@ -23,7 +23,7 @@
23 23
24 <h2>{% trans "Updating poche" %}</h2> 24 <h2>{% trans "Updating poche" %}</h2>
25 <ul> 25 <ul>
26 <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> 26 <li>{% trans "your version" %} : <strong>{{ constant('POCHE') }}</strong></li>
27 <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> 27 <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>
28 {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} 28 {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %}
29 </ul> 29 </ul>
@@ -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">
@@ -77,4 +96,4 @@
77 96
78 <h2>{% trans "Export your poche datas" %}</h2> 97 <h2>{% trans "Export your poche datas" %}</h2>
79 <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p> 98 <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
80{% endblock %} \ No newline at end of file 99{% endblock %}