aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/content.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-04 02:19:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-04 02:19:44 +0000
commit719146b6449c1241f70caed2ddb520ce8fbd6da3 (patch)
treecee176853fc12b2e00e207be35a6c46d2d8a7b9e /views/default/page_elements/content.php
parent82ed2fe0bea0c12f19b261e0e1cf8ad9cb2ba668 (diff)
downloadelgg-719146b6449c1241f70caed2ddb520ce8fbd6da3.tar.gz
elgg-719146b6449c1241f70caed2ddb520ce8fbd6da3.tar.bz2
striking balance between all classes and giving ids on major layout elements for easy css-only theming
git-svn-id: http://code.elgg.org/elgg/trunk@7524 36083f99-b078-4883-b0ff-0f9b5a30f544
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;