aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/embed/layouts/gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/views/default/embed/layouts/gallery.php')
-rw-r--r--mod/embed/views/default/embed/layouts/gallery.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/embed/views/default/embed/layouts/gallery.php b/mod/embed/views/default/embed/layouts/gallery.php
index 9a923b8a1..b24fcec24 100644
--- a/mod/embed/views/default/embed/layouts/gallery.php
+++ b/mod/embed/views/default/embed/layouts/gallery.php
@@ -5,7 +5,8 @@
* @uses string $vars['content'] Pre-formatted content.
*
*/
+$active_section = elgg_get_array_value('section', $vars, array());
-$content = elgg_get_array_value('content', $vars, '');
+$content = "<div class='embed_modal_".$active_section."'>" . elgg_get_array_value('content', $vars, '') . "</div>";
echo $content; \ No newline at end of file