Add more links in application::objectOutputTableRow(), now vendors and users are clickable
This commit is contained in:
committed by
WineHQ
parent
2e46a5a04d
commit
f3eb9ffa01
@@ -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,
|
||||
"<a href=\"contact.php?iRecipientId=$oUser->iUserId\">".
|
||||
"$oUser->sRealname</a>",
|
||||
$sVendor,
|
||||
$this->sName);
|
||||
|
||||
if($this->canEdit() || $oObject->bQueued)
|
||||
|
||||
Reference in New Issue
Block a user