summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module12
1 files changed, 12 insertions, 0 deletions
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();