aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-02 09:16:47 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-02 09:16:47 +0000
commitfecebea5fedd59bdc323aaa62a2a9d0f946d876a (patch)
tree9a21b3264d9deb1165f1d208a6e8aa2614a2fa49 /mod
parentd8e0ad822da12b63b1f06b03d192112765ef11eb (diff)
downloadelgg-fecebea5fedd59bdc323aaa62a2a9d0f946d876a.tar.gz
elgg-fecebea5fedd59bdc323aaa62a2a9d0f946d876a.tar.bz2
small tweak to change from username to name on discussion
git-svn-id: https://code.elgg.org/elgg/trunk@3013 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/object/groupforumtopic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php
index 1e67cd1ab..534602f2d 100644
--- a/mod/groups/views/default/object/groupforumtopic.php
+++ b/mod/groups/views/default/object/groupforumtopic.php
@@ -34,7 +34,7 @@
if(get_context() == "search"){
$info = "<p class=\"latest_discussion_info\">" . sprintf(elgg_echo('group:created'), $forum_created, $counter) . "<br /><span class=\"timestamp\">";
- if ($last_time) $info.= sprintf(elgg_echo('groups:lastupdated'), friendly_time($last_time), " <a href=\"" . $u->getURL() . "\">" . $u->username . "</a>");
+ if ($last_time) $info.= sprintf(elgg_echo('groups:lastupdated'), friendly_time($last_time), " <a href=\"" . $u->getURL() . "\">" . $u->name . "</a>");
$info .= '</span></p>';
//get the group avatar
$icon = elgg_view("profile/icon",array('entity' => $group, 'size' => 'small'));
@@ -49,7 +49,7 @@
}else{
$info = "<p class=\"latest_discussion_info\"><span class=\"timestamp\">" . sprintf(elgg_echo('group:created'), $forum_created, $counter) . "</span>";
- if ($last_time) $info.= "<br /><span class='timestamp'>" . elgg_echo('groups:updated') . " " . friendly_time($last_time) . " by <a href=\"" . $u->getURL() . "\">" . $u->username . "</a></span>";
+ if ($last_time) $info.= "<br /><span class='timestamp'>" . elgg_echo('groups:updated') . " " . friendly_time($last_time) . " by <a href=\"" . $u->getURL() . "\">" . $u->name . "</a></span>";
if (groups_can_edit_discussion($vars['entity'], page_owner_entity()->owner_guid)) {