aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pages/members/search.php2
-rw-r--r--views/default/layout/shells/content.php2
-rw-r--r--views/default/layout/shells/one_sidebar.php6
3 files changed, 5 insertions, 5 deletions
diff --git a/pages/members/search.php b/pages/members/search.php
index 1a0168660..f21f72fc4 100644
--- a/pages/members/search.php
+++ b/pages/members/search.php
@@ -30,7 +30,7 @@ if ($vars['search_type'] == 'tag') {
}
$params = array(
- 'body' => $content,
+ 'content' => $content,
'sidebar' => elgg_view('core/members/sidebar'),
);
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>