From ff4779ddb3ef005553187e4486d4d775220d8b8f Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 9 Mar 2010 09:39:34 +0000 Subject: 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 --- mod/sitepages/sitepages_functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/sitepages') 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; } -- cgit v1.2.3