diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-12-12 19:51:49 +0000 |
commit | 621177abc2bc60e9edb3ca723a4afaa9d9e713ef (patch) | |
tree | d6064f1fe767d042ea41e4adea88e57b8e5138ff /pages/world.php | |
parent | b40060fafaba46e2fb8800b2c2e557a8c6bde9db (diff) | |
download | elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.gz elgg-621177abc2bc60e9edb3ca723a4afaa9d9e713ef.tar.bz2 |
convert line endings to Unix
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 |