From b13376e918aa157be5c0dfd53a655cc5d387f522 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 19 Nov 2014 16:35:44 +0100 Subject: fix Flattrs --- inc/poche/config.inc.default.php | 1 - themes/baggy/view.twig | 4 ++-- themes/courgette/_view.twig | 2 +- themes/default/view.twig | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/inc/poche/config.inc.default.php b/inc/poche/config.inc.default.php index f666f468..304b3924 100755 --- a/inc/poche/config.inc.default.php +++ b/inc/poche/config.inc.default.php @@ -67,4 +67,3 @@ @define ('IMPORT_LIMIT', 5); //delay between downloads (in sec) @define ('IMPORT_DELAY', 5); - diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index 53a9ee69..bad8ced1 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -15,7 +15,7 @@ {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} - {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %} ({{ flattr.numflattrs }})
  • {% endif %}{% endif %} + {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %} ({{ flattr.numFlattrs }})
  • {% endif %}{% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • EPUB
  • {% trans "Does this article appear wrong?" %}
  • @@ -95,4 +95,4 @@ }); }); -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/themes/courgette/_view.twig b/themes/courgette/_view.twig index c5c916c0..bae278f3 100755 --- a/themes/courgette/_view.twig +++ b/themes/courgette/_view.twig @@ -11,7 +11,7 @@ {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} - {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numflattrs }}
  • {% endif %}{% endif %} + {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numFlattrs }}
  • {% endif %}{% endif %}
  • EPUB
  • {% trans "this article appears wrong?" %}
  • diff --git a/themes/default/view.twig b/themes/default/view.twig index dbbbde3c..a6aaba74 100755 --- a/themes/default/view.twig +++ b/themes/default/view.twig @@ -14,7 +14,7 @@ {% if constant('SHARE_TWITTER') == 1 %}
  • {% endif %} {% if constant('SHARE_MAIL') == 1 %}
  • {% endif %} {% if constant('SHARE_SHAARLI') == 1 %}
  • {% trans "shaarli" %}
  • {% endif %} - {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numflattrs }}
  • {% endif %}{% endif %} + {% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}
  • {% trans "flattr" %}
  • {% elseif flattr.status == constant('FLATTRED') %}
  • {% trans "flattr" %}{{ flattr.numFlattrs }}
  • {% endif %}{% endif %} {% if constant('SHOW_PRINTLINK') == 1 %}
  • {% trans "Print" %}
  • {% endif %}
  • EPUB
  • {% trans "Does this article appear wrong?" %}
  • @@ -118,4 +118,3 @@ }); {% endblock %} - -- cgit v1.2.3