aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 08:02:12 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 08:02:12 +0000
commit49c91aa389416ee8cb66dbb4d3d7a2512c411790 (patch)
treeeefcffe1f34e98493044bd9295abfd84bb56d748 /mod/embed/views
parent35be18083c4262c94d58f85609aabfff5a0f9412 (diff)
downloadelgg-49c91aa389416ee8cb66dbb4d3d7a2512c411790.tar.gz
elgg-49c91aa389416ee8cb66dbb4d3d7a2512c411790.tar.bz2
Fixes #2895: Embed uses longtext menu -- I believe that covers *all* the menus we had brought up!
git-svn-id: http://code.elgg.org/elgg/trunk@8534 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed/views')
-rw-r--r--mod/embed/views/default/embed/link.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/mod/embed/views/default/embed/link.php b/mod/embed/views/default/embed/link.php
deleted file mode 100644
index dc3b3313e..000000000
--- a/mod/embed/views/default/embed/link.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-/**
- * Displays an "Embed media" link in longtext inputs.
- */
-
-// 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 = '';
-}
-
-$url = "pg/embed/?{$active_section}internal_name={$vars['name']}";
-
-echo elgg_view('output/url', array(
- 'href' => $url,
- 'text' => elgg_echo('media:insert'),
- 'rel' => 'facebox',
- 'class' => 'elgg-longtext-control',
-));