diff options
author | cash <cash.costello@gmail.com> | 2011-11-19 12:10:46 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-19 12:10:46 -0500 |
commit | 4562cfbb1a630b14fd194271f99f1f8c098dc38d (patch) | |
tree | 926e9e22cca553f48583ff25d782a092795ceb7c /pages/world.php | |
parent | eb9b13e1bfd861cba9b7a812d929b565d5775175 (diff) | |
download | elgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.gz elgg-4562cfbb1a630b14fd194271f99f1f8c098dc38d.tar.bz2 |
basic pages for viewing all/mine/friends and viewing an album
Diffstat (limited to 'pages/world.php')
-rw-r--r-- | pages/world.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pages/world.php b/pages/world.php deleted file mode 100644 index 4599f8209..000000000 --- a/pages/world.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * Tidypics View All Albums on Site - * - */ - -include_once dirname(dirname(dirname(dirname(__FILE__)))) . "/engine/start.php"; - -// set page owner to logged in user -if (isloggedin()) { - set_page_owner(get_loggedin_userid()); -} - -$num_albums = 16; - -$title = elgg_echo('album:all'); -$area2 = elgg_view_title($title); - -set_context('search'); -set_input('search_viewtype', 'gallery'); -$content .= elgg_list_entities(array( - 'type' => 'object', - 'subtype' => 'album', - 'limit' => $num_albums, -)); -set_context('photos'); - -$area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,)); - -$body = elgg_view_layout('two_column_left_sidebar', '', $area2); - -page_draw($title, $body); |