>
| nice($file['ProductAttachment']['created']);?> |
link($file['ProductAttachment']['name'], array('controller'=>'product_attachments', 'action' => 'download/', $file['ProductAttachment']['id']));?> |
image('pdf_type.png');
}
else if($file['ProductAttachment']['type'] == 'application/msword') {
echo $html->image('document_type.png');
}
else if($file['ProductAttachment']['type'] == 'message/rfc822') {
echo $html->image('message_type.png');
}
else if($file['ProductAttachment']['type'] == 'application/vnd.ms-excel') {
echo $html->image('spreadsheet_document_type.png');
}
else if($file['EnquiryFile']['type'] == 'image/jpeg') {
echo $html->image('image_type.png');
}
else {
echo $html->image('unknown_type.png');
}
?> |
toReadableSize($file['ProductAttachment']['size']);?> |
|
link(__('View', true), array('controller'=> 'product_attachments', 'action'=>'download/', $file['ProductAttachment']['id'])); ?>
|