1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 07:10:12 +02:00

Merge branch 'master' into 'master'

add Flattr button to app details pageMaster
This commit is contained in:
Ciaran Gultnieks 2014-04-17 11:06:35 +00:00
commit 11e5cc1b03

View File

@ -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.='<b>Source Code:</b> <a href="'.$source.'">'.$source.'</a><br />';
if($donate && strlen($donate)>0)
$out.='<b>Donate:</b> <a href="'.$donate.'">'.$donate.'</a><br />';
if($flattr && strlen($flattr)>0)
$out.='<b>Flattr:</b> <a href="https://flattr.com/thing/'.$flattr.'"><img src="/wp-content/uploads/flattr-badge-large.png" style="border:0" /></a><br />';
$out.="</p>";
$out.="<p>For full details and additional technical information, see ";