aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/views/default/embed/link.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/embed/views/default/embed/link.php')
-rw-r--r--mod/embed/views/default/embed/link.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/mod/embed/views/default/embed/link.php b/mod/embed/views/default/embed/link.php
deleted file mode 100644
index 2bcf48300..000000000
--- a/mod/embed/views/default/embed/link.php
+++ /dev/null
@@ -1,19 +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']}";
-$url = elgg_normalize_url($url);
-
-?>
-<a class="elgg-longtext-control" href="<?php echo $url; ?>" rel="facebox">
- <?php echo elgg_echo('media:insert'); ?>
-</a>