aboutsummaryrefslogtreecommitdiff
path: root/pages/friends/collections/view.php
blob: 0d72fe788c332a58240cb72cf0109ebbfc7f2305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * Elgg collections of friends
 *
 * @package Elgg.Core
 * @subpackage Social.Collections
 */

$title = elgg_echo('friends:collections');
elgg_register_title_button('collections', 'add');

$content = elgg_view_access_collections(elgg_get_logged_in_user_guid());

$body = elgg_view_layout('content', array(
	'filter' => false,
	'content' => $content,
	'title' => $title,
	'context' => 'collections',
));

echo elgg_view_page($title, $body);