From 4562cfbb1a630b14fd194271f99f1f8c098dc38d Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Nov 2011 12:10:46 -0500 Subject: basic pages for viewing all/mine/friends and viewing an album --- pages/photos/all.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/photos/all.php (limited to 'pages/photos/all.php') diff --git a/pages/photos/all.php b/pages/photos/all.php new file mode 100644 index 000000000..edda65ce0 --- /dev/null +++ b/pages/photos/all.php @@ -0,0 +1,37 @@ + '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); -- cgit v1.2.3