aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-25 16:01:38 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-25 16:01:38 +0000
commitea49a80b5a3375d52ef2d883c2cf466b4773561b (patch)
tree118731464a05fdab64bb2c525dabdbea6a2ada55
parent6438acd96b4fe431dee7e94e6eeae80587a348ae (diff)
downloadelgg-ea49a80b5a3375d52ef2d883c2cf466b4773561b.tar.gz
elgg-ea49a80b5a3375d52ef2d883c2cf466b4773561b.tar.bz2
changed list and entity canvas layout
git-svn-id: https://code.elgg.org/elgg/trunk@1544 36083f99-b078-4883-b0ff-0f9b5a30f544
-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