aboutsummaryrefslogtreecommitdiff
path: root/pages/friends/collections
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-08-15 11:29:18 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-08-15 11:29:18 -0700
commit7db07d8031955772f129d0b3fc1dbd9f2609454c (patch)
tree09d1d206eab96ba56cf5f6c38f97247ddce1cb51 /pages/friends/collections
parentf5a4d14ed70af150a9ad156e4ff0b37ab555ba0b (diff)
downloadelgg-7db07d8031955772f129d0b3fc1dbd9f2609454c.tar.gz
elgg-7db07d8031955772f129d0b3fc1dbd9f2609454c.tar.bz2
Fixes #3715. Added the new collection button back.
Diffstat (limited to 'pages/friends/collections')
-rw-r--r--pages/friends/collections/add.php4
-rw-r--r--pages/friends/collections/pickercallback.php4
-rw-r--r--pages/friends/collections/view.php8
3 files changed, 7 insertions, 9 deletions
diff --git a/pages/friends/collections/add.php b/pages/friends/collections/add.php
index 0bc3f1fcb..60f7586ba 100644
--- a/pages/friends/collections/add.php
+++ b/pages/friends/collections/add.php
@@ -2,8 +2,8 @@
/**
* Elgg add a collection of friends
*
- * @package Elgg
- * @subpackage Core
+ * @package Elgg.Core
+ * @subpackage Social.Collections
*/
// You need to be logged in for this one
diff --git a/pages/friends/collections/pickercallback.php b/pages/friends/collections/pickercallback.php
index 228037590..c6ed61cf0 100644
--- a/pages/friends/collections/pickercallback.php
+++ b/pages/friends/collections/pickercallback.php
@@ -2,8 +2,8 @@
/**
* Elgg friends picker callback
*
- * @package Elgg
- * @subpackage Core
+ * @package Elgg.Core
+ * @subpackage Social.Collections
*/
// Load Elgg engine
diff --git a/pages/friends/collections/view.php b/pages/friends/collections/view.php
index fa7527f4d..0d72fe788 100644
--- a/pages/friends/collections/view.php
+++ b/pages/friends/collections/view.php
@@ -2,14 +2,12 @@
/**
* Elgg collections of friends
*
- * @package Elgg
- * @subpackage Core
+ * @package Elgg.Core
+ * @subpackage Social.Collections
*/
-// You need to be logged in for this one
-gatekeeper();
-
$title = elgg_echo('friends:collections');
+elgg_register_title_button('collections', 'add');
$content = elgg_view_access_collections(elgg_get_logged_in_user_guid());