diff --git a/appview.php b/appview.php index 530f574..b3b8c65 100644 --- a/appview.php +++ b/appview.php @@ -58,13 +58,11 @@ function display_bundle($appId) $bgcolor = ($c % 2 == 0) ? "color0" : "color1"; //format desc - $desc = substr(stripslashes($ob->description),0,50); - if(strlen($desc) == 50) $desc .= " ..."; - + $aDesc = explode("\n",$oApp->data->description,2); //display row echo "\n"; echo " ".stripslashes($ob->appName)."\n"; - echo " $desc  \n"; + echo " ".$aDesc[0]."\n"; echo "\n\n"; $c++;