From ea49a80b5a3375d52ef2d883c2cf466b4773561b Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 25 Jul 2008 16:01:38 +0000 Subject: changed list and entity canvas layout git-svn-id: https://code.elgg.org/elgg/trunk@1544 36083f99-b078-4883-b0ff-0f9b5a30f544 --- entities/index.php | 4 ++-- entities/list.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/entities/index.php b/entities/index.php index 756f6c120..96da8b790 100644 --- a/entities/index.php +++ b/entities/index.php @@ -28,9 +28,9 @@ if ($entity = get_entity($guid)) { // Set the body to be the full view of the entity, and the title to be its title - $body = elgg_view_entity($entity,true); + $area2 = elgg_view_entity($entity,true); if ($shell) - $body = elgg_view_layout('one_column',$body); + $body = elgg_view_layout('two_column_left_sidebar',$area1, $area2); // Otherwise? } else { diff --git a/entities/list.php b/entities/list.php index 52a5eafef..5fed930b0 100644 --- a/entities/list.php +++ b/entities/list.php @@ -13,9 +13,9 @@ require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); set_context('search'); - $body = list_entities("","",0,10,false); + $area2 = list_entities("","",0,10,false); set_context('entities'); - $body = elgg_view_layout('one_column',$body); + $body = elgg_view_layout('two_column_left_sidebar',$area1, $area2); echo page_draw("",$body); ?> \ No newline at end of file -- cgit v1.2.3