]> git.immae.eu Git - github/wallabag/wallabag.git/blame - themes/default/config.twig
[add] atom feeds for unread / fav items
[github/wallabag/wallabag.git] / themes / default / config.twig
CommitLineData
4cc3c2ac
NL
1{% extends "layout.twig" %}
2
3{% block title %}{% trans "config" %}{% endblock %}
4{% block menu %}
5{% include '_menu.twig' %}
6{% endblock %}
7{% block content %}
894c36ea 8 <h2>{% trans "Poching a link" %}</h2>
4cc3c2ac
NL
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>
5c0ad737 11 <li>firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li>
2b191d8c 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>
af1daea1 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>
2b191d8c 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>
4cc3c2ac
NL
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>
031df528 27 <li>{% trans "your version" %} : <strong>{{ constant('POCHE') }}</strong></li>
4cc3c2ac
NL
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>
72c20a52
NL
31
32 <h2>{% trans "Feeds" %}</h2>
33 {% if token == '' %}
34 <p>{% trans "The token is empty, you have to generate it to use feeds. Click <a href='?feed&amp;action=generate'>here to generate it</a>." %}</p>
35 {% else %}
36 <ul>
37 <li><a href="?feed&amp;type=home&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "unread feed" %}</a></li>
38 <li><a href="?feed&amp;type=fav&amp;user_id={{ user_id }}&amp;token={{ token }}" target="_blank">{% trans "favorites feed" %}</a></li>
39 </ul>
40 {% endif %}
4cc3c2ac
NL
41
42 <h2>{% trans "Change your theme" %}</h2>
43 <form method="post" action="?updatetheme" name="changethemeform">
44 <fieldset class="w500p">
45 <div class="row">
46 <label class="col w150p" for="theme">{% trans "Theme:" %}</label>
47 <select class="col" id="theme" name="theme">
48 {% for theme in themes %}
49 <option value="{{ theme.name }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option>
50 {% endfor %}
51 </select>
52 </div>
53 <div class="row mts txtcenter">
54 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
55 </div>
56 </fieldset>
57 <input type="hidden" name="returnurl" value="{{ referer }}">
58 <input type="hidden" name="token" value="{{ token }}">
59 </form>
60
5011388f
NL
61 <h2>{% trans "Change your language" %}</h2>
62 <form method="post" action="?updatelanguage" name="changelanguageform">
63 <fieldset class="w500p">
64 <div class="row">
65 <label class="col w150p" for="language">{% trans "Language:" %}</label>
66 <select class="col" id="language" name="language">
67 {% for language in languages %}
68 <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option>
69 {% endfor %}
70 </select>
71 </div>
72 <div class="row mts txtcenter">
73 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
74 </div>
75 </fieldset>
76 <input type="hidden" name="returnurl" value="{{ referer }}">
77 <input type="hidden" name="token" value="{{ token }}">
78 </form>
79
df6afaf0 80 {% if http_auth == 0 %}
4cc3c2ac
NL
81 <h2>{% trans "Change your password" %}</h2>
82 <form method="post" action="?config" name="loginform">
83 <fieldset class="w500p">
84 <div class="row">
85 <label class="col w150p" for="password">{% trans "New password:" %}</label>
86 <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2">
87 </div>
88 <div class="row">
89 <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label>
90 <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3">
91 </div>
92 <div class="row mts txtcenter">
93 <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
94 </div>
95 </fieldset>
96 <input type="hidden" name="returnurl" value="{{ referer }}">
97 <input type="hidden" name="token" value="{{ token }}">
98 </form>
df6afaf0 99 {% endif %}
4cc3c2ac
NL
100
101 <h2>{% trans "Import" %}</h2>
102 <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p>
103 <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/doc">inthepoche.com</a></p>
104 <ul>
105 <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>
106 <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>
107 <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>
108 </ul>
109
110 <h2>{% trans "Export your poche datas" %}</h2>
27a74816 111 <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
894c36ea 112{% endblock %}