Add the ability to add download URLs to application versions. They are
displayed in the version view marked as 'free downloads'. The links will later be used to allow browsing of downloadable applications.
This commit is contained in:
committed by
WineHQ
parent
9f88239d1f
commit
52a155588c
@@ -10,6 +10,7 @@ require_once(BASE."include/screenshot.php");
|
||||
require_once(BASE."include/bugs.php");
|
||||
require_once(BASE."include/util.php");
|
||||
require_once(BASE."include/testData.php");
|
||||
require_once(BASE."include/downloadurl.php");
|
||||
|
||||
/**
|
||||
* Version class for handling versions.
|
||||
@@ -667,6 +668,9 @@ class Version {
|
||||
echo "<tr class=\"$sMaintainerColor\" valign=\"top\"><td><b>Maintainer’s Rating</b></td><td>".$this->sTestedRating."</td></tr>\n";
|
||||
echo "<tr class=\"$sMaintainerColor\" valign=\"top\"><td><b>Maintainer’s Version</b></td><td>".$this->sTestedRelease."</td></tr>\n";
|
||||
|
||||
if($sDownloadurls = downloadurl::display($this->iVersionId))
|
||||
echo $sDownloadurls;
|
||||
|
||||
// image
|
||||
$img = Screenshot::get_random_screenshot_img($oApp->iAppId, $this->iVersionId, false);
|
||||
echo "<tr><td align=\"center\" colspan=\"2\">$img</td></tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user