aboutsummaryrefslogtreecommitdiff
path: root/pages/world.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-05 12:14:47 +0000
committerCash Costello <cash.costello@gmail.com>2011-06-05 12:14:47 +0000
commitea8ea3c610582c8d564c5be38bc91b1987410a6b (patch)
treec09b9970fd7320f74fd4d1815692369dded39bab /pages/world.php
parenta1c32cf049031a463b1d7bb49a5c2957924d83a5 (diff)
downloadelgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.gz
elgg-ea8ea3c610582c8d564c5be38bc91b1987410a6b.tar.bz2
merged in r580 and r581 into trunk
Diffstat (limited to 'pages/world.php')
-rw-r--r--pages/world.php7
1 files changed, 6 insertions, 1 deletions
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,));