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

// You need to be logged in for this one
gatekeeper();

$title = elgg_echo('friends:collections');

$content = elgg_view_title($title);

$content .= elgg_view_access_collections(elgg_get_logged_in_user_guid());

$body = elgg_view_layout('one_sidebar', array('content' => $content));

echo elgg_view_page($title, $body);