mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Merge branch 'master' into 'master'
add Flattr button to app details pageMaster
This commit is contained in:
commit
11e5cc1b03
@ -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 ";
|
||||
|
Loading…
Reference in New Issue
Block a user