- fix the 25 errors reported by the w3c html validator (http://validator.w3.org) in appview.php?appid=whatever

- fix the 46 errors reported by the w3c html validator in appview.php?versionid=whatever
- fix the 97 errors reported by the w3c html validator in index.php
This commit is contained in:
Jonathan Ernst
2005-02-11 23:42:50 +00:00
committed by WineHQ
parent 30f8514840
commit 124868c0a0
12 changed files with 102 additions and 111 deletions

View File

@@ -297,12 +297,12 @@ function get_screenshot_img($iAppId = null, $iVersionId = null)
} else
{
$oRow = mysql_fetch_object($hResult);
$sImgFile = '<img src="appimage.php?thumbnail=true&id='.$oRow->id.'" alt="'.$oRow->description.'" />';
$sImgFile = '<img src="appimage.php?thumbnail=true&amp;id='.$oRow->id.'" alt="'.$oRow->description.'" />';
}
$sImg = html_frame_start("",'128','',2);
if($iVersionId || mysql_num_rows($hResult))
$sImg .= "<a href='screenshots.php?appId=$iAppId&versionId=$iVersionId'>$sImgFile</a>";
$sImg .= "<a href='screenshots.php?appId=$iAppId&amp;versionId=$iVersionId'>$sImgFile</a>";
else // no link for adding app screenshot as screenshots are linked to versions
$sImg .= $sImgFile;
$sImg .= html_frame_end()."<br />";