diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 09:39:34 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-09 09:39:34 +0000 |
commit | ff4779ddb3ef005553187e4486d4d775220d8b8f (patch) | |
tree | 7765c79ad2cffd028dd5da9d1db68ca176faf9a3 /mod/sitepages | |
parent | 9bb993778bc7a0c6f17673e509ed147202e69ee7 (diff) | |
download | elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.gz elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.bz2 |
Updated new page canvases (and calls to elgg_view_layout) so that empty vars are not required.
git-svn-id: http://code.elgg.org/elgg/trunk@5316 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages')
-rw-r--r-- | mod/sitepages/sitepages_functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php index 0341b590b..000a5eb1a 100644 --- a/mod/sitepages/sitepages_functions.php +++ b/mod/sitepages/sitepages_functions.php @@ -86,7 +86,7 @@ function sitepages_get_edit_section_content($page_type) { $form .= elgg_view($view, array('page_type' => $page_type));
$body = $title . $menu . $form;
- $content = elgg_view_layout('one_column_with_sidebar', '', $body, $keywords);
+ $content = elgg_view_layout('one_column_with_sidebar', $body, $keywords);
return $content;
}
@@ -107,7 +107,7 @@ function sitepages_get_page_content($page_type) { $body .= elgg_view('page_elements/elgg_content', array('body' => elgg_echo('sitepages:notset')));
}
- $content = elgg_view_layout('one_column_with_sidebar', '', $body);
+ $content = elgg_view_layout('one_column_with_sidebar', $body);
return $content;
}
|