aboutsummaryrefslogtreecommitdiff
path: root/pages/friends
diff options
context:
space:
mode:
Diffstat (limited to 'pages/friends')
-rw-r--r--pages/friends/collections.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/pages/friends/collections.php b/pages/friends/collections.php
index 5a32b7f90..fa7527f4d 100644
--- a/pages/friends/collections.php
+++ b/pages/friends/collections.php
@@ -11,10 +11,13 @@ gatekeeper();
$title = elgg_echo('friends:collections');
-$content = elgg_view_title($title);
+$content = elgg_view_access_collections(elgg_get_logged_in_user_guid());
-$content .= elgg_view_access_collections(elgg_get_logged_in_user_guid());
-
-$body = elgg_view_layout('one_sidebar', array('content' => $content));
+$body = elgg_view_layout('content', array(
+ 'filter' => false,
+ 'content' => $content,
+ 'title' => $title,
+ 'context' => 'collections',
+));
echo elgg_view_page($title, $body);