From f3eb9ffa01b75f2616f2d8db1082b066baccb5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sun, 25 Mar 2007 03:51:20 +0000 Subject: [PATCH] Add more links in application::objectOutputTableRow(), now vendors and users are clickable --- include/application.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/application.php b/include/application.php index c728c64..b888bc4 100644 --- a/include/application.php +++ b/include/application.php @@ -882,12 +882,15 @@ class Application { $oUser = new user($this->iSubmitterId); $oVendor = new vendor($this->iVendorId); if(!$oVendor->sName) - $oVendor->sName = get_vendor_from_keywords($this->sKeywords); + $sVendor = get_vendor_from_keywords($this->sKeywords); + else + $sVendor = $oVendor->objectMakeLink(); $aCells = array( print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime)), - $oUser->sRealname, - $oVendor->sName, + "iUserId\">". + "$oUser->sRealname", + $sVendor, $this->sName); if($this->canEdit() || $oObject->bQueued)