You are here

function theme_upload_form_new in Drupal 6

Same name and namespace in other branches
  1. 4 modules/upload.module \theme_upload_form_new()
  2. 5 modules/upload/upload.module \theme_upload_form_new()

Theme the attachment form. Note: required to output prefix/suffix.

Related topics

1 theme call to theme_upload_form_new()
_upload_form in modules/upload/upload.module

File

modules/upload/upload.module, line 551
File-handling and attaching files to nodes.

Code

function theme_upload_form_new($form) {
  drupal_add_tabledrag('upload-attachments', 'order', 'sibling', 'upload-weight');
  $output = drupal_render($form);
  return $output;
}