$error\n";
}
$hesk_error_buffer = $tmp;
$hesk_error_buffer = $hesklang['pcer'].'
fetch_assoc(); echo ' '; echo ' '.$parent['trackid'].''; } else { echo $hesklang['none']; } ?>
fetch_assoc()) {
$hasRows = true;
echo '
';
echo ' '.$row['trackid'].'';
echo '
';
}
if (!$hasRows) {
echo $hesklang['none'];
}
?>
'.$hesklang['add_child'].''; ?>
'.$recentTicket['trackid'].''; ?>
'.$hesklang['priority'].'
'; echo ''.$hesklang['status'].'
'; $status_options = array(); $results = mfh_getAllStatuses(); foreach ($results as $row) { $selected = $ticket['status'] == $row['ID'] ? 'selected' : ''; $status_options[$row['ID']] = ''; } echo ''.$hesklang['owner'].'
'; if (hesk_checkPermission('can_assign_others',0) || $isManager) { echo''.$hesklang['category'].'
'; if ($can_change_cat) { echo ' '; } else { echo ''.$category['name'].'
'; } echo '-
:
$v)
{
if ($v['use'] && $v['place']==0)
{
if ($modsForHesk_settings['custom_field_setting'])
{
$v['name'] = $hesklang[$v['name']];
}
echo '
'.$v['name'].': '; if ($v['type'] == 'date' && !empty($ticket[$k])) { $dt = date('Y-m-d h:i:s', $ticket[$k]); echo hesk_dateToString($dt, 0); } else { echo $ticket[$k]; } echo '
'; } } ?>:
'.$v['name'].': '; if ($v['type'] == 'date' && !empty($ticket[$k])) { $dt = date('Y-m-d h:i:s', $ticket[$k]); echo hesk_dateToString($dt, 0); } else { echo $ticket[$k]; } echo '
'; } } /* Attachments */ hesk_listAttachments($ticket['attachments']); // Show suggested KB articles if ($hesk_settings['kb_enable'] && $hesk_settings['kb_recommendanswers'] && strlen($ticket['articles']) ) { $suggested = array(); $suggested_list = ''; // Get article info from the database $articles = hesk_dbQuery("SELECT `id`,`subject` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."kb_articles` WHERE `id` IN (".preg_replace('/[^0-9\,]/', '', $ticket['articles']).")"); while ($article=hesk_dbFetchAssoc($articles)) { $suggested[$article['id']] = ''.$article['subject'].''.$hesklang['file_name'].' | '.$hesklang['download_count'].' | '.$hesklang['action'].' | |
---|---|---|---|
';
//-- File is an image
if ($fontAwesomeIcon == 'fa fa-file-image-o') {
//-- Get the actual image location and display a thumbnail. It will be linked to a modal to view a larger size.
$path = hesk_getSavedNameUrlForAttachment($att_id);
if ($path == '') {
echo '';
} else {
echo '
|
'.$att_name.' |
'.mfh_getNumberOfDownloadsForAttachment($att_id).' |
:
:
'.$hesklang['rh'].'
'; } } /* Show "unread reply" message? */ if ($reply['staffid'] && ! $reply['read']) { echo ''.$hesklang['unread'].'
'; } ?>