1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-17 03:40:11 +02:00

Link web repo browser antifeatures to detailed descriptions

This commit is contained in:
Ciaran Gultnieks 2013-11-27 10:47:12 +00:00
parent cc7fc571d6
commit 3568a51ac0

View File

@ -249,9 +249,9 @@ class FDroid
if(isset($antifeatures)) {
$antifeaturesArray = explode(',',$antifeatures);
foreach($antifeaturesArray as $antifeature) {
$antifeatureDesctiption = $this->get_antifeature_description($antifeature);
$out.='<p style="border:3px solid #CC0000;background-color:#FFDDDD;padding:5px;"><strong>'.$antifeatureDesctiption['name'].'</strong><br />';
$out.=$antifeatureDesctiption['description'].'</p>';
$antifeatureDescription = $this->get_antifeature_description($antifeature);
$out.='<p style="border:3px solid #CC0000;background-color:#FFDDDD;padding:5px;"><strong>'.$antifeatureDescription['name'].'</strong><br />';
$out.=$antifeatureDescription['description'].' <a href="/wiki/page/Antifeature:'.$antifeature.'">more...</a></p>';
}
}