mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
More info in the web browser, but still rudimentary
This commit is contained in:
parent
0dd8f9bb70
commit
dab65afabd
@ -113,6 +113,24 @@ class FDroid
|
||||
case "name":
|
||||
$name=$el;
|
||||
break;
|
||||
case "icon":
|
||||
$icon=$el;
|
||||
break;
|
||||
case "summary":
|
||||
$summary=$el;
|
||||
break;
|
||||
case "license":
|
||||
$license=$el;
|
||||
break;
|
||||
case "source":
|
||||
$source=$el;
|
||||
break;
|
||||
case "issues":
|
||||
$issues=$el;
|
||||
break;
|
||||
case "web":
|
||||
$web=$el;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -120,7 +138,10 @@ class FDroid
|
||||
if($skipped<($page-1)*$perpage) {
|
||||
$skipped++;
|
||||
} else if($got<$perpage) {
|
||||
$out.="<p>".$name."</p>";
|
||||
$out.="<h2>".$name."</h2>";
|
||||
$out.='<p><img src="http://f-droid.org/repo/icons/'.$icon.'" width=40>';
|
||||
$out.=$summary;
|
||||
$out.="</p>";
|
||||
$got++;
|
||||
}
|
||||
$total++;
|
||||
|
Loading…
Reference in New Issue
Block a user