From fecebea5fedd59bdc323aaa62a2a9d0f946d876a Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 2 Mar 2009 09:16:47 +0000 Subject: 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 --- mod/groups/views/default/object/groupforumtopic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/groups/views') 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 = "

" . sprintf(elgg_echo('group:created'), $forum_created, $counter) . "
"; - if ($last_time) $info.= sprintf(elgg_echo('groups:lastupdated'), friendly_time($last_time), " getURL() . "\">" . $u->username . ""); + if ($last_time) $info.= sprintf(elgg_echo('groups:lastupdated'), friendly_time($last_time), " getURL() . "\">" . $u->name . ""); $info .= '

'; //get the group avatar $icon = elgg_view("profile/icon",array('entity' => $group, 'size' => 'small')); @@ -49,7 +49,7 @@ }else{ $info = "

" . sprintf(elgg_echo('group:created'), $forum_created, $counter) . ""; - if ($last_time) $info.= "
" . elgg_echo('groups:updated') . " " . friendly_time($last_time) . " by getURL() . "\">" . $u->username . ""; + if ($last_time) $info.= "
" . elgg_echo('groups:updated') . " " . friendly_time($last_time) . " by getURL() . "\">" . $u->name . ""; if (groups_can_edit_discussion($vars['entity'], page_owner_entity()->owner_guid)) { -- cgit v1.2.3