aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-21 16:57:57 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-21 16:57:57 +0000
commitac0e60fd90c55a3a7d4f2001eb9e4cce44a5b259 (patch)
treebe51851578c3c7cffe0ad6c7bd3dda379ed2bbb3 /index.php
parentfd2278f46e5123c43343f57cf764d45a0b57ec24 (diff)
downloadelgg-ac0e60fd90c55a3a7d4f2001eb9e4cce44a5b259.tar.gz
elgg-ac0e60fd90c55a3a7d4f2001eb9e4cce44a5b259.tar.bz2
cleaning up friends album view and individual album view
Diffstat (limited to 'index.php')
-rw-r--r--index.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/index.php b/index.php
index 8839cd95d..45c849878 100644
--- a/index.php
+++ b/index.php
@@ -18,16 +18,22 @@
}
//set the title
- $area2 = elgg_view_title($title = sprintf(elgg_echo('album:user'), "$owner->name"));
-
+ $title = sprintf(elgg_echo('album:user'), "$owner->name");
+ $area2 = elgg_view_title($title);
+
+ // temporary code - move to view when cleaned up
+ //$area2 .= '<div class="contentWrapper">';
+
// Get objects
set_context('search');
set_input('search_viewtype', 'gallery');
- $area2 .= list_entities("object","album",page_owner(),10);
+ $area2 .= list_entities("object", "album", page_owner(), 10);
+
+ //$area2 .= '</div>';
set_context('photos');
$body = elgg_view_layout('two_column_left_sidebar', '', $area2);
// Finally draw the page
- page_draw(sprintf(elgg_echo("album:user"),page_owner_entity()->name), $body);
+ page_draw($title, $body);
?> \ No newline at end of file