aboutsummaryrefslogtreecommitdiff
path: root/mod/file/friends.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-19 14:58:46 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-19 14:58:46 +0000
commitee47fbf70fc7f67efde6926237e13fc20a664a72 (patch)
treef1c5430539b3acf9dfb708595f42f29f57aa17de /mod/file/friends.php
parent52f127f23c21675ff7e0d35f1a94741c77e3ed52 (diff)
downloadelgg-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.php32
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);