mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Show source tarball links on the web site
This commit is contained in:
parent
85cbd3db9c
commit
c2274bf280
@ -146,6 +146,9 @@ class FDroid
|
|||||||
case "apkname":
|
case "apkname":
|
||||||
$thisapk['apkname']=$pel;
|
$thisapk['apkname']=$pel;
|
||||||
break;
|
break;
|
||||||
|
case "srcname":
|
||||||
|
$thisapk['srcname']=$pel;
|
||||||
|
break;
|
||||||
case "hash":
|
case "hash":
|
||||||
$thisapk['hash']=$pel;
|
$thisapk['hash']=$pel;
|
||||||
break;
|
break;
|
||||||
@ -191,6 +194,8 @@ class FDroid
|
|||||||
$out.="<p><b>Version ".$apk['version']."</b> - ";
|
$out.="<p><b>Version ".$apk['version']."</b> - ";
|
||||||
$out.='<a href="http://f-droid.org/repo/'.$apk['apkname'].'">download</a> ';
|
$out.='<a href="http://f-droid.org/repo/'.$apk['apkname'].'">download</a> ';
|
||||||
$out.=$apk['size']." bytes";
|
$out.=$apk['size']." bytes";
|
||||||
|
if($apk['srcname'])
|
||||||
|
$out.='<br><a href="http://f-droid.org/repo/'.$apk['srcname'].'">source tarball</a>';
|
||||||
$out.="</p>";
|
$out.="</p>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user