aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 10:30:09 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-13 10:30:09 +0000
commit4973086aa9dd4d482e54c0e5b177c09251e6a7ec (patch)
tree57ff1b398099ec072857c54033b09cab54f749ed /views/default/canvas
parent2c0154782f1e84e1bcf2517a910abe2ceab28ae6 (diff)
downloadelgg-4973086aa9dd4d482e54c0e5b177c09251e6a7ec.tar.gz
elgg-4973086aa9dd4d482e54c0e5b177c09251e6a7ec.tar.bz2
Removing some messages
git-svn-id: https://code.elgg.org/elgg/trunk@1879 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/canvas')
-rw-r--r--views/default/canvas/layouts/two_column_left_sidebar.php4
-rw-r--r--views/default/canvas/layouts/two_column_right_sidebar.php7
2 files changed, 7 insertions, 4 deletions
diff --git a/views/default/canvas/layouts/two_column_left_sidebar.php b/views/default/canvas/layouts/two_column_left_sidebar.php
index 9894d51ad..b80e81bf1 100644
--- a/views/default/canvas/layouts/two_column_left_sidebar.php
+++ b/views/default/canvas/layouts/two_column_left_sidebar.php
@@ -21,14 +21,14 @@
?>
- <?php echo $vars['area3']; ?>
+ <?php if (isset($vars['area3'])) echo $vars['area3']; ?>
</div><!-- /two_column_left_sidebar -->
<!-- main content -->
<div id="two_column_left_sidebar_maincontent">
-<?php echo $vars['area2']; ?>
+<?php if (isset($vars['area2'])) echo $vars['area2']; ?>
</div><!-- /two_column_left_sidebar_maincontent -->
diff --git a/views/default/canvas/layouts/two_column_right_sidebar.php b/views/default/canvas/layouts/two_column_right_sidebar.php
index 2d9168cf9..157f95f2e 100644
--- a/views/default/canvas/layouts/two_column_right_sidebar.php
+++ b/views/default/canvas/layouts/two_column_right_sidebar.php
@@ -15,14 +15,17 @@
<!-- main content -->
<div id="two_column_right_sidebar_maincontent">
-<?php echo $vars['area2']; ?>
+<?php
+
+ echo elgg_view('page_elements/owner_block',array('content' => $vars['area1']));
+ if (isset($vars['area2'])) echo $vars['area2']; ?>
</div><!-- /two_column_right_sidebar_maincontent -->
<!-- right sidebar -->
<div id="two_column_right_sidebar">
-<?php echo $vars['area1']; ?>
+<?php if (isset($vars['area1'])) echo $vars['area1']; ?>
</div><!-- /two_column_right_sidebar -->