aboutsummaryrefslogtreecommitdiff
path: root/friends
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-15 23:40:28 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-15 23:40:28 +0000
commite2e8e4e03a3d3b57627ee6bf3a3d5c8f40eba18f (patch)
treec334d5fb1ba09b6797af6903281e101c1a2b4510 /friends
parentaf59be06054d862444024d0261866df95ce89964 (diff)
downloadelgg-e2e8e4e03a3d3b57627ee6bf3a3d5c8f40eba18f.tar.gz
elgg-e2e8e4e03a3d3b57627ee6bf3a3d5c8f40eba18f.tar.bz2
Fixes #1251: Correct strings applied.
git-svn-id: https://code.elgg.org/elgg/trunk@3486 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'friends')
-rw-r--r--friends/index.php7
-rw-r--r--friends/of.php9
2 files changed, 9 insertions, 7 deletions
diff --git a/friends/index.php b/friends/index.php
index e9e4f7374..f2e3d60be 100644
--- a/friends/index.php
+++ b/friends/index.php
@@ -16,11 +16,12 @@
set_page_owner($_SESSION['user']->getGUID());
$owner = $_SESSION['user'];
}
+ $friends = sprintf(elgg_echo("friends:owned"),$owner->name);
- $area1 = elgg_view_title(elgg_echo('friends'));
+ $area1 = elgg_view_title($friends);
$area2 = list_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,10,false);
$body = elgg_view_layout('two_column_left_sidebar', '', $area1 . $area2);
- page_draw(sprintf(elgg_echo("friends:owned"),$owner->name),$body);
+ page_draw($friends, $body);
-?> \ No newline at end of file
+?>
diff --git a/friends/of.php b/friends/of.php
index f1231750c..fb7b6d659 100644
--- a/friends/of.php
+++ b/friends/of.php
@@ -16,11 +16,12 @@
set_page_owner($_SESSION['user']->getGUID());
$owner = $_SESSION['user'];
}
-
- $area1 = elgg_view_title(elgg_echo('friends:of'));
+ $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);
$body = elgg_view_layout('two_column_left_sidebar', '', $area1 . $area2);
- page_draw(sprintf(elgg_echo("friends:of:owned"),$owner->name),$body);
+ page_draw($friends_of, $body);
-?> \ No newline at end of file
+?>