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 --- mod/profile/edit.php | 2 +- mod/profile/editicon.php | 2 +- mod/profile/index.php | 2 +- mod/profile/start.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/profile') diff --git a/mod/profile/edit.php b/mod/profile/edit.php index 97b656a5c..c6fc154ac 100644 --- a/mod/profile/edit.php +++ b/mod/profile/edit.php @@ -37,4 +37,4 @@ set_context('profile_edit'); $body = elgg_view_layout("one_column_with_sidebar", $area1); // Draw the page -page_draw(elgg_echo("profile:edit"),$body); +echo elgg_view_page(elgg_echo("profile:edit"),$body); diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php index 9b0a654d2..e3adef13f 100644 --- a/mod/profile/editicon.php +++ b/mod/profile/editicon.php @@ -36,4 +36,4 @@ set_context('profile_edit'); $body = elgg_view_layout("one_column_with_sidebar", $area1); // Draw the page -page_draw(elgg_echo("profile:editicon"), $body); +echo elgg_view_page(elgg_echo("profile:editicon"), $body); diff --git a/mod/profile/index.php b/mod/profile/index.php index 22393df71..bf47d670c 100644 --- a/mod/profile/index.php +++ b/mod/profile/index.php @@ -46,4 +46,4 @@ if ($user = get_user_by_username($username)) { $title = elgg_echo("profile"); } $body = elgg_view_layout("one_column", $body); -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/mod/profile/start.php b/mod/profile/start.php index 3b97001fb..6cebf88c0 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -160,7 +160,7 @@ function profile_page_handler($page) { break; } - page_draw($title, $content); + echo elgg_view_page($title, $content); return; } -- cgit v1.2.3