function theme_itweak_upload_images_comment in iTweak Upload 6.2
Theme function to show image attachments in comments.
Parameters
$files: Array of file descriptors, incl. links to thumbnails.
$limit: Maximum number of thumbnails to display.
$options: Optional. Array of options for the gallery and thumbnail links. See theme_itweak_upload_images().
Return value
The themed list
1 theme call to theme_itweak_upload_images_comment()
- itweak_upload_comment in ./
itweak_upload.module - Implementation of hook_comment(). Add attachments to the comment on view or preview. Here we intercept attachments from comment_upload.module, and render them ourselves. It is critical to be before comment_upload.module in {system} (lower weight).
File
- ./
itweak_upload.module, line 1271 - iTweakUpload - Tweak attachments display and file upload forms.
Code
function theme_itweak_upload_images_comment($files, $limit, $options = NULL) {
return theme_itweak_upload_images_body($files, $limit, $options);
}