diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-09 14:00:48 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-09 14:00:48 +0000 |
commit | 075548ff7bc3bb51c21e557bfb3c7d9158d2c865 (patch) | |
tree | 1be82e009de6483b3827b8090a20d53f2550e8bc /mod/embed/views/default | |
parent | 36d76dad35c4acd1a3a4a5936cd74453fb4be6d9 (diff) | |
download | elgg-075548ff7bc3bb51c21e557bfb3c7d9158d2c865.tar.gz elgg-075548ff7bc3bb51c21e557bfb3c7d9158d2c865.tar.bz2 |
Updated embed modal with wrappers & classnames for each pane
git-svn-id: http://code.elgg.org/elgg/trunk@6419 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r-- | mod/embed/views/default/embed/css.php | 4 | ||||
-rw-r--r-- | mod/embed/views/default/embed/layouts/gallery.php | 3 | ||||
-rw-r--r-- | mod/embed/views/default/embed/layouts/list.php | 3 | ||||
-rw-r--r-- | mod/embed/views/default/embed/upload/content.php | 3 |
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"> |