From 4b279975f67c01f7c03661db06190057bd016483 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Sat, 29 Jan 2005 22:54:02 +0000 Subject: [PATCH] - Display only the first part of the description - People vote for apps, not appversion so that it doesn't mean anything to display versions --- index.php | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/index.php b/index.php index ef713b0..b208c9a 100644 --- a/index.php +++ b/index.php @@ -100,22 +100,26 @@ wine-users mailing list or the wine newsgroup, for more information visit

Applications which install and run virtually flawless on a out-of-the-box Wine installation make it to the Gold list:

- + appId); - $oVersion = $oApp->getAppVersion($oRow->versionId); // image - $img = get_screenshot_img($oRow->appId, $oRow->versionId); + $img = get_screenshot_img($oRow->appId); + $aDesc = explode("\n",$oApp->data->description,2); echo ' - - - + + '; } @@ -126,22 +130,26 @@ while($oRow = mysql_fetch_object($hResult))

The Silver list contains apps which we hope we can easily fix so they make it to Gold status:

ApplicationVersionDescriptionScreenshotApplicationDescriptionScreenshot
'.$oApp->data->appName.''.$oVersion->versionName.''.trim(substr($oApp->data->description,0,88)).'...'.$oApp->data->appName.''.$aDesc[0].' '.$img.'
- + appId); - $oVersion = $oApp->getAppVersion($oRow->versionId); // image - $img = get_screenshot_img($oRow->appId, $oRow->versionId); + $img = get_screenshot_img($oRow->appId); + $aDesc = explode("\n",$oApp->data->description,2); echo ' - - - + + '; }
ApplicationVersionDescriptionScreenshotApplicationDescriptionScreenshot
'.$oApp->data->appName.''.$oVersion->versionName.''.trim(substr($oApp->data->description,0,88)).'...'.$oApp->data->appName.''.$aDesc[0].' '.$img.'