diff options
Diffstat (limited to 'mod/profile')
-rw-r--r-- | mod/profile/edit.php | 2 | ||||
-rw-r--r-- | mod/profile/editicon.php | 2 | ||||
-rw-r--r-- | mod/profile/index.php | 2 | ||||
-rw-r--r-- | mod/profile/start.php | 2 |
4 files changed, 4 insertions, 4 deletions
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; } |