aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:58:36 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 23:58:36 +0000
commit53b7f5e7715ea3c71f525df77d74641e5220a9a6 (patch)
tree72dfa7b6935e6dbfcef9f78a785ddb739c6d68b5 /mod/profile
parent6e51bcd2d33417f529da15baa5a413ebfc0ca993 (diff)
downloadelgg-53b7f5e7715ea3c71f525df77d74641e5220a9a6.tar.gz
elgg-53b7f5e7715ea3c71f525df77d74641e5220a9a6.tar.bz2
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
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/edit.php2
-rw-r--r--mod/profile/editicon.php2
-rw-r--r--mod/profile/index.php2
-rw-r--r--mod/profile/start.php2
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;
}