diff options
Diffstat (limited to 'pages/friends')
-rw-r--r-- | pages/friends/index.php | 4 | ||||
-rw-r--r-- | pages/friends/of.php | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/pages/friends/index.php b/pages/friends/index.php index 61169cc85..916f248d9 100644 --- a/pages/friends/index.php +++ b/pages/friends/index.php @@ -17,9 +17,7 @@ $title = elgg_echo("friends:owned", array($owner->name)); $content = elgg_view_title($title); -$content .= "<div class='members_list'>" - . list_entities_from_relationship('friend', $owner->getGUID(), FALSE, 'user', '', 0, 10, FALSE) - . "</div>"; +$content .= list_entities_from_relationship('friend', $owner->getGUID(), FALSE, 'user', '', 0, 10, FALSE); $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); diff --git a/pages/friends/of.php b/pages/friends/of.php index b5d5829ad..501b0ad2e 100644 --- a/pages/friends/of.php +++ b/pages/friends/of.php @@ -17,9 +17,7 @@ $title = elgg_echo("friends:of:owned", array($owner->name)); $content = elgg_view_title($title); -$content .= "<div class='members_list'>" - . list_entities_from_relationship('friend', $owner->getGUID(), TRUE, 'user', '', 0, 10, FALSE) - . "</div>"; +$content .= list_entities_from_relationship('friend', $owner->getGUID(), TRUE, 'user', '', 0, 10, FALSE); $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); |