$out="<p>Applications matching ".$filter;\r
$out.="</p>";\r
\r
- $perpage=10;\r
+ $perpage=30;\r
$skipped=0;\r
$got=0;\r
$total=0;\r
$xml = simplexml_load_file($this->site_path."/repo/index.xml");\r
foreach($xml->children() as $app) {\r
\r
+ if($app->getName() == 'repo') continue;\r
$attrs=$app->attributes();\r
$id=$attrs['id'];\r
foreach($app->children() as $el) {\r
$skipped++;\r
} else if($got<$perpage) {\r
\r
- $out.="<hr>";\r
+ $out.="<hr>\n";\r
$out.='<div id="appheader">';\r
\r
- $out.='<div style="float:left;padding-right:10px;"><img src="http://f-droid.org/repo/icons/'.$icon.'" width=48></div>';\r
+ $out.='<div style="float:left;padding-right:10px;"><img src="http://f-droid.org/repo/icons/'.$icon.'" style="width:48px;"></div>';\r
\r
$out.='<div style="float:right;">';\r
$out.='<p><a href="';\r
$out.=$this->makelink("fdid=".$id);\r
$out.='">Details...</a>';\r
$out.="</p>";\r
- $out.="</div>";\r
+ $out.="</div>\n";\r
\r
$out.='<p><span style="font-size:20px">'.$name."</span>";\r
- $out.="<br>".$summary."</p>";\r
+ $out.="<br>".$summary."</p>\n";\r
\r
- $out.="</div>";\r
+ $out.="</div>\n";\r
\r
$got++;\r
}\r