aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/pages/thewire/friends.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/pages/thewire/friends.php')
-rw-r--r--mod/thewire/pages/thewire/friends.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/mod/thewire/pages/thewire/friends.php b/mod/thewire/pages/thewire/friends.php
new file mode 100644
index 000000000..6e8642544
--- /dev/null
+++ b/mod/thewire/pages/thewire/friends.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Wire posts of your friends
+ */
+
+$owner = elgg_get_page_owner_entity();
+
+$title = elgg_echo('thewire:friends');
+
+elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all");
+elgg_push_breadcrumb($owner->name, "thewire/owner/$owner->username");
+elgg_push_breadcrumb(elgg_echo('friends'));
+
+$content = list_user_friends_objects($owner->guid, 'thewire', 15, false);
+
+$body = elgg_view_layout('content', array(
+ 'filter_context' => 'friends',
+ 'content' => $content,
+ 'title' => $title,
+ 'buttons' => false,
+));
+
+echo elgg_view_page($title, $body);