aboutsummaryrefslogtreecommitdiff
path: root/pages/world.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/world.php')
-rw-r--r--pages/world.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/pages/world.php b/pages/world.php
index 9488f2620..48a3345d4 100644
--- a/pages/world.php
+++ b/pages/world.php
@@ -14,16 +14,14 @@
$num_albums = 16;
$title = elgg_echo('album:all');
-
- set_context('photos');
$area2 = elgg_view_title($title);
set_context('search');
set_input('search_viewtype', 'gallery');
- $albums_html .= list_entities('object','album', 0, $num_albums, false);
+ $content .= tp_list_entities('object','album', 0, null, $num_albums, false);
+ set_context('photos');
-
- $area2 .= $albums_html;
+ $area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,));
$body = elgg_view_layout('two_column_left_sidebar', '', $area2);