diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
commit | 9ce11d138f9868b872fe8206dbc3c2f44723605a (patch) | |
tree | 273a2aed762c62eea3ac329649b42326a2d91438 /views/default/layout/shells/content.php | |
parent | 76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff) | |
download | elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2 |
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layout/shells/content.php')
-rw-r--r-- | views/default/layout/shells/content.php | 8 |
1 files changed, 4 insertions, 4 deletions
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); |