aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/views/default')
-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',
-));