]> git.immae.eu Git - github/wallabag/wallabag.git/blob - tpl/config.twig
fixes with new session class
[github/wallabag/wallabag.git] / tpl / 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://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">{% trans "download the extension" %}</a></li>
12 <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">{% trans "download the extension" %}</a></li>
13 <li>android: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/Poche.apk" title="download the application">{% trans "download the application" %}</a></li>
14 <li>
15 <form method="get" action="index.php">
16 <label class="addurl" for="plainurl">{% trans "by filling this field" %}:</label>
17 <input autofocus required placeholder="Ex:mywebsite.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
18 <input type="submit" value="{% trans "poche it!" %}" />
19 </form>
20 </li>
21 <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>
22 </ul>
23
24 <h2>{% trans "Updating poche" %}</h2>
25 <ul>
26 <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</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>
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>
30
31 <h2>{% trans "Change your password" %}</h2>
32 <form method="post" action="?config" name="loginform">
33 <fieldset class="w500p">
34 <div class="row">
35 <label class="col w150p" for="password">{% trans "New password:" %}</label>
36 <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2">
37 </div>
38 <div class="row">
39 <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label>
40 <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3">
41 </div>
42 <div class="row mts txtcenter">
43 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
44 </div>
45 </fieldset>
46 <input type="hidden" name="returnurl" value="{{ referer }}">
47 <input type="hidden" name="token" value="{{ token }}">
48 </form>
49
50 <h2>{% trans "Import" %}</h2>
51 <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p>
52 <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/doc">inthepoche.com</a></p>
53 <ul>
54 <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('IMPORT_POCKET_FILE')) }}</li>
55 <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('IMPORT_READABILITY_FILE')) }}</li>
56 <li><a href="./?import&from=instapaper">{% trans "import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('IMPORT_INSTAPAPER_FILE')) }}</li>
57 </ul>
58
59 <h2>{% trans "Export your poche datas" %}</h2>
60 <p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
61 {% endblock %}