aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
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/pages
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/pages')
-rw-r--r--mod/pages/edit.php2
-rw-r--r--mod/pages/history.php2
-rw-r--r--mod/pages/index.php2
-rw-r--r--mod/pages/new.php2
-rw-r--r--mod/pages/view.php2
-rw-r--r--mod/pages/welcome.php2
-rw-r--r--mod/pages/world.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/mod/pages/edit.php b/mod/pages/edit.php
index 30207a7b9..d404e0433 100644
--- a/mod/pages/edit.php
+++ b/mod/pages/edit.php
@@ -33,4 +33,4 @@ if ($pages && ($pages->canEdit())) {
$body = elgg_view_layout('one_column_with_sidebar', $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/pages/history.php b/mod/pages/history.php
index 9228a65a9..6070a3fd0 100644
--- a/mod/pages/history.php
+++ b/mod/pages/history.php
@@ -36,4 +36,4 @@ $sidebar = elgg_view('pages/sidebar/tree');
$body = elgg_view_layout('one_column_with_sidebar', $content, $sidebar);
-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/pages/index.php b/mod/pages/index.php
index 7e48c06d8..3cffbd292 100644
--- a/mod/pages/index.php
+++ b/mod/pages/index.php
@@ -51,4 +51,4 @@ $body .= $objects;
$body = elgg_view_layout('one_column_with_sidebar', $body);
// Finally draw the page
-page_draw($title, $body);
+echo elgg_view_page($title, $body);
diff --git a/mod/pages/new.php b/mod/pages/new.php
index 2674daf16..0d467d449 100644
--- a/mod/pages/new.php
+++ b/mod/pages/new.php
@@ -36,4 +36,4 @@ $area2 .= elgg_view("forms/pages/edit");
$body = elgg_view_layout('one_column_with_sidebar', $area2, $area1);
-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/pages/view.php b/mod/pages/view.php
index 6eb58ed8e..84b0ae55b 100644
--- a/mod/pages/view.php
+++ b/mod/pages/view.php
@@ -58,4 +58,4 @@ $sidebar = elgg_view('pages/sidebar/tree');
$body = elgg_view_layout('one_column_with_sidebar', $body, $sidebar);
// Finally draw the page
-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/pages/welcome.php b/mod/pages/welcome.php
index 41fa87aa1..4386c5228 100644
--- a/mod/pages/welcome.php
+++ b/mod/pages/welcome.php
@@ -32,4 +32,4 @@ $area2 .= elgg_view("forms/pages/editwelcome", array('entity' => $welcome_messag
$body = elgg_view_layout('one_column_with_sidebar', $area2, $area1);
-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/pages/world.php b/mod/pages/world.php
index f423bf8d5..ee9521ba4 100644
--- a/mod/pages/world.php
+++ b/mod/pages/world.php
@@ -45,4 +45,4 @@ $body .= $objects;
$body = elgg_view_layout('one_column_with_sidebar', $body);
// Finally draw the page
-page_draw($title, $body); \ No newline at end of file
+echo elgg_view_page($title, $body); \ No newline at end of file