Fix centering of screenshot images on application/version pages

This commit is contained in:
Chris Morgan
2006-07-19 00:54:56 +00:00
committed by WineHQ
parent 2ef31edf05
commit 2976ff9833

View File

@@ -394,11 +394,11 @@ class Screenshot {
if(!$hResult || !mysql_num_rows($hResult))
{
$sImgFile = '<img src="images/no_screenshot.png" alt="No Screenshot" />';
$sImgFile.= '<img src="images/no_screenshot.png" alt="No Screenshot" />';
} else
{
$oRow = mysql_fetch_object($hResult);
$sImgFile = '<img src="appimage.php?bThumbnail=true&amp;iId='.$oRow->id.'" alt="'.$oRow->description.'" />';
$sImgFile.= '<img src="appimage.php?bThumbnail=true&amp;iId='.$oRow->id.'" alt="'.$oRow->description.'" />';
}
if($bFormatting)