diff options
-rw-r--r-- | modules/upload.module | 12 | ||||
-rw-r--r-- | modules/upload/upload.module | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/modules/upload.module b/modules/upload.module index 96481d2f2..22c055bbf 100644 --- a/modules/upload.module +++ b/modules/upload.module @@ -592,6 +592,9 @@ function _upload_form($node) { return $form; } +/** + * Theme the attachments list. + */ function theme_upload_form_current(&$form) { $header = array(t('Delete'), t('List'), t('Description'), t('Size')); @@ -608,6 +611,15 @@ function theme_upload_form_current(&$form) { return $output; } +/** + * Theme the attachment form. + * Note: required to output prefix/suffix. + */ +function theme_upload_form_new($form) { + $output = form_render($form); + return $output; +} + function upload_load($node) { $files = array(); diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 96481d2f2..22c055bbf 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -592,6 +592,9 @@ function _upload_form($node) { return $form; } +/** + * Theme the attachments list. + */ function theme_upload_form_current(&$form) { $header = array(t('Delete'), t('List'), t('Description'), t('Size')); @@ -608,6 +611,15 @@ function theme_upload_form_current(&$form) { return $output; } +/** + * Theme the attachment form. + * Note: required to output prefix/suffix. + */ +function theme_upload_form_new($form) { + $output = form_render($form); + return $output; +} + function upload_load($node) { $files = array(); |