aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/start.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-18 17:56:44 -0400
committercash <cash.costello@gmail.com>2011-06-18 17:56:44 -0400
commit755187045527c5c15ea3b9e70fe7a451d7796585 (patch)
tree2948f5e4a90006a290b3dbae3fff68932b4551ae /mod/embed/start.php
parent2b68a4d217c35a5587c462620789493cf2804ba2 (diff)
downloadelgg-755187045527c5c15ea3b9e70fe7a451d7796585.tar.gz
elgg-755187045527c5c15ea3b9e70fe7a451d7796585.tar.bz2
using the new lightbox and hacking away at the complicated embed/embed view
Diffstat (limited to 'mod/embed/start.php')
-rw-r--r--mod/embed/start.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/embed/start.php b/mod/embed/start.php
index f6f49a53f..ce6c6ec11 100644
--- a/mod/embed/start.php
+++ b/mod/embed/start.php
@@ -36,10 +36,13 @@ function embed_longtext_menu($hook, $type, $items, $vars) {
'name' => 'embed',
'href' => "embed?{$active_section}internal_id={$vars['id']}",
'text' => elgg_echo('media:insert'),
- 'rel' => 'facebox',
- 'link_class' => 'elgg-longtext-control',
+ 'rel' => 'lightbox',
+ 'link_class' => 'elgg-longtext-control elgg-lightbox',
'priority' => 1,
));
+
+ elgg_load_js('lightbox');
+ elgg_load_css('lightbox');
return $items;
}