diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 16:27:24 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-09 16:27:24 +0000 |
commit | 8d7dc9e3c62069dbdb6d6f61a1987b4b1a4ceef7 (patch) | |
tree | 797c016391a0fcb367ac0b7f3e99a278bec21c3e | |
parent | 33a933271a1dcb64398cb1df7a9e27209d953b82 (diff) | |
download | elgg-8d7dc9e3c62069dbdb6d6f61a1987b4b1a4ceef7.tar.gz elgg-8d7dc9e3c62069dbdb6d6f61a1987b4b1a4ceef7.tar.bz2 |
titles on friend list pages
git-svn-id: https://code.elgg.org/elgg/trunk@1367 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | friends/index.php | 3 | ||||
-rw-r--r-- | friends/of.php | 3 |
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);
|