From ea8ea3c610582c8d564c5be38bc91b1987410a6b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 5 Jun 2011 12:14:47 +0000 Subject: merged in r580 and r581 into trunk --- pages/ownedalbums.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'pages/ownedalbums.php') diff --git a/pages/ownedalbums.php b/pages/ownedalbums.php index 67583c65c..9483512c6 100644 --- a/pages/ownedalbums.php +++ b/pages/ownedalbums.php @@ -41,9 +41,21 @@ $area2 = elgg_view_title($title); set_context('search'); set_input('search_viewtype', 'gallery'); if ($owner instanceof ElggGroup) { - $content .= tp_list_entities("object", "album", 0, $owner->guid, 12, false); + $content .= elgg_list_entities(array( + "type" => "object", + "subtype" => "album", + "container_guid" => $owner->guid, + "limit" => 12, + "full_view" => false, +)); } else { - $content .= tp_list_entities("object", "album", $owner->guid, $owner->guid, 12, false); + $content .= elgg_list_entities(array( + "type" => "object", + "subtype" => "album", + "container_guid" => $owner->guid, + "limit" => 12, + "full_view" => false, +)); } $area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,)); -- cgit v1.2.3