diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-13 02:03:17 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-13 02:03:17 +0000 |
commit | dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 (patch) | |
tree | 71f92cbf22405ddbec079480e207c7fd3fe00e0a /pages/world.php | |
parent | e7a7c88d81f494d8a0c99f36338247caaf6b4bd3 (diff) | |
download | elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.gz elgg-dd8ff039f642b9eb6ea65cc1a58017ce867ec7b3.tar.bz2 |
fixed display of some album pages - caused a cascade of changes required
Diffstat (limited to 'pages/world.php')
-rw-r--r-- | pages/world.php | 8 |
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); |