aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r--mod/embed/views/default/embed/css.php4
-rw-r--r--mod/embed/views/default/embed/layouts/gallery.php3
-rw-r--r--mod/embed/views/default/embed/layouts/list.php3
-rw-r--r--mod/embed/views/default/embed/upload/content.php3
4 files changed, 8 insertions, 5 deletions
diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php
index acc941cef..e0e71eef8 100644
--- a/mod/embed/views/default/embed/css.php
+++ b/mod/embed/views/default/embed/css.php
@@ -25,8 +25,8 @@
background-color: white;
width: 730px;
min-height:400px;
- -webkit-border-radius: 12px;
- -moz-border-radius: 12px;
+ -webkit-border-radius: 8px;
+ -moz-border-radius: 8px;
}
#facebox .loading {
text-align: center;
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
diff --git a/mod/embed/views/default/embed/layouts/list.php b/mod/embed/views/default/embed/layouts/list.php
index 0a1a299f0..76e7e88ea 100644
--- a/mod/embed/views/default/embed/layouts/list.php
+++ b/mod/embed/views/default/embed/layouts/list.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
diff --git a/mod/embed/views/default/embed/upload/content.php b/mod/embed/views/default/embed/upload/content.php
index 089e417c5..381867567 100644
--- a/mod/embed/views/default/embed/upload/content.php
+++ b/mod/embed/views/default/embed/upload/content.php
@@ -19,13 +19,14 @@ if ($upload_sections) {
'value' => $active_section
));
+ echo "<div class='embed_modal_upload'>";
echo "<p>$input</p>";
if (!$upload_content = elgg_view($upload_sections[$active_section]['view'])) {
$upload_content = elgg_echo('embed:no_upload_content');
}
- echo $upload_content;
+ echo $upload_content . "</div>";
?>
<script type="text/javascript">