aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/embed
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-12-17 10:37:25 -0500
committerCash Costello <cash.costello@gmail.com>2011-12-17 10:37:25 -0500
commit3d8ca76d4b8b9e69a92f5f5b034609b410c9ee8c (patch)
tree0b8f597061fd63d52b8c37139c8c0340ea018609 /mod/embed/views/default/embed
parentc529671a522dea0dcfc280815092ee1f5127b92b (diff)
downloadelgg-3d8ca76d4b8b9e69a92f5f5b034609b410c9ee8c.tar.gz
elgg-3d8ca76d4b8b9e69a92f5f5b034609b410c9ee8c.tar.bz2
Fixes #4086 handling containers for embed uploading
Diffstat (limited to 'mod/embed/views/default/embed')
-rw-r--r--mod/embed/views/default/embed/layout.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/embed/views/default/embed/layout.php b/mod/embed/views/default/embed/layout.php
index c1e43f13c..e906160b1 100644
--- a/mod/embed/views/default/embed/layout.php
+++ b/mod/embed/views/default/embed/layout.php
@@ -21,10 +21,17 @@ if ($selected->getData('view')) {
}
}
+
+$container_info = elgg_view('input/hidden', array(
+ 'name' => 'embed_container_guid',
+ 'value' => elgg_get_page_owner_guid(),
+));
+
echo <<<HTML
<div class="embed-wrapper">
$title
$menu
$tab
+ $container_info
</div>
HTML;