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 --- views/default/river/item/image.php | 2 +- views/default/river/relationship/friend/create.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'views/default/river') diff --git a/views/default/river/item/image.php b/views/default/river/item/image.php index afb6b4019..9caa44b36 100644 --- a/views/default/river/item/image.php +++ b/views/default/river/item/image.php @@ -9,4 +9,4 @@ $subject = $vars['item']->getSubjectEntity(); -echo elgg_view("profile/icon", array('entity' => $subject, 'size' => 'small')); +echo elgg_view_entity_icon($subject, 'small'); diff --git a/views/default/river/relationship/friend/create.php b/views/default/river/relationship/friend/create.php index 5392105d6..4fbd7b01a 100644 --- a/views/default/river/relationship/friend/create.php +++ b/views/default/river/relationship/friend/create.php @@ -10,8 +10,8 @@ $params = array( 'text' => $object->name, ); $object_link = elgg_view('output/url', $params); -$subject_icon = elgg_view("profile/icon", array('entity' => $subject, 'size' => 'tiny')); -$object_icon = elgg_view("profile/icon", array('entity' => $object, 'size' => 'tiny')); +$subject_icon = elgg_view_entity_icon($subject, 'tiny'); +$object_icon = elgg_view_entity_icon($object, 'tiny'); echo elgg_echo("friends:river:add", array($object_link)); -- cgit v1.2.3