Use objectMakeLink()/Url() in more places

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-03 02:08:44 +00:00
committed by WineHQ
parent eeaf2c3642
commit 89535dbe01
13 changed files with 63 additions and 49 deletions

View File

@@ -65,14 +65,12 @@ If you have screenshots or links to contribute, please browse the database and u
$hResult = query_parameters($voteQuery);
$oRow = mysql_fetch_object($hResult);
$sVoteVersionId = $oRow->versionId;
$sVoteAppName = version::fullName($oRow->versionId);
// don't mention the top application if there are no votes yet
if($sVoteVersionId != "")
if($oRow->versionId)
{
$sVoteAppLink = version::fullNameLink($oRow->versionId);
echo "There are <b>$numApps</b> applications currently in the database with\n";
echo "<a href='appview.php?iVersionId=$sVoteVersionId'>$sVoteAppName</a> being the\n";
echo "$shVoteAppLink being the\n";
echo "top <a href='votestats.php'>voted</a> application.\n";
} else
{