From dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 13 Dec 2009 02:03:17 +0000 Subject: fixed display of some album pages - caused a cascade of changes required --- pages/world.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pages/world.php') 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); -- cgit v1.2.3