Use objectMakeUrl()/Link() in more places

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-08 23:04:31 +00:00
committed by WineHQ
parent 9de4e9b63b
commit 169d7ca493
16 changed files with 138 additions and 105 deletions

View File

@@ -88,8 +88,7 @@ if ($aClean['sSub'])
}
if ($aClean['sSub'] == 'view')
{
$oApp = new Application($oVersion->iAppId);
$sVersionInfo = $oApp->sName." ".$oVersion->sName;
$sVersionInfo = version::fullName($oVersion->iVersionId);
switch($oTest->sQueued)
{
@@ -127,7 +126,7 @@ if ($aClean['sSub'])
// View Test Details
$oTest->outputEditor($aClean['sDistribution'],true);
echo '<a href="'.BASE."appview.php?iVersionId=".$oTest->iVersionId.'">Back to Version</a>';
echo '<a href="'.$oVersion->objectMakeUrl().'">Back to Version</a>';
echo '<tr valign=top><td class=color3 align=center colspan=2>',"\n";