From adfce2d6fc1d8921e7933176f6d666bdf58ca0a2 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 22 Feb 2011 01:28:00 +0000 Subject: Refs #2950: update locations of layout elements + moved page/components/list/body into object/elements/list_body -- not sure if this will be the final location git-svn-id: http://code.elgg.org/elgg/trunk@8403 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/layouts/content.php | 6 +++--- views/default/page/layouts/widgets.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'views/default/page/layouts') diff --git a/views/default/page/layouts/content.php b/views/default/page/layouts/content.php index 69772985a..6c47da2b9 100644 --- a/views/default/page/layouts/content.php +++ b/views/default/page/layouts/content.php @@ -28,13 +28,13 @@ $nav = elgg_extract('nav', $vars, elgg_view('navigation/breadcrumbs')); if (isset($vars['header'])) { $vars['header_override'] = $vars['header']; } -$header = elgg_view('layout/shells/content/header', $vars); +$header = elgg_view('page/layouts/content/header', $vars); // allow page handlers to override the default filter if (isset($vars['filter'])) { $vars['filter_override'] = $vars['filter']; } -$filter = elgg_view('layout/shells/content/filter', $vars); +$filter = elgg_view('page/layouts/content/filter', $vars); // the all important content $content = elgg_extract('content', $vars, ''); @@ -43,7 +43,7 @@ $content = elgg_extract('content', $vars, ''); $footer_content = elgg_extract('footer', $vars, ''); $params = $vars; $params['content'] = $footer_content; -$footer = elgg_view('layout/shells/content/footer', $params); +$footer = elgg_view('page/layouts/content/footer', $params); $body = $nav . $header . $filter . $content . $footer; diff --git a/views/default/page/layouts/widgets.php b/views/default/page/layouts/widgets.php index eac9d43fc..342150f70 100644 --- a/views/default/page/layouts/widgets.php +++ b/views/default/page/layouts/widgets.php @@ -23,14 +23,14 @@ $widgets = elgg_get_widgets($owner->guid, $context); if (elgg_can_edit_widget_layout($context)) { if ($show_add_widgets) { - echo elgg_view('layout/shells/widgets/add_button'); + echo elgg_view('page/layouts/widgets/add_button'); } $params = array( 'widgets' => $widgets, 'context' => $context, 'exact_match' => $exact_match, ); - echo elgg_view('layout/shells/widgets/add_panel', $params); + echo elgg_view('page/layouts/widgets/add_panel', $params); } echo $vars['content']; -- cgit v1.2.3