diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-03 19:02:49 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-03 19:02:49 -0700 |
commit | c1ae08ad43ef1eafbd92fc9526c2fdecbe5c5977 (patch) | |
tree | b458316db9f39b2b0f820952d2a05ffd1ad145a0 /mod/file/views/default/embed/file_upload/content.php | |
parent | e1283016e48e2f785442ee8a0d18cd09376d241c (diff) | |
parent | 9d5c00c78c0666a31485d870a1e657d4557b23c4 (diff) | |
download | elgg-c1ae08ad43ef1eafbd92fc9526c2fdecbe5c5977.tar.gz elgg-c1ae08ad43ef1eafbd92fc9526c2fdecbe5c5977.tar.bz2 |
Merge pull request #70 from cash/embed-menu
Fixes #3852, #3854, #3855 Refs #3567 Embed plugin rewrite
Diffstat (limited to 'mod/file/views/default/embed/file_upload/content.php')
-rw-r--r-- | mod/file/views/default/embed/file_upload/content.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mod/file/views/default/embed/file_upload/content.php b/mod/file/views/default/embed/file_upload/content.php index 13c18f745..4d3db0d97 100644 --- a/mod/file/views/default/embed/file_upload/content.php +++ b/mod/file/views/default/embed/file_upload/content.php @@ -5,11 +5,12 @@ $form_vars = array( 'enctype' => 'multipart/form-data', - 'class' => 'elgg-form', + 'class' => 'elgg-form-embed', ); -$upload_content = elgg_view_form('file/upload', $form_vars); +echo 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>";
\ No newline at end of file +// the tab we want to be forwarded to after upload is complete +echo elgg_view('input/hidden', array( + 'name' => 'embed_forward', + 'value' => 'file', +));
\ No newline at end of file |