aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-08-23 20:48:58 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-08-23 20:48:58 +0000
commit9558433808cc038efe4ebf989e0a040126f7fa7a (patch)
treed42f27824a3690bf723b642393031f3405c34441 /mod
parentc57f6fda15007fd3978fe1a4a987ce98045ebb28 (diff)
downloadelgg-9558433808cc038efe4ebf989e0a040126f7fa7a.tar.gz
elgg-9558433808cc038efe4ebf989e0a040126f7fa7a.tar.bz2
Merged [6819] into trunk from 1.7 branch
git-svn-id: http://code.elgg.org/elgg/trunk@6856 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/languages/en.php1
-rw-r--r--mod/groups/views/default/object/groupforumtopic.php4
2 files changed, 4 insertions, 1 deletions
diff --git a/mod/groups/languages/en.php b/mod/groups/languages/en.php
index e986f99fe..847654a25 100644
--- a/mod/groups/languages/en.php
+++ b/mod/groups/languages/en.php
@@ -96,6 +96,7 @@ $english = array(
'groups:yes' => 'yes',
'groups:no' => 'no',
'groups:lastupdated' => 'Last updated %s by %s',
+ 'groups:lastcomment' => 'Last comment %s by %s',
'groups:pages' => 'Group pages',
'groups:files' => 'Group files',
diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php
index 1612eb778..e07072b78 100644
--- a/mod/groups/views/default/object/groupforumtopic.php
+++ b/mod/groups/views/default/object/groupforumtopic.php
@@ -70,7 +70,9 @@ if (get_context() == "search") {
}
if (($last_time) && ($u)) {
- $info.= "<p class='entity_subtext'>" . elgg_echo('groups:updated') . " " . elgg_view_friendly_time($last_time) . " by <a href=\"" . $u->getURL() . "\">" . $u->name . "</a></p>";
+ $commenter_link = "<a href\"{$u->getURL()}\">$u->name</a>";
+ $text = sprintf(elgg_echo('groups:lastcomment'), elgg_view_friendly_time($last_time), $commenter_link);
+ $info .= "<p class='entity_subtext'>$text</p>";
}
//get the user avatar
$icon = elgg_view("profile/icon",array('entity' => $topic_owner, 'size' => 'tiny'));