Remove <br/> tags in screenshot anchor tags, there is an odd space between the screenshot and the text below it that appeared when the image was centered with <center>
This commit is contained in:
@@ -334,12 +334,12 @@ function get_screenshot_img($iAppId = null, $iVersionId = null)
|
||||
if(mysql_num_rows($hResult))
|
||||
{
|
||||
if($iVersionId)
|
||||
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile<br /><center>View/Submit Screenshot</center></a>";
|
||||
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile<center>View/Submit Screenshot</center></a>";
|
||||
else
|
||||
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile<br /><center>View Screenshot</center></a>";
|
||||
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile<center>View Screenshot</center></a>";
|
||||
} else if($iVersionId) /* we are asking for a specific app version but it has no screenshots */
|
||||
{
|
||||
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile<br /><center>Submit Screenshot</center></a>";
|
||||
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile<center>Submit Screenshot</center></a>";
|
||||
} else /* we have no screenshots and we aren't a specific version, we don't allow adding screenshots for an app */
|
||||
{
|
||||
$sImg .= $sImgFile;
|
||||
|
||||
Reference in New Issue
Block a user