aboutsummaryrefslogtreecommitdiff
path: root/views/default/annotation
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 20:00:37 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 20:00:37 +0000
commitf22b65ccceb95ae55619f34f04bb9955ff07574e (patch)
treeff48179c2bdd6c64784bb5d0ed50d2c4877a2916 /views/default/annotation
parent241e22f5c219dde0b1352f26dbb651c2f564913c (diff)
downloadelgg-f22b65ccceb95ae55619f34f04bb9955ff07574e.tar.gz
elgg-f22b65ccceb95ae55619f34f04bb9955ff07574e.tar.bz2
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
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,