From 53b7f5e7715ea3c71f525df77d74641e5220a9a6 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 23:58:36 +0000 Subject: Fixes #2360: page_draw => elgg_view_page in core + bundled plugins git-svn-id: http://code.elgg.org/elgg/trunk@7210 36083f99-b078-4883-b0ff-0f9b5a30f544 --- pages/dashboard/index.php | 2 +- pages/dashboard/latest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pages/dashboard') diff --git a/pages/dashboard/index.php b/pages/dashboard/index.php index 6fbbec035..60a3bd17c 100644 --- a/pages/dashboard/index.php +++ b/pages/dashboard/index.php @@ -20,4 +20,4 @@ $intro_message = elgg_view('dashboard/blurb'); // Try and get the user from the username and set the page body accordingly $body = elgg_view_layout('widgets', "", "", $intro_message); -page_draw($title, $body); \ No newline at end of file +echo elgg_view_page($title, $body); \ No newline at end of file diff --git a/pages/dashboard/latest.php b/pages/dashboard/latest.php index 3c81207f0..6dab598a1 100644 --- a/pages/dashboard/latest.php +++ b/pages/dashboard/latest.php @@ -24,4 +24,4 @@ if (is_plugin_enabled('riverdashboard')) { $content = "Riverdashboard not loaded"; } $content = elgg_view_layout('one_column_with_sidebar', $title . $content); -page_draw(elgg_echo('content:latest'), $content); +echo elgg_view_page(elgg_echo('content:latest'), $content); -- cgit v1.2.3