mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30: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":
|
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" style="border:0" /></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…
Reference in New Issue
Block a user