diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-23 20:48:58 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-08-23 20:48:58 +0000 |
commit | 9558433808cc038efe4ebf989e0a040126f7fa7a (patch) | |
tree | d42f27824a3690bf723b642393031f3405c34441 /mod/groups/views | |
parent | c57f6fda15007fd3978fe1a4a987ce98045ebb28 (diff) | |
download | elgg-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/groups/views')
-rw-r--r-- | mod/groups/views/default/object/groupforumtopic.php | 4 |
1 files changed, 3 insertions, 1 deletions
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')); |