aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/friends
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/core/friends')
-rw-r--r--views/default/core/friends/picker.php2
-rw-r--r--views/default/core/friends/tablelist.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/core/friends/picker.php b/views/default/core/friends/picker.php
index 2df452958..3397a219b 100644
--- a/views/default/core/friends/picker.php
+++ b/views/default/core/friends/picker.php
@@ -182,7 +182,7 @@ if (!isset($vars['replacement'])) {
}
//echo "<p>" . $user->name . "</p>";
- $label = elgg_view("profile/icon",array('entity' => $friend, 'size' => 'tiny', 'override' => true));
+ $label = elgg_view_entity_icon($friend, 'tiny', array('override' => true));
$options[$label] = $friend->getGUID();
if ($vars['highlight'] == 'all'
diff --git a/views/default/core/friends/tablelist.php b/views/default/core/friends/tablelist.php
index 8cb6efeda..339b9ab1b 100644
--- a/views/default/core/friends/tablelist.php
+++ b/views/default/core/friends/tablelist.php
@@ -25,11 +25,11 @@ if (is_array($vars['entities'])) {
if ($entity instanceof ElggEntity) {
?>
<td style="width:25px;">
- <div style="width: 25px; margin-bottom: 15px;">
- <?php echo elgg_view("profile/icon",array('entity' => $entity, 'size' => 'tiny')); ?>
+ <div style="width: 25px;" class="mbl">
+ <?php echo elgg_view_entity_icon($entity, 'tiny'); ?>
</div>
</td>
- <td style="width: 200px; padding: 5px;">
+ <td style="width: 200px;" class="pas">
<?php echo $entity->name; ?>
</td>
<?php