aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/group
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 04:19:27 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-30 04:19:27 +0000
commit010bc9650139814f2c74a24b6e320c5c4373e5c4 (patch)
tree743c8cc9dc914b80c093a3a6dfdef3e924cbfd46 /mod/groups/views/default/group
parent062509670573151a9ab74404073e919aaa333268 (diff)
downloadelgg-010bc9650139814f2c74a24b6e320c5c4373e5c4.tar.gz
elgg-010bc9650139814f2c74a24b6e320c5c4373e5c4.tar.bz2
fixed new groups listing
git-svn-id: http://code.elgg.org/elgg/trunk@7768 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/group')
-rw-r--r--mod/groups/views/default/group/default.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/views/default/group/default.php b/mod/groups/views/default/group/default.php
index 3ba482d63..bc3710888 100644
--- a/mod/groups/views/default/group/default.php
+++ b/mod/groups/views/default/group/default.php
@@ -21,11 +21,11 @@ if ($membership == ACCESS_PUBLIC) {
}
// number of members
-$num_members = '17 ' . elgg_echo('groups:member');
+$num_members = get_group_members($group->guid, 10, 0, 0, true);
+$members_string = elgg_echo('groups:member');
$metadata = "<ul class=\"elgg-list-metadata\"><li>$mem</li>";
-$metadata .= "<li>$num_members</li>";
-//. " / <b>" . get_group_members($vars['entity']->guid, 10, 0, 0, true) ."</b> " . elgg_echo("groups:member");
+$metadata .= "<li>$num_members $members_string</li>";
// feature link
if (isadminloggedin()) {