aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
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/messages
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/messages')
-rw-r--r--mod/messages/index.php2
-rw-r--r--mod/messages/read.php2
-rw-r--r--mod/messages/send.php2
-rw-r--r--mod/messages/sent.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/messages/index.php b/mod/messages/index.php
index 0f793a9f6..5f4a483be 100644
--- a/mod/messages/index.php
+++ b/mod/messages/index.php
@@ -46,4 +46,4 @@ $body = elgg_view_layout("one_column_with_sidebar", $area2);
// Draw page
-page_draw(sprintf(elgg_echo('messages:user'),$page_owner->name),$body);
+echo elgg_view_page(sprintf(elgg_echo('messages:user'),$page_owner->name),$body);
diff --git a/mod/messages/read.php b/mod/messages/read.php
index da6ed0032..2bbae1c71 100644
--- a/mod/messages/read.php
+++ b/mod/messages/read.php
@@ -51,4 +51,4 @@ $sidebar = elgg_view("messages/menu_options");
$body = elgg_view_layout("one_column_with_sidebar", $content, $sidebar);
// Display page
-page_draw(sprintf(elgg_echo('messages:message')),$body); \ No newline at end of file
+echo elgg_view_page(sprintf(elgg_echo('messages:message')),$body); \ No newline at end of file
diff --git a/mod/messages/send.php b/mod/messages/send.php
index c0a59b289..92563c91d 100644
--- a/mod/messages/send.php
+++ b/mod/messages/send.php
@@ -35,4 +35,4 @@ $area3 = elgg_view("messages/menu_options");
$body = elgg_view_layout("one_column_with_sidebar", $area2, $area3);
// Draw page
-page_draw(sprintf(elgg_echo('messages:send'),$page_owner->name),$body); \ No newline at end of file
+echo elgg_view_page(sprintf(elgg_echo('messages:send'),$page_owner->name),$body); \ No newline at end of file
diff --git a/mod/messages/sent.php b/mod/messages/sent.php
index 24aa721cf..e2b22502d 100644
--- a/mod/messages/sent.php
+++ b/mod/messages/sent.php
@@ -37,4 +37,4 @@ $area2 .= elgg_view("messages/forms/view",array('entity' => $messages, 'page_vie
$body = elgg_view_layout("one_column_with_sidebar", $area2);
// Draw page
-page_draw(sprintf(elgg_echo('messages:sentMessages'),$page_owner->name),$body);
+echo elgg_view_page(sprintf(elgg_echo('messages:sentMessages'),$page_owner->name),$body);