You are here

function itweak_upload_comment_upload_attachments in iTweak Upload 6.2

Implementation of theme_comment_upload_attachments(). We are adding two more arguments.

Parameters

$files: Array of file objects (descriptors from node).

$display_images: Ignored here.

$preset: Ignored here.

$itu: Optional. If TRUE, it is call from itweak_upload override. If not set - call from comment_upload.module

1 string reference to 'itweak_upload_comment_upload_attachments'
itweak_upload_theme in ./itweak_upload.module
Implementation of hook_theme().

File

./itweak_upload.module, line 957
iTweakUpload - Tweak attachments display and file upload forms.

Code

function itweak_upload_comment_upload_attachments($files, $display_images = FALSE, $preset = NULL, $itu = NULL) {
  if ($itu) {

    // We use $itu to distinguish when to completely override output from comment_upload.module
    return itweak_upload_upload_attachments($files);
  }
}