aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/body.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements/body.php')
-rw-r--r--views/default/page_elements/body.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/page_elements/body.php b/views/default/page_elements/body.php
new file mode 100644
index 000000000..6f7691693
--- /dev/null
+++ b/views/default/page_elements/body.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Elgg page body wrapper
+ *
+ * @uses $vars['body'] The HTML of the page body
+ */
+
+$body = elgg_get_array_value('body', $vars, '');
+
+echo <<<HTML
+<div class="elgg-page-body">
+ $body
+</div>
+HTML;