aboutsummaryrefslogtreecommitdiff
path: root/entities
diff options
context:
space:
mode:
Diffstat (limited to 'entities')
-rw-r--r--entities/index.php4
-rw-r--r--entities/list.php4
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