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);
|
$oUser = new user($this->iSubmitterId);
|
||||||
$oVendor = new vendor($this->iVendorId);
|
$oVendor = new vendor($this->iVendorId);
|
||||||
if(!$oVendor->sName)
|
if(!$oVendor->sName)
|
||||||
$oVendor->sName = get_vendor_from_keywords($this->sKeywords);
|
$sVendor = get_vendor_from_keywords($this->sKeywords);
|
||||||
|
else
|
||||||
|
$sVendor = $oVendor->objectMakeLink();
|
||||||
|
|
||||||
$aCells = array(
|
$aCells = array(
|
||||||
print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime)),
|
print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime)),
|
||||||
$oUser->sRealname,
|
"<a href=\"contact.php?iRecipientId=$oUser->iUserId\">".
|
||||||
$oVendor->sName,
|
"$oUser->sRealname</a>",
|
||||||
|
$sVendor,
|
||||||
$this->sName);
|
$this->sName);
|
||||||
|
|
||||||
if($this->canEdit() || $oObject->bQueued)
|
if($this->canEdit() || $oObject->bQueued)
|
||||||
|
|||||||
Reference in New Issue
Block a user