diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 02:49:04 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 02:49:04 +0000 |
commit | 46094fb153ed8f7ab5d74c79bbc687955551e691 (patch) | |
tree | 7c2e3cb4a1a72a065fb43db949fad576b8ecc6fa /pages/friends/collections.php | |
parent | e1a7ad6b5e21f23fef6824ab08d65366ec701d47 (diff) | |
download | elgg-46094fb153ed8f7ab5d74c79bbc687955551e691.tar.gz elgg-46094fb153ed8f7ab5d74c79bbc687955551e691.tar.bz2 |
fixing friends collections for backward compatibility
git-svn-id: http://code.elgg.org/elgg/trunk@8459 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'pages/friends/collections.php')
-rw-r--r-- | pages/friends/collections.php | 11 |
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); |