diff options
Diffstat (limited to 'mod/bookmarks/pages/view.php')
| -rw-r--r-- | mod/bookmarks/pages/view.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/mod/bookmarks/pages/view.php b/mod/bookmarks/pages/view.php deleted file mode 100644 index 131a0b52b..000000000 --- a/mod/bookmarks/pages/view.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/** - * View a bookmark - * - * @package ElggBookmarks - */ - -$bookmark = get_entity(get_input('guid')); - -elgg_set_page_owner_guid($bookmark->getContainerGUID()); -$owner = elgg_get_page_owner_entity(); - -$crumbs_title = $owner->name; - -if (elgg_instanceof($owner, 'group')) { - elgg_push_breadcrumb($crumbs_title, "pg/bookmarks/group/$owner->guid/owner"); -} else { - elgg_push_breadcrumb($crumbs_title, "pg/bookmarks/owner/$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); |
