+ <h2>{% trans "Change your language" %}</h2>
+ <form method="post" action="?updatelanguage" name="changelanguageform">
+ <fieldset class="w500p inline">
+ <div class="row">
+ <label class="col w150p" for="language">{% trans "Language:" %}</label>
+ <select class="col" id="language" name="language">
+ {% for language in languages %}
+ <option value="{{ language.value }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ <div class="row mts txtcenter">
+ <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button>
+ </div>
+ </fieldset>
+ <input type="hidden" name="returnurl" value="{{ referer }}">
+ <input type="hidden" name="token" value="{{ token }}">
+ </form>
+
+ <h2><a name="import"></a>{% trans "Import" %}</h2>
+ <p>{% trans "You can import your Pocket, Readability, Instapaper, Wallabag or any data in appropriate json or html format." %}</p>
+ <p>{% trans "Please select export file on your computer and press \"Import\" button below. Wallabag will parse your file, insert all URLs and start fetching of articles if required." %}</p>
+ <form method="post" action="?import" name="uploadfile" enctype="multipart/form-data">
+ <fieldset class="w500p">
+ <div class="row">
+ <label class="col w150p" for="file">{% trans "File:" %}</label>
+ <input class="col" type="file" id="file" name="file" tabindex="4" required="required">
+ </div>
+ <div class="row mts txtcenter">
+ <button class="bouton" type="submit" tabindex="4">{% trans "Import" %}</button>
+ </div>
+ </fieldset>
+ </form>
+ <p><a href="?import">{% trans "You can click here to fetch content for articles with no content." %}</a></p>
+ <p class="more-info">{% trans "Fetching process is controlled by two constants in your config file: IMPORT_LIMIT (how many articles are fetched at once) and IMPORT_DELAY (delay between fetch of next batch of articles)." %}</p>
+
+ <h2>{% trans "Export your wallabag data" %}</h2>
+ <p><a href="?export" target="_blank">{% trans "Export JSON" %}</a><br>
+ <span class="more-info">Data will be exported in a single JSON file.</span></p>
+
+ <h2>{% trans "Fancy an E-Book ?" %}</h2>
+ <p><a href="./?epub&method=all" title="Generate ePub">Download E-Book</a><br>
+ <span class="more-info">{% trans "Articles will be exported as a single E-book file (EPUB 3 format)." %} {% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</span></p>
+
+ <h2><a name="cache"></a>{% trans "Cache" %}</h2>
+ <p><a href="?empty-cache">{% trans "Delete Cache" %}</a><br>
+ <span class="more-info">Deleting the cache may help with display or other problems.</span></p>
+
+ {% if http_auth == 0 %}