From ac0e60fd90c55a3a7d4f2001eb9e4cce44a5b259 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 21 Mar 2009 16:57:57 +0000 Subject: cleaning up friends album view and individual album view --- friends.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'friends.php') diff --git a/friends.php b/friends.php index 50e4aabc3..c9deb4772 100644 --- a/friends.php +++ b/friends.php @@ -24,12 +24,12 @@ if(isloggedin() && (page_owner() == $_SESSION['guid'])) { $area2 = elgg_view_title($title = elgg_echo('album:yours:friends')); } else { - $area2 = elgg_view_title($title = sprintf(elgg_echo('album:friends'), "$friendname")); + $area2 = elgg_view_title($title = sprintf(elgg_echo('album:friends'), $friendname)); } set_context('search'); set_input('search_viewtype', 'gallery'); - $area2 .= list_user_friends_objects(page_owner(), 'album'); + $area2 .= list_user_friends_objects(page_owner(), 'album', 10, true, false); set_context('photos'); $body = elgg_view_layout('two_column_left_sidebar', '', $area2); -- cgit v1.2.3