'object', 'subtype' => 'album', 'limit' => $num_albums, 'full_view' => false, 'list_type' => 'gallery', 'list_type_toggle' => false, 'gallery_class' => 'tidypics-gallery', )); elgg_pop_context(); $title = elgg_echo('album:all'); elgg_register_title_button('photos'); $body = elgg_view_layout('content', array( 'filter_context' => 'all', 'content' => $content, 'title' => $title, 'sidebar' => elgg_view('tidypics/sidebar', array('page' => 'all')), )); echo elgg_view_page($title, $body);