1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +02:00

More info in the web browser, but still rudimentary

This commit is contained in:
Ciaran Gultnieks 2010-12-05 00:19:21 +00:00
parent 0dd8f9bb70
commit dab65afabd

View File

@ -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++;