mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
add Flattr button to app details page
This commit is contained in:
parent
5f2c348b40
commit
0e09686405
1 changed files with 5 additions and 0 deletions
|
|
@ -227,6 +227,9 @@ class FDroid
|
||||||
case "donate":
|
case "donate":
|
||||||
$donate=$el;
|
$donate=$el;
|
||||||
break;
|
break;
|
||||||
|
case "flattr":
|
||||||
|
$flattr=$el;
|
||||||
|
break;
|
||||||
case "web":
|
case "web":
|
||||||
$web=$el;
|
$web=$el;
|
||||||
break;
|
break;
|
||||||
|
|
@ -337,6 +340,8 @@ class FDroid
|
||||||
$out.='<b>Source Code:</b> <a href="'.$source.'">'.$source.'</a><br />';
|
$out.='<b>Source Code:</b> <a href="'.$source.'">'.$source.'</a><br />';
|
||||||
if($donate && strlen($donate)>0)
|
if($donate && strlen($donate)>0)
|
||||||
$out.='<b>Donate:</b> <a href="'.$donate.'">'.$donate.'</a><br />';
|
$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" /></a><br />';
|
||||||
$out.="</p>";
|
$out.="</p>";
|
||||||
|
|
||||||
$out.="<p>For full details and additional technical information, see ";
|
$out.="<p>For full details and additional technical information, see ";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue