aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 17:02:25 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 17:02:25 +0000
commitb548c7fa2874276adb97e77fc76e8cc4336ff1d8 (patch)
tree81c9b545e2de1b06404d22b9b31bf57179144f51 /mod/groups
parent0356de45294cdd5a51c681d438c29cb4352f5458 (diff)
downloadelgg-b548c7fa2874276adb97e77fc76e8cc4336ff1d8.tar.gz
elgg-b548c7fa2874276adb97e77fc76e8cc4336ff1d8.tar.bz2
Wired up group member count and fixed topic page title
git-svn-id: https://code.elgg.org/elgg/trunk@1774 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/topicposts.php2
-rw-r--r--mod/groups/views/default/groups/groupprofile.php4
2 files changed, 2 insertions, 4 deletions
diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php
index c68c9a48e..34886f3fe 100644
--- a/mod/groups/topicposts.php
+++ b/mod/groups/topicposts.php
@@ -25,6 +25,6 @@
$body = elgg_view_layout("two_column_left_sidebar", $area1, $area2);
// Display page
- page_draw(sprintf(elgg_echo('topics:user')),$body);
+ page_draw($topic->title,$body);
?> \ No newline at end of file
diff --git a/mod/groups/views/default/groups/groupprofile.php b/mod/groups/views/default/groups/groupprofile.php
index 3b93c3384..1e1cf863f 100644
--- a/mod/groups/views/default/groups/groupprofile.php
+++ b/mod/groups/views/default/groups/groupprofile.php
@@ -37,9 +37,7 @@
echo "<p><b>" . elgg_echo("groups:owner") . ": </b><a href=\"" . get_user($vars['entity']->owner_guid)->getURL() . "\">" . get_user($vars['entity']->owner_guid)->name . "</a></p>";
?>
- <p>Members: 210<br />
- Latest Activity: 2 hours ago<br />
- Number of files: 50</p>
+ <p><?php echo elgg_echo('groups:members') . ": " . get_entities_from_relationship('member', $vars['entity']->guid, true, 'user', '', 0, '', 9999, 0, true); ?></p>
</div><!-- end of group_stats -->
</div><!-- end of groups_info_column_right -->