| '.$mod_strings['LBL_TITLE'].' |
'.$result[$i]['title'].' |
| '.$mod_strings['LBL_TICKET_ID'].' |
'.$result[$i]['ticketid'].' |
'.$mod_strings['LBL_PRODUCT_NAME'].' |
'.$result[$i]['productname'].' |
| '.$mod_strings['LBL_PRIORITY'].' |
'.getTranslatedString($result[$i]['priority']).' |
'.$mod_strings['LBL_SEVERITY'].' |
'.getTranslatedString($result[$i]['severity']).' |
| '.$mod_strings['LBL_STATUS'].' |
'.getTranslatedString($result[$i]['status']).' |
'.$mod_strings['LBL_CATEGORY'].' |
'.getTranslatedString($result[$i]['category']).' |
| '.$mod_strings['LBL_CREATED_TIME'].' |
'.$result[$i]['createdtime'].' |
'.$mod_strings['LBL_MODIFIED_TIME'].' |
'.$result[$i]['modifiedtime'].' |
| '.$mod_strings['LBL_DESCRIPTION'].' |
'.nl2br($result[$i]['description']).' |
| '.$mod_strings['LBL_RESOLUTION'].' |
'.nl2br($result[$i]['solution']).' |
| |
';
//This is to display the existing comments if any
if($commentscount >= 1 && is_array($commentresult))
{
$list .= '
|
|
';
}
$list .= '
| |
';
//Provide the Add Comment option if the ticket is not Closed
if($ticket_status != $mod_strings['LBL_STATUS_CLOSED'])
{
$list .= '