view.php 450 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Elgg collections of friends
  4. *
  5. * @package Elgg.Core
  6. * @subpackage Social.Collections
  7. */
  8. $title = elgg_echo('friends:collections');
  9. elgg_register_title_button('collections', 'add');
  10. $content = elgg_view_access_collections(elgg_get_logged_in_user_guid());
  11. $body = elgg_view_layout('content', array(
  12. 'filter' => false,
  13. 'content' => $content,
  14. 'title' => $title,
  15. 'context' => 'collections',
  16. ));
  17. echo elgg_view_page($title, $body);