diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 20:00:37 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-25 20:00:37 +0000 |
commit | f22b65ccceb95ae55619f34f04bb9955ff07574e (patch) | |
tree | ff48179c2bdd6c64784bb5d0ed50d2c4877a2916 /views/default/river | |
parent | 241e22f5c219dde0b1352f26dbb651c2f564913c (diff) | |
download | elgg-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/river')
-rw-r--r-- | views/default/river/item/image.php | 2 | ||||
-rw-r--r-- | views/default/river/relationship/friend/create.php | 4 |
2 files changed, 3 insertions, 3 deletions
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)); |