diff options
author | tcit <tcit@tcit.fr> | 2014-04-24 03:04:02 +0200 |
---|---|---|
committer | tcit <tcit@tcit.fr> | 2014-04-24 03:04:02 +0200 |
commit | 87090d8ae7582708d20f3c09fb37d780af860bcd (patch) | |
tree | a12a6cc1ad396606e7370474f5aec1fe6bb9acd7 /themes | |
parent | 8af31ae0f789f890517da0dbb13faa615638449b (diff) | |
download | wallabag-87090d8ae7582708d20f3c09fb37d780af860bcd.tar.gz wallabag-87090d8ae7582708d20f3c09fb37d780af860bcd.tar.zst wallabag-87090d8ae7582708d20f3c09fb37d780af860bcd.zip |
Added epub export function
Diffstat (limited to 'themes')
-rwxr-xr-x | themes/baggy/config.twig | 3 | ||||
-rwxr-xr-x | themes/baggy/view.twig | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 29d9e048..f43f6d01 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -124,6 +124,9 @@ | |||
124 | {% if constant('STORAGE') == 'sqlite' %} | 124 | {% if constant('STORAGE') == 'sqlite' %} |
125 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} | 125 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} |
126 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> | 126 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> |
127 | |||
128 | <h2>Fancy a ebook ?</h2> | ||
129 | Click on <a href="./?epub&id=all" title="Generate ePub">this link</a> to get all your articles in one ebook (ePub). | ||
127 | 130 | ||
128 | <h2>{% trans "Cache" %}</h2> | 131 | <h2>{% trans "Cache" %}</h2> |
129 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> | 132 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> |
diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 62af2516..0dff4e27 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig | |||
@@ -16,6 +16,7 @@ | |||
16 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} | 16 | {% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %} |
17 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span> ({{ flattr.numflattrs }})</a></li>{% endif %}{% endif %} | 17 | {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr icon icon-flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span> ({{ flattr.numflattrs }})</a></li>{% endif %}{% endif %} |
18 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool icon icon-print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} | 18 | {% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool icon icon-print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %} |
19 | <li><a href="./?epub&id={{ entry.id|e }}" title="Generate epub file">EPUB</a></li> | ||
19 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display icon icon-delete"><span>{% trans "Does this article appear wrong?" %}</span></a></li> | 20 | <li><a href="mailto:hello@wallabag.org?subject=Wrong%20display%20in%20wallabag&body={{ entry.url|url_encode }}" title="{% trans "Does this article appear wrong?" %}" class="tool bad-display icon icon-delete"><span>{% trans "Does this article appear wrong?" %}</span></a></li> |
20 | </ul> | 21 | </ul> |
21 | </div> | 22 | </div> |