aboutsummaryrefslogtreecommitdiff
path: root/pages/entities
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 /pages/entities
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 'pages/entities')
-rw-r--r--pages/entities/index.php2
-rw-r--r--pages/entities/list.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/entities/index.php b/pages/entities/index.php
index bbd110689..a79e0314d 100644
--- a/pages/entities/index.php
+++ b/pages/entities/index.php
@@ -48,7 +48,7 @@ if ($entity = get_entity($guid)) {
// Display the page
if ($shell) {
- page_draw($title, $body);
+ echo elgg_view_page($title, $body);
} else {
header("Content-type: text/html; charset=UTF-8");
echo $title;
diff --git a/pages/entities/list.php b/pages/entities/list.php
index 0eb55286b..d43e6c25d 100644
--- a/pages/entities/list.php
+++ b/pages/entities/list.php
@@ -12,4 +12,4 @@ set_context('entities');
$body = elgg_view_layout('two_column_left_sidebar', $area1, $area2);
-page_draw("", $body); \ No newline at end of file
+echo elgg_view_page("", $body); \ No newline at end of file