aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/one_sidebar.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-16 02:16:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-16 02:16:45 +0000
commit2c443c0f84c10b19324f6be584e46efe71d0bf84 (patch)
tree4dd5bf2727e1b794515aac2bae039eb6e85f8ce2 /views/default/layout/shells/one_sidebar.php
parentfcc68792fd00a2778746f6813efd0a5d879584d6 (diff)
downloadelgg-2c443c0f84c10b19324f6be584e46efe71d0bf84.tar.gz
elgg-2c443c0f84c10b19324f6be584e46efe71d0bf84.tar.bz2
layout views should use 'content' to support alternate viewtypes (like rss) - updated the one_sidebar view
git-svn-id: http://code.elgg.org/elgg/trunk@7641 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/shells/one_sidebar.php')
-rw-r--r--views/default/layout/shells/one_sidebar.php6
1 files changed, 3 insertions, 3 deletions
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>