'; echo '
' . $hesklang['file_name'] . ' | '; if ($is_staff) { echo '' . $hesklang['download_count'] . ' | '; } echo '' . $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 = mfh_getSavedNameUrlForAttachment($att_id, $is_staff);
if ($path == '') {
echo '';
} else {
echo '
|
' . $att_name . ' | ';
if ($is_staff) {
echo '' . mfh_getNumberOfDownloadsForAttachment($att_id) . ' | '; } echo '