aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
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/bookmarks
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/bookmarks')
-rw-r--r--mod/bookmarks/bookmarklet.php2
-rw-r--r--mod/bookmarks/start.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/bookmarks/bookmarklet.php b/mod/bookmarks/bookmarklet.php
index ecfe61ae5..8e30f52dd 100644
--- a/mod/bookmarks/bookmarklet.php
+++ b/mod/bookmarks/bookmarklet.php
@@ -32,4 +32,4 @@ $area3 = elgg_view("bookmarks/bookmarklet");
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3);
// Draw it
-echo page_draw(elgg_echo('bookmarks:bookmarklet'),$body); \ No newline at end of file
+echo elgg_view_page(elgg_echo('bookmarks:bookmarklet'),$body); \ No newline at end of file
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index e65f7d179..92ee7e421 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -96,7 +96,7 @@ function bookmarks_page_handler($page) {
$content = elgg_echo("bookmarks:unknown_user");
$body = elgg_view_layout('one_column_with_sidebar', $content, $sidebar);
- echo page_draw(sprintf(elgg_echo("bookmarks:user"), elgg_get_page_owner()->name), $body);
+ echo elgg_view_page(sprintf(elgg_echo("bookmarks:user"), elgg_get_page_owner()->name), $body);
return FALSE;
}
@@ -240,7 +240,7 @@ function bookmarks_page_handler($page) {
$content = $header . $content;
$body = elgg_view_layout('one_column_with_sidebar', $content, $sidebar);
- echo page_draw(sprintf(elgg_echo("bookmarks:user"), elgg_get_page_owner()->name), $body);
+ echo elgg_view_page(sprintf(elgg_echo("bookmarks:user"), elgg_get_page_owner()->name), $body);
return TRUE;
}