diff options
Diffstat (limited to 'mod/bookmarks/pages/friends.php')
-rw-r--r-- | mod/bookmarks/pages/friends.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mod/bookmarks/pages/friends.php b/mod/bookmarks/pages/friends.php deleted file mode 100644 index 6e3f77cf6..000000000 --- a/mod/bookmarks/pages/friends.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -/** - * Elgg bookmarks plugin friends page - * - * @package ElggBookmarks - */ - -$owner = elgg_get_page_owner_entity(); - -elgg_push_breadcrumb($owner->name, "bookmarks/owner/$owner->username"); -elgg_push_breadcrumb(elgg_echo('friends')); - -$title = elgg_echo('bookmarks:friends'); - -$content = list_user_friends_objects($owner->guid, 'bookmarks', 10, false); -if (!$content) { - $content = elgg_echo('bookmarks:none'); -} - -$params = array( - 'filter_context' => 'friends', - 'content' => $content, - 'title' => $title, -); - -$body = elgg_view_layout('content', $params); - -echo elgg_view_page($title, $body);
\ No newline at end of file |