From abbcdf538949aed8cc91f65bdf1c563506fc8614 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 21 Mar 2009 17:22:31 +0000 Subject: fixed view album - removed breadcrumbs for now --- viewalbum.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 viewalbum.php (limited to 'viewalbum.php') diff --git a/viewalbum.php b/viewalbum.php new file mode 100644 index 000000000..5c8f0b2b9 --- /dev/null +++ b/viewalbum.php @@ -0,0 +1,43 @@ +container_guid) { + set_page_owner($entity->container_guid); + } else { + set_page_owner($entity->owner_guid); + } + + // Set the body to be the full view of the entity, and the title to be its title + if ($entity instanceof ElggObject) { + $title = $entity->title; + } else if ($entity instanceof ElggEntity) { + $title = $entity->name; + } + + $area2 = elgg_view_title($title); + + $area2 .= elgg_view_entity($entity, true); + + // Otherwise? + } else { + } + + $body = elgg_view_layout('two_column_left_sidebar', '', $area2); + + // Display the page + page_draw($title, $body); +?> \ No newline at end of file -- cgit v1.2.3