aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/view.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-18 01:31:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-18 01:31:22 +0000
commit01435072dc7d9b46bc30a3216501684a72e716a1 (patch)
tree7099a30d696c47302afea2f482e3142f9afec81a /mod/bookmarks/pages/view.php
parent231ca23ea10335a03b185d60a07ae3c92e9dfd63 (diff)
downloadelgg-01435072dc7d9b46bc30a3216501684a72e716a1.tar.gz
elgg-01435072dc7d9b46bc30a3216501684a72e716a1.tar.bz2
Refs #3158 namespaced pages for bookmarks and thewire
git-svn-id: http://code.elgg.org/elgg/trunk@8759 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/pages/view.php')
-rw-r--r--mod/bookmarks/pages/view.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/mod/bookmarks/pages/view.php b/mod/bookmarks/pages/view.php
deleted file mode 100644
index 142e0b246..000000000
--- a/mod/bookmarks/pages/view.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/**
- * View a bookmark
- *
- * @package ElggBookmarks
- */
-
-$bookmark = get_entity(get_input('guid'));
-
-$page_owner = elgg_get_page_owner_entity();
-
-$crumbs_title = $page_owner->name;
-
-if (elgg_instanceof($page_owner, 'group')) {
- elgg_push_breadcrumb($crumbs_title, "bookmarks/group/$page_owner->guid/owner");
-} else {
- elgg_push_breadcrumb($crumbs_title, "bookmarks/owner/$page_owner->username");
-}
-
-$title = $bookmark->title;
-
-elgg_push_breadcrumb($title);
-
-$content = elgg_view_entity($bookmark, true);
-$content .= elgg_view_comments($bookmark);
-
-$body = elgg_view_layout('content', array(
- 'content' => $content,
- 'title' => $title,
- 'filter' => '',
- 'header' => '',
-));
-
-echo elgg_view_page($title, $body);