From 4f44475b6f707ca07ccfda5472e729c1bd9e7230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Fri, 19 Jan 2007 01:42:56 +0000 Subject: [PATCH] Display url links using url::display() --- include/application.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/include/application.php b/include/application.php index 53a6423..61ad687 100644 --- a/include/application.php +++ b/include/application.php @@ -631,22 +631,13 @@ class Application { echo " URL".$appLinkURL."\n"; // optional links - $result = query_parameters("SELECT * FROM appData WHERE appId = '?' AND versionID = 0 AND type = 'url'", - $this->iAppId); - if($result && mysql_num_rows($result) > 0) - { - echo " Links\n"; - while($oRow = mysql_fetch_object($result)) - { - echo " ".substr(stripslashes($oRow->description),0,30)."
\n"; - } - echo " \n"; - } + if($sUrls = url::display(NULL, $this->iAppId)) + echo $sUrls; // image $img = Screenshot::get_random_screenshot_img($this->iAppId, null, false); echo "$img\n"; - + echo " \n"; /* close of name/vendor/bugs/url table */ echo " \n";