From 9ce11d138f9868b872fe8206dbc3c2f44723605a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:05:45 +0000 Subject: Fixes #2808: elgg_get_array_value => elgg_extract git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/shells/content.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'views/default/layout/shells/content.php') diff --git a/views/default/layout/shells/content.php b/views/default/layout/shells/content.php index 87d314b2c..69772985a 100644 --- a/views/default/layout/shells/content.php +++ b/views/default/layout/shells/content.php @@ -16,13 +16,13 @@ */ // give plugins an opportunity to add to content sidebars -$sidebar_content = elgg_get_array_value('sidebar', $vars, ''); +$sidebar_content = elgg_extract('sidebar', $vars, ''); $params = $vars; $params['content'] = $sidebar_content; $sidebar = elgg_view('layout/shells/content/sidebar', $params); // navigation defaults to breadcrumbs -$nav = elgg_get_array_value('nav', $vars, elgg_view('navigation/breadcrumbs')); +$nav = elgg_extract('nav', $vars, elgg_view('navigation/breadcrumbs')); // allow page handlers to override the default header if (isset($vars['header'])) { @@ -37,10 +37,10 @@ if (isset($vars['filter'])) { $filter = elgg_view('layout/shells/content/filter', $vars); // the all important content -$content = elgg_get_array_value('content', $vars, ''); +$content = elgg_extract('content', $vars, ''); // optional footer for main content area -$footer_content = elgg_get_array_value('footer', $vars, ''); +$footer_content = elgg_extract('footer', $vars, ''); $params = $vars; $params['content'] = $footer_content; $footer = elgg_view('layout/shells/content/footer', $params); -- cgit v1.2.3