diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 14:58:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 14:58:46 +0000 |
commit | ee47fbf70fc7f67efde6926237e13fc20a664a72 (patch) | |
tree | f1c5430539b3acf9dfb708595f42f29f57aa17de /mod/file/friends.php | |
parent | 52f127f23c21675ff7e0d35f1a94741c77e3ed52 (diff) | |
download | elgg-ee47fbf70fc7f67efde6926237e13fc20a664a72.tar.gz elgg-ee47fbf70fc7f67efde6926237e13fc20a664a72.tar.bz2 |
Refs #3158 namespace file plugin's page scripts
git-svn-id: http://code.elgg.org/elgg/trunk@8766 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/friends.php')
-rw-r--r-- | mod/file/friends.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mod/file/friends.php b/mod/file/friends.php deleted file mode 100644 index 65fc66f62..000000000 --- a/mod/file/friends.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * Friends Files - * - * @package ElggFile - */ - -$owner = elgg_get_page_owner_entity(); - -elgg_push_breadcrumb(elgg_echo('file'), "file/all"); -elgg_push_breadcrumb($owner->name, "file/owner/$owner->username"); -elgg_push_breadcrumb(elgg_echo('friends')); - - -$title = elgg_echo("file:friends", array($owner->name)); - -// offset is grabbed in list_user_friends_objects -$content = list_user_friends_objects($owner->guid, 'file', 10, false); -if (!$content) { - $content = elgg_echo("file:none"); -} - -$sidebar = file_get_type_cloud($owner->guid, true); - -$body = elgg_view_layout('content', array( - 'filter_context' => 'friends', - 'content' => $content, - 'title' => $title, - 'sidebar' => $sidebar, -)); - -echo elgg_view_page($title, $body); |