aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/content.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements/content.php')
-rw-r--r--views/default/page_elements/content.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/views/default/page_elements/content.php b/views/default/page_elements/content.php
index ec0c3ec33..946237828 100644
--- a/views/default/page_elements/content.php
+++ b/views/default/page_elements/content.php
@@ -2,10 +2,14 @@
/**
* Elgg content wrapper
* This file holds the main content
- **/
+ */
-$content = isset($vars['body']) ? $vars['body'] : '';
+$body = elgg_get_array_value('body', $vars, '');
-echo '<div class="elgg-body">';
-echo $content;
-echo '</div>';
+echo <<<HTML
+<div id="elgg-page-body" class="elgg-body">
+ <div id="elgg_page-body-inner" class="elgg-inner elgg-center elgg-width-classic clearfix">
+ $body
+ </div>
+</div>
+HTML;