blob: 13c18f745b8ce73a4f268984c1ccc5e0af3c0c23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
/**
* Upload a file through the embed interface
*/
$form_vars = array(
'enctype' => 'multipart/form-data',
'class' => 'elgg-form',
);
$upload_content = elgg_view_form('file/upload', $form_vars);
echo "<div class='mbm'>" . elgg_echo('embed:upload_type') . "$input</div>";
echo "<div class='embed-upload'>";
echo $upload_content;
echo "</div>";
|