aboutsummaryrefslogtreecommitdiff
path: root/views/default/file/composer.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/file/composer.php')
-rw-r--r--views/default/file/composer.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/file/composer.php b/views/default/file/composer.php
new file mode 100644
index 000000000..461171fde
--- /dev/null
+++ b/views/default/file/composer.php
@@ -0,0 +1,8 @@
+<?php
+elgg_load_library('elgg:file');
+$form_vars = array(
+ 'enctype' => 'multipart/form-data',
+);
+$body_vars = file_prepare_form_vars();
+
+echo elgg_view_form('file/upload', $form_vars, array_merge($body_vars, $vars)); \ No newline at end of file