aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/start.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-18 22:06:40 -0400
committercash <cash.costello@gmail.com>2011-06-18 22:06:40 -0400
commit780d9cb45f90158fdb843c41c8c1203ebdb06a3f (patch)
treec2a482d97391dfad02f14e090a8a4c40795627de /mod/embed/start.php
parentaeb88b95d16ff1da7e2ce8fadde0eab1f4653d8b (diff)
downloadelgg-780d9cb45f90158fdb843c41c8c1203ebdb06a3f.tar.gz
elgg-780d9cb45f90158fdb843c41c8c1203ebdb06a3f.tar.bz2
added back tab switching
Diffstat (limited to 'mod/embed/start.php')
-rw-r--r--mod/embed/start.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/embed/start.php b/mod/embed/start.php
index 3b6e58ce1..e6fc5551b 100644
--- a/mod/embed/start.php
+++ b/mod/embed/start.php
@@ -32,16 +32,10 @@ function embed_init() {
* @return array
*/
function embed_longtext_menu($hook, $type, $items, $vars) {
- // yeah this is naughty. embed and ecml might want to merge.
- if (elgg_is_active_plugin('ecml')) {
- $active_section = 'active_section=web_services&';
- } else {
- $active_section = '';
- }
$items[] = ElggMenuItem::factory(array(
'name' => 'embed',
- 'href' => "embed?{$active_section}internal_id={$vars['id']}",
+ 'href' => "embed",
'text' => elgg_echo('media:insert'),
'rel' => 'lightbox',
'link_class' => "elgg-longtext-control elgg-lightbox embed-control embed-control-{$vars['id']}",