aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/bookmarklet.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/pages/bookmarklet.php')
-rw-r--r--mod/bookmarks/pages/bookmarklet.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/mod/bookmarks/pages/bookmarklet.php b/mod/bookmarks/pages/bookmarklet.php
deleted file mode 100644
index 99866e385..000000000
--- a/mod/bookmarks/pages/bookmarklet.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
-* Elgg bookmarks plugin bookmarklet page
-*
-* @package Bookmarks
-*/
-
-gatekeeper();
-
-$container_guid = get_input('container_guid');
-$container = get_entity($container_guid);
-$page_owner = $container;
-
-if (elgg_instanceof($container, 'object')) {
- $page_owner = $container->getContainerEntity();
-}
-
-elgg_set_page_owner_guid($page_owner->getGUID());
-
-$title = elgg_echo('bookmarks:bookmarklet');
-
-if ($page_owner instanceof ElggGroup) {
- elgg_push_breadcrumb($page_owner->name, $page_owner->getURL());
-}
-
-elgg_push_breadcrumb($title);
-
-$content = elgg_view("bookmarks/bookmarklet");
-
-$body = elgg_view_layout('content', array(
- 'content' => $content,
- 'title' => $title,
- 'filter' => false
-));
-
-echo elgg_view_page($title, $body); \ No newline at end of file