function theme_comment_upload_form_new in Comment Upload 6
Theme the upload a new attachment part of the upload form.
Taken from upload.module.
1 theme call to theme_comment_upload_form_new()
- comment_upload_upload_form in ./
comment_upload.module - Build the section of the upload_form that holds the attachments table and upload element.
File
- ./
comment_upload.module, line 679 - Provides file attachment functionality for comments.
Code
function theme_comment_upload_form_new($form) {
drupal_add_tabledrag('comment-upload-attachments', 'order', 'sibling', 'comment-upload-weight');
$output = drupal_render($form);
return $output;
}