]>
Commit | Line | Data |
---|---|---|
943ac3c7 NL |
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 "Saving articles" %}</h2> | |
9 | <p>{% trans "There are several ways to save an article:" %} (<a href="http://doc.wallabag.org/" 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.wallabag.org/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="https://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="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | |
19 | <input type="submit" value="{% trans "bag 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@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a></li> | |
23 | </ul> | |
24 | ||
25 | <h2>{% trans "Upgrading wallabag" %}</h2> | |
26 | <ul> | |
27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> | |
28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% 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://wallabag.org/">{% 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 "Feeds" %}</h2> | |
33 | {% if token == '' %} | |
34 | <p>{% trans "Your feed token is currently empty and must first be generated to enable feeds. Click <a href='?feed&action=generate'>here to generate it</a>." %}</p> | |
35 | {% else %} | |
36 | <ul> | |
37 | <li><a href="?feed&type=home&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Unread feed" %}</a></li> | |
38 | <li><a href="?feed&type=fav&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Favorites feed" %}</a></li> | |
39 | <li><a href="?feed&type=archive&user_id={{ user_id }}&token={{ token }}" target="_blank">{% trans "Archive feed" %}</a></li> | |
40 | </ul> | |
41 | <p>{% trans "Your token:" %} <strong>{{token}}</strong></p> | |
42 | <p>{% trans "Your user id:" %} <strong>{{user_id}}</strong></p> | |
43 | <p>{% trans "You can regenerate your token: <a href='?feed&action=generate'>generate!</a>." %}</p> | |
44 | {% endif %} | |
45 | ||
46 | <h2>{% trans "Change your theme" %}</h2> | |
47 | <form method="post" action="?updatetheme" name="changethemeform"> | |
48 | <fieldset class="w500p inline"> | |
49 | <div class="row"> | |
50 | <label class="col w150p" for="theme">{% trans "Theme:" %}</label> | |
51 | <select class="col" id="theme" name="theme"> | |
52 | {% for key, theme in themes %} | |
53 | <option value="{{ key }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option> | |
54 | {% endfor %} | |
55 | </select> | |
56 | </div> | |
57 | <div class="row mts txtcenter"> | |
58 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | |
59 | </div> | |
60 | </fieldset> | |
61 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
62 | <input type="hidden" name="token" value="{{ token }}"> | |
63 | </form> | |
64 | ||
65 | <h2>{% trans "Change your language" %}</h2> | |
66 | <form method="post" action="?updatelanguage" name="changelanguageform"> | |
67 | <fieldset class="w500p inline"> | |
68 | <div class="row"> | |
69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | |
70 | <select class="col" id="language" name="language"> | |
71 | {% for language in languages %} | |
72 | <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | |
73 | {% endfor %} | |
74 | </select> | |
75 | </div> | |
76 | <div class="row mts txtcenter"> | |
77 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | |
78 | </div> | |
79 | </fieldset> | |
80 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
81 | <input type="hidden" name="token" value="{{ token }}"> | |
82 | </form> | |
83 | ||
84 | {% if http_auth == 0 %} | |
85 | <h2>{% trans "Change your password" %}</h2> | |
86 | <form method="post" action="?config" name="loginform"> | |
87 | <fieldset class="w500p"> | |
88 | <div class="row"> | |
89 | <label class="col w150p" for="password">{% trans "New password:" %}</label> | |
90 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2"> | |
91 | </div> | |
92 | <div class="row"> | |
93 | <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label> | |
94 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3"> | |
95 | </div> | |
96 | <div class="row mts txtcenter"> | |
97 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | |
98 | </div> | |
99 | </fieldset> | |
100 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
101 | <input type="hidden" name="token" value="{{ token }}"> | |
102 | </form> | |
103 | {% endif %} | |
104 | ||
105 | <h2>{% trans "Import" %}</h2> | |
106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> | |
107 | <p>{% trans "More info in the official documentation:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> | |
108 | <ul> | |
109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> | |
110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> | |
111 | <li><a href="./?import&from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> | |
112 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCHE_FILE')) }}</li> | |
113 | </ul> | |
114 | ||
115 | <h2>{% trans "Export your wallabag data" %}</h2> | |
116 | {% if constant('STORAGE') == 'sqlite' %} | |
117 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} | |
118 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> | |
6285e57c NL |
119 | |
120 | <h2>{% trans "Cache" %}</h2> | |
121 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> | |
122 | ||
943ac3c7 | 123 | {% endblock %} |