]> git.immae.eu Git - github/wallabag/wallabag.git/blob - themes/default/config.twig
do not link to the french mozilla site, let the server decide the language
[github/wallabag/wallabag.git] / themes / default / config.twig
1 {% extends "layout.twig" %}
2
3 {% block title %}{% trans "config" %}{% endblock %}
4 {% block menu %}
5 {% include '_menu.twig' %}
6 {% endblock %}
7 {% block content %}
8 <h2>{% trans "Poching a link" %}</h2>
9 <p>{% trans "You can poche a link by several methods:" %} (<a href="http://inthepoche.com/doc" title="{% trans "read the documentation" %}">?</a>)</p>
10 <ul>
11 <li>firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li>
12 <li>chrome: <a href="http://doc.inthepoche.com/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li>
13 <li>android: <a href="https://f-droid.org/repository/browse/?fdid=fr.gaulupeau.apps.Poche" title="download the application">{% trans "via f-droid" %}</a> {% trans "or" %} <a href="https://play.google.com/store/apps/details?id=fr.gaulupeau.apps.InThePoche" title="download the application">{% trans "via google play" %}</a></li>
14 <li>windows phone: <a href="http://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li>
15 <li>
16 <form method="get" action="index.php">
17 <label class="addurl" for="plainurl">{% trans "by filling this field" %}:</label>
18 <input required placeholder="Ex:mywebsite.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
19 <input type="submit" value="{% trans "poche it!" %}" />
20 </form>
21 </li>
22 <li>{% trans "bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@inthepoche.com']){top['bookmarklet-url@inthepoche.com'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li>
23 </ul>
24
25 <h2>{% trans "Updating poche" %}</h2>
26 <ul>
27 <li>{% trans "your version" %} : <strong>{{ constant('POCHE') }}</strong></li>
28 <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>
29 {% 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 %}
30 </ul>
31
32 <h2>{% trans "Change your theme" %}</h2>
33 <form method="post" action="?updatetheme" name="changethemeform">
34 <fieldset class="w500p">
35 <div class="row">
36 <label class="col w150p" for="theme">{% trans "Theme:" %}</label>
37 <select class="col" id="theme" name="theme">
38 {% for theme in themes %}
39 <option value="{{ theme.name }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option>
40 {% endfor %}
41 </select>
42 </div>
43 <div class="row mts txtcenter">
44 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
45 </div>
46 </fieldset>
47 <input type="hidden" name="returnurl" value="{{ referer }}">
48 <input type="hidden" name="token" value="{{ token }}">
49 </form>
50
51 <h2>{% trans "Change your language" %}</h2>
52 <form method="post" action="?updatelanguage" name="changelanguageform">
53 <fieldset class="w500p">
54 <div class="row">
55 <label class="col w150p" for="language">{% trans "Language:" %}</label>
56 <select class="col" id="language" name="language">
57 {% for language in languages %}
58 <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option>
59 {% endfor %}
60 </select>
61 </div>
62 <div class="row mts txtcenter">
63 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
64 </div>
65 </fieldset>
66 <input type="hidden" name="returnurl" value="{{ referer }}">
67 <input type="hidden" name="token" value="{{ token }}">
68 </form>
69
70 {% if http_auth == 0 %}
71 <h2>{% trans "Change your password" %}</h2>
72 <form method="post" action="?config" name="loginform">
73 <fieldset class="w500p">
74 <div class="row">
75 <label class="col w150p" for="password">{% trans "New password:" %}</label>
76 <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2">
77 </div>
78 <div class="row">
79 <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label>
80 <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3">
81 </div>
82 <div class="row mts txtcenter">
83 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
84 </div>
85 </fieldset>
86 <input type="hidden" name="returnurl" value="{{ referer }}">
87 <input type="hidden" name="token" value="{{ token }}">
88 </form>
89 {% endif %}
90
91 <h2>{% trans "Import" %}</h2>
92 <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p>
93 <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/doc">inthepoche.com</a></p>
94 <ul>
95 <li><a href="./?import&amp;from=pocket">{% trans "import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li>
96 <li><a href="./?import&amp;from=readability">{% trans "import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li>
97 <li><a href="./?import&amp;from=instapaper">{% trans "import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li>
98 </ul>
99
100 <h2>{% trans "Export your poche datas" %}</h2>
101 <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
102 {% endblock %}