diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-13 10:30:09 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-13 10:30:09 +0000 |
commit | 4973086aa9dd4d482e54c0e5b177c09251e6a7ec (patch) | |
tree | 57ff1b398099ec072857c54033b09cab54f749ed /views/default/canvas | |
parent | 2c0154782f1e84e1bcf2517a910abe2ceab28ae6 (diff) | |
download | elgg-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.php | 4 | ||||
-rw-r--r-- | views/default/canvas/layouts/two_column_right_sidebar.php | 7 |
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 --> |