aboutsummaryrefslogtreecommitdiff
path: root/friends
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-11 15:22:18 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-11 15:22:18 +0000
commitf157509b3cd60f227c9f5aca0b3d4c9cdd13dfe3 (patch)
tree2452f8a6ee772cb21d1fb3faf2c49a1afd7223c9 /friends
parente1cf670acfd8d786aec086d1bd5bb2ff96cd5870 (diff)
downloadelgg-f157509b3cd60f227c9f5aca0b3d4c9cdd13dfe3.tar.gz
elgg-f157509b3cd60f227c9f5aca0b3d4c9cdd13dfe3.tar.bz2
Updated friends/members listings when there is a latest wire post to display.
git-svn-id: http://code.elgg.org/elgg/trunk@5364 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'friends')
-rw-r--r--friends/index.php2
-rw-r--r--friends/of.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/friends/index.php b/friends/index.php
index 7ddbd45cc..23dd098d5 100644
--- a/friends/index.php
+++ b/friends/index.php
@@ -16,7 +16,7 @@ if (!$owner = page_owner_entity()) {
$friends = sprintf(elgg_echo("friends:owned"),$owner->name);
$area1 = elgg_view_title($friends);
-$area2 = list_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,10,false);
+$area2 = "<div class='members_list'>".list_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,10,false)."</div>";
$body = elgg_view_layout('one_column_with_sidebar', $area1 . $area2);
page_draw($friends, $body);
diff --git a/friends/of.php b/friends/of.php
index f8c3b1981..d3668d587 100644
--- a/friends/of.php
+++ b/friends/of.php
@@ -16,7 +16,7 @@ if (!$owner = page_owner_entity()) {
$friends_of = sprintf(elgg_echo("friends:of:owned"),$owner->name);
$area1 = elgg_view_title($friends_of);
-$area2 = list_entities_from_relationship('friend',$owner->getGUID(),true,'user','',0,10,false);
+$area2 = "<div class='members_list'>".list_entities_from_relationship('friend',$owner->getGUID(),true,'user','',0,10,false)."</div>";
$body = elgg_view_layout('one_column_with_sidebar', $area1 . $area2);
page_draw($friends_of, $body);