ChangeSet ID: 26633 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2006/07/18 19:54:56 Modified files: include : screenshot.php Log message: Chris Morgan <cmorgan(a)alum.wpi.edu> Fix centering of screenshot images on application/version pages Patch: http://cvs.winehq.org/patch.py?id=26633 Old revision New revision Changes Path 1.47 1.48 +2 -2 appdb/include/screenshot.php Index: appdb/include/screenshot.php diff -u -p appdb/include/screenshot.php:1.47 appdb/include/screenshot.php:1.48 --- appdb/include/screenshot.php:1.47 19 Jul 2006 0:54:56 -0000 +++ appdb/include/screenshot.php 19 Jul 2006 0:54:56 -0000 @@ -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&iId='.$oRow->id.'" alt="'.$oRow->description.'" />'; + $sImgFile.= '<img src="appimage.php?bThumbnail=true&iId='.$oRow->id.'" alt="'.$oRow->description.'" />'; } if($bFormatting)
participants (1)
-
WineHQ