aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/annotation')
-rw-r--r--views/default/annotation/default.php2
-rw-r--r--views/default/annotation/generic_comment.php2
-rw-r--r--views/default/annotation/likes.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/default/annotation/default.php b/views/default/annotation/default.php
index dc1337362..30e1cef68 100644
--- a/views/default/annotation/default.php
+++ b/views/default/annotation/default.php
@@ -6,7 +6,7 @@
*/
$owner = get_user($vars['annotation']->owner_guid);
-$icon = elgg_view("profile/icon", array('entity' => $owner, 'size' => 'tiny'));
+$icon = elgg_view_entity_icon($owner, 'tiny');
$info = elgg_view("output/longtext", array("value" => $vars['annotation']->value));
diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php
index c55c04c78..04efc6388 100644
--- a/views/default/annotation/generic_comment.php
+++ b/views/default/annotation/generic_comment.php
@@ -26,7 +26,7 @@ if (!$entity || !$commenter) {
$friendlytime = elgg_view_friendly_time($comment->time_created);
-$commenter_icon = elgg_view("profile/icon", array('entity' => $commenter, 'size' => 'tiny'));
+$commenter_icon = elgg_view_entity_icon($commenter, 'tiny');
$commenter_link = "<a href=\"{$commenter->getURL()}\">$commenter->name</a>";
$entity_title = $entity->title ? $entity->title : elgg_echo('untitled');
diff --git a/views/default/annotation/likes.php b/views/default/annotation/likes.php
index 2ca129840..2d6a2fec5 100644
--- a/views/default/annotation/likes.php
+++ b/views/default/annotation/likes.php
@@ -16,7 +16,7 @@ if (!$user) {
return true;
}
-$user_icon = elgg_view("profile/icon", array('entity' => $user, 'size' => 'tiny'));
+$user_icon = elgg_view_entity_icon($user, 'tiny');
$user_link = elgg_view('output/url', array(
'href' => $user->getURL(),
'text' => $user->name,