From 26be16aaf2189a4b50b06494aab6c6690480a371 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 21 Mar 2009 17:53:07 +0000 Subject: finished updating display of single image --- viewimage.php | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 viewimage.php (limited to 'viewimage.php') diff --git a/viewimage.php b/viewimage.php new file mode 100644 index 000000000..85e8d8215 --- /dev/null +++ b/viewimage.php @@ -0,0 +1,42 @@ +container_guid)->container_guid; + + if ($top_container) { + set_page_owner($top_container); + } else { + set_page_owner($entity->owner_guid); + } + + $title = $entity->title; + $area2 = elgg_view_title($title); + $area2 .= elgg_view_entity($entity, true); + + } else { + $body = elgg_echo('notfound'); + } + + $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