diff options
Diffstat (limited to 'views/default/layout')
-rw-r--r-- | views/default/layout/shells/content.php | 2 | ||||
-rw-r--r-- | views/default/layout/shells/one_sidebar.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/layout/shells/content.php b/views/default/layout/shells/content.php index 787445fd1..87d314b2c 100644 --- a/views/default/layout/shells/content.php +++ b/views/default/layout/shells/content.php @@ -48,7 +48,7 @@ $footer = elgg_view('layout/shells/content/footer', $params); $body = $nav . $header . $filter . $content . $footer; $params = array( - 'body' => $body, + 'content' => $body, 'sidebar' => $sidebar, ); if (isset($vars['class'])) { diff --git a/views/default/layout/shells/one_sidebar.php b/views/default/layout/shells/one_sidebar.php index 4c98c31d1..c61088641 100644 --- a/views/default/layout/shells/one_sidebar.php +++ b/views/default/layout/shells/one_sidebar.php @@ -5,7 +5,7 @@ * @package Elgg * @subpackage Core * - * @uses $vars['body'] Content HTML for the main column + * @uses $vars['content'] Content HTML for the main column * @uses $vars['sidebar'] Optional content that is displayed in the sidebar * @uses $vars['class'] Additional class to apply to layout */ @@ -30,8 +30,8 @@ if (isset($vars['class'])) { if (isset($vars['area1'])) { echo $vars['area1']; } - if (isset($vars['body'])) { - echo $vars['body']; + if (isset($vars['content'])) { + echo $vars['content']; } ?> </div> |