aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/embed/file_upload/content.php
blob: 4d3db0d97f85c5198d11344e56bbf589e1991358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Upload a file through the embed interface
 */

$form_vars = array(
	'enctype' => 'multipart/form-data',
	'class' => 'elgg-form-embed',
);
echo elgg_view_form('file/upload', $form_vars);

// the tab we want to be forwarded to after upload is complete
echo elgg_view('input/hidden', array(
	'name' => 'embed_forward',
	'value' => 'file',
));