diff options
Diffstat (limited to 'pages/world.php')
-rw-r--r-- | pages/world.php | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/pages/world.php b/pages/world.php index 2683abc1d..9488f2620 100644 --- a/pages/world.php +++ b/pages/world.php @@ -1,31 +1,31 @@ -<?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');
-
- 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);
-
-
- $area2 .= $albums_html;
-
- $body = elgg_view_layout('two_column_left_sidebar', '', $area2);
-
- page_draw($title, $body);
+<?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'); + + 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); + + + $area2 .= $albums_html; + + $body = elgg_view_layout('two_column_left_sidebar', '', $area2); + + page_draw($title, $body); ?>
\ No newline at end of file |