From f22b65ccceb95ae55619f34f04bb9955ff07574e Mon Sep 17 00:00:00 2001 From: ewinslow Date: Fri, 25 Feb 2011 20:00:37 +0000 Subject: Converted all uses of profile/icon in core + plugins to elgg_view_entity_icon git-svn-id: http://code.elgg.org/elgg/trunk@8471 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/views/default/object/messages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/messages') diff --git a/mod/messages/views/default/object/messages.php b/mod/messages/views/default/object/messages.php index 9e070455b..70a51bf57 100644 --- a/mod/messages/views/default/object/messages.php +++ b/mod/messages/views/default/object/messages.php @@ -19,7 +19,7 @@ if ($full) { if ($message->toId == elgg_get_page_owner_guid()) { // received $user = get_entity($message->fromId); - $icon = elgg_view('profile/icon', array('entity' => $user, 'size' => 'tiny')); + $icon = elgg_view_entity_icon($user, 'tiny'); $user_link = elgg_view('output/url', array( 'href' => "pg/messages/compose?send_to=$user->guid", 'text' => $user->name, @@ -34,7 +34,7 @@ if ($message->toId == elgg_get_page_owner_guid()) { } else { // sent $user = get_entity($message->toId); - $icon = elgg_view('profile/icon', array('entity' => $user, 'size' => 'tiny')); + $icon = elgg_view_entity_icon($user, 'tiny'); $user_link = elgg_view('output/url', array( 'href' => "pg/messages/compose?send_to=$user->guid", 'text' => elgg_echo('messages:to_user', array($user->name)), -- cgit v1.2.3