diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-07 17:39:03 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-07 17:39:03 +0000 |
commit | f0bba65551ba62173cc35214627b196f42f3b7a6 (patch) | |
tree | 8f46b4f28ea8aa3991b379bc7acecd7a0990277a /mod/groups | |
parent | 0830b1e250350b535e55d3b44fcdfeb55269ff3c (diff) | |
download | elgg-f0bba65551ba62173cc35214627b196f42f3b7a6.tar.gz elgg-f0bba65551ba62173cc35214627b196f42f3b7a6.tar.bz2 |
Group forum additions
git-svn-id: https://code.elgg.org/elgg/trunk@1780 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/languages/en.php | 1 | ||||
-rw-r--r-- | mod/groups/views/default/groups/forum_latest.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/members.php | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/mod/groups/languages/en.php b/mod/groups/languages/en.php index d18be9cb0..78c476b1f 100644 --- a/mod/groups/languages/en.php +++ b/mod/groups/languages/en.php @@ -57,6 +57,7 @@ 'groups:forum' => 'Group forum',
'groups:addtopic' => 'Add a topic',
'groups:forumlatest' => 'Forum latest',
+ 'groups:latestdiscussion' => 'Latest discussion',
'groupspost:success' => 'Your comment was succesfully posted',
'groups:alldiscussion' => 'Latest discussion',
'groups:edittopic' => 'Edit topic',
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php index 3cf253afe..10392fa51 100644 --- a/mod/groups/views/default/groups/forum_latest.php +++ b/mod/groups/views/default/groups/forum_latest.php @@ -9,7 +9,7 @@ $count_annotations = $f->countAnnotations("group_topic_post");
echo "<div class=\"forum_latest\">";
- echo "<div class=\"topic_title\"><p>" . $f->title . " (Replies: " . $count_annotations . ")</p></div>";
+ echo "<div class=\"topic_title\"><p><a href=\"{$vars['url']}mod/groups/topicposts.php?topic={$f->guid}&group_guid={$vars['entity']->guid}\">" . $f->title . "</a> (Replies: " . $count_annotations . ")</p></div>";
echo "<div class=\"topic_owner_icon\">" . elgg_view('profile/icon',array('entity' => $f->getOwnerEntity(), 'size' => 'tiny')) . "</div>";
echo "</div>";
diff --git a/mod/groups/views/default/groups/members.php b/mod/groups/views/default/groups/members.php index 794dccfc3..c49f2010f 100644 --- a/mod/groups/views/default/groups/members.php +++ b/mod/groups/views/default/groups/members.php @@ -18,10 +18,10 @@ <?php
- $members = $vars['entity']->getMembers(20);
+ $members = $vars['entity']->getMembers(9999);
foreach($members as $mem){
- echo "<div class=\"member_icon\" style=\"float:left;margin:4px;\">" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'small')) . "</div>";
+ echo "<div class=\"member_icon\" style=\"float:left;margin:4px;\">" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'tiny')) . "</div>";
}
|