From 075548ff7bc3bb51c21e557bfb3c7d9158d2c865 Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 9 Jun 2010 14:00:48 +0000 Subject: Updated embed modal with wrappers & classnames for each pane git-svn-id: http://code.elgg.org/elgg/trunk@6419 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/embed/views/default/embed/css.php | 4 ++-- mod/embed/views/default/embed/layouts/gallery.php | 3 ++- mod/embed/views/default/embed/layouts/list.php | 3 ++- mod/embed/views/default/embed/upload/content.php | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) (limited to 'mod/embed/views/default') 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 = "
" . elgg_get_array_value('content', $vars, '') . "
"; 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 = "
" . elgg_get_array_value('content', $vars, '') . "
"; 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 "
"; echo "

$input

"; if (!$upload_content = elgg_view($upload_sections[$active_section]['view'])) { $upload_content = elgg_echo('embed:no_upload_content'); } - echo $upload_content; + echo $upload_content . "
"; ?>