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/world.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pages/world.php') diff --git a/pages/world.php b/pages/world.php index fe97a882d..25a69da52 100644 --- a/pages/world.php +++ b/pages/world.php @@ -18,7 +18,12 @@ $area2 = elgg_view_title($title); set_context('search'); set_input('search_viewtype', 'gallery'); -$content .= tp_list_entities('object','album', 0, null, $num_albums, false); +$content .= elgg_list_entities(array( + 'type' => 'object', + 'subtype' => 'album', + 'limit' => $num_albums, + 'pagination' => false, +)); set_context('photos'); $area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,)); -- cgit v1.2.3