diff options
Diffstat (limited to 'mod')
-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>";
}
|