From: Torsten Grote
Date: Sat, 12 Apr 2014 11:27:34 +0000 (+0200)
Subject: add Flattr button to app details page
X-Git-Tag: 0.2~123^2~1
X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=0e096864058182fe6c49c035d04d3c7d12db3ba1;p=fdroidserver.git
add Flattr button to app details page
---
diff --git a/wp-fdroid/wp-fdroid.php b/wp-fdroid/wp-fdroid.php
index fa27ecf0..45129ae4 100644
--- a/wp-fdroid/wp-fdroid.php
+++ b/wp-fdroid/wp-fdroid.php
@@ -227,6 +227,9 @@ class FDroid
case "donate":
$donate=$el;
break;
+ case "flattr":
+ $flattr=$el;
+ break;
case "web":
$web=$el;
break;
@@ -337,6 +340,8 @@ class FDroid
$out.='Source Code: '.$source.'
';
if($donate && strlen($donate)>0)
$out.='Donate: '.$donate.'
';
+ if($flattr && strlen($flattr)>0)
+ $out.='Flattr: 
';
$out.="
";
$out.="For full details and additional technical information, see ";