function itweak_upload_upload_form_new in iTweak Upload 6.2
Implementation of theme_upload_form_new(). Theme the fieldset for new attachment.
2 string references to 'itweak_upload_upload_form_new'
- itweak_upload_theme in ./
itweak_upload.module - Implementation of hook_theme().
- _itweak_upload_upload_form_prerender_themes in ./
itweak_upload.module - Worker code for itweak_upload_form_alter(). Add custom themes.
File
- ./
itweak_upload.module, line 694 - iTweakUpload - Tweak attachments display and file upload forms.
Code
function itweak_upload_upload_form_new($form) {
unset($form['new']['upload']['#title']);
unset($form['new']['upload']['#description']);
drupal_add_tabledrag('upload-attachments', 'order', 'sibling', 'upload-weight');
return drupal_render($form);
}