aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 09:39:34 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 09:39:34 +0000
commitff4779ddb3ef005553187e4486d4d775220d8b8f (patch)
tree7765c79ad2cffd028dd5da9d1db68ca176faf9a3 /views/default
parent9bb993778bc7a0c6f17673e509ed147202e69ee7 (diff)
downloadelgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.gz
elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.bz2
Updated new page canvases (and calls to elgg_view_layout) so that empty vars are not required.
git-svn-id: http://code.elgg.org/elgg/trunk@5316 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/canvas/layouts/one_column_with_sidebar.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/canvas/layouts/one_column_with_sidebar.php b/views/default/canvas/layouts/one_column_with_sidebar.php
index f7fff4d08..d7271c9c3 100644
--- a/views/default/canvas/layouts/one_column_with_sidebar.php
+++ b/views/default/canvas/layouts/one_column_with_sidebar.php
@@ -12,12 +12,14 @@
<div id="elgg_sidebar">
<?php
echo elgg_view('page_elements/owner_block');
- if (isset($vars['area1'])) echo $vars['area1'];
- if (isset($vars['area3'])) echo $vars['area3'];
+ if (isset($vars['area2'])) echo $vars['area2'];
+ if (isset($vars['area3'])) echo $vars['area3'];
?>
</div>
<div id="elgg_page_contents" class="clearfloat">
- <?php if (isset($vars['area2'])) echo $vars['area2']; ?>
+ <?php
+ if (isset($vars['area1'])) echo $vars['area1'];
+ ?>
</div>
</div>