Use objectMakeLink() in more places

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-01 01:21:58 +00:00
committed by WineHQ
parent 434ef17426
commit cecc4bf6c0
9 changed files with 15 additions and 19 deletions

View File

@@ -50,8 +50,9 @@ if($hResult)
$c = 1;
while($row = mysql_fetch_object($hResult))
{
$oApp = new application($row->appId);
$bgcolor = ($c % 2) ? "color0" : "color1";
$link = "<a href=\"appview.php?iAppId=$row->appId\"> $row->appName </a>";
$link = $oApp->objectMakeLink();
echo "<tr class=\"$bgcolor\">";
echo "<td width=\"20%\">".print_short_date(mysqltimestamp_to_unixtimestamp($row->submitTime))."</td>\n";
echo "<td>$link </td>\n";