diff options
Diffstat (limited to 'pages/friends/add.php')
-rw-r--r-- | pages/friends/add.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pages/friends/add.php b/pages/friends/add.php new file mode 100644 index 000000000..0adbd7a63 --- /dev/null +++ b/pages/friends/add.php @@ -0,0 +1,25 @@ +<?php +/** + * Elgg add a collection of friends + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ + +// You need to be logged in for this one +gatekeeper(); + +$title = elgg_echo('friends:collections:add'); + +$content = elgg_view_title($title); + +$content .= elgg_view('friends/forms/edit', array( + 'friends' => get_user_friends(get_loggedin_userid(), "", 9999) + ) +); + +$body = elgg_view_layout('one_column_with_sidebar', $content); + +page_draw(elgg_echo('friends:collections:add'),$body); |