aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/all.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-08 14:37:46 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-08 14:37:46 +0000
commitc62205862130103778018c87d6fccee0ab6ae6d2 (patch)
tree6555b3fa934a70a03c293ff5b3ab8ecc00c6d4d6 /mod/groups/all.php
parentfd32e03501a2764a1abd8da8ba0a08b52f7ede03 (diff)
downloadelgg-c62205862130103778018c87d6fccee0ab6ae6d2.tar.gz
elgg-c62205862130103778018c87d6fccee0ab6ae6d2.tar.bz2
cleanup of the groups plugin views
git-svn-id: http://code.elgg.org/elgg/trunk@7863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/all.php')
-rw-r--r--mod/groups/all.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 909e02894..51030adc9 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -47,11 +47,10 @@ switch ($filter) {
$group_count = elgg_get_entities(array('types' => 'group', 'limit' => 10, 'count' => TRUE));
//find groups
-$area2 .= elgg_view("groups/find");
+$area2 .= elgg_view("groups/sidebar/find");
//featured groups
-$featured_groups = elgg_get_entities_from_metadata(array('metadata_name' => 'featured_group', 'metadata_value' => 'yes', 'types' => 'group', 'limit' => 10));
-$area2 .= elgg_view("groups/featured", array("featured" => $featured_groups));
+$area2 .= elgg_view("groups/sidebar/featured");
elgg_set_context($context);