aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--friends/index.php3
-rw-r--r--friends/of.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/friends/index.php b/friends/index.php
index cde20877d..11153d198 100644
--- a/friends/index.php
+++ b/friends/index.php
@@ -17,7 +17,8 @@
$owner = $_SESSION['user'];
}
- $area1 = list_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,10,false);
+ $area1 = elgg_view_title(elgg_echo('Friends'));
+ $area1 .= list_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,10,false);
$body = elgg_view_layout('one_column',$area1);
echo page_draw(sprintf(elgg_echo("friends:owned"),$owner->name),$body);
diff --git a/friends/of.php b/friends/of.php
index 702ae16ad..8632625e4 100644
--- a/friends/of.php
+++ b/friends/of.php
@@ -17,7 +17,8 @@
$owner = $_SESSION['user'];
}
- $area1 = list_entities_from_relationship('friend',$owner->getGUID(),true,'user','',0,10,false);
+ $area1 = elgg_view_title(elgg_echo('Friends'));
+ $area1 .= list_entities_from_relationship('friend',$owner->getGUID(),true,'user','',0,10,false);
$body = elgg_view_layout('one_column',$area1);
echo page_draw(sprintf(elgg_echo("friends:of:owned"),$owner->name),$body);