aboutsummaryrefslogtreecommitdiff
path: root/pages/account
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/account
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/account')
-rw-r--r--pages/account/forgotten_password.php2
-rw-r--r--pages/account/register.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php
index 546dbfd62..3fb629ef6 100644
--- a/pages/account/forgotten_password.php
+++ b/pages/account/forgotten_password.php
@@ -12,7 +12,7 @@ if (!isloggedin()) {
$area1 = elgg_view_title(elgg_echo("user:password:lost"));
$area2 = elgg_view("account/forms/forgotten_password");
$content = elgg_view_layout("one_column_with_sidebar", $area1 . $area2);
- page_draw(elgg_echo('user:password:lost'), $content);
+ echo elgg_view_page(elgg_echo('user:password:lost'), $content);
} else {
forward();
} \ No newline at end of file
diff --git a/pages/account/register.php b/pages/account/register.php
index 2500d11fc..2638ef561 100644
--- a/pages/account/register.php
+++ b/pages/account/register.php
@@ -38,7 +38,7 @@ if (!isloggedin()) {
$area2 = elgg_view("account/forms/register",
array('friend_guid' => $friend_guid, 'invitecode' => $invitecode));
- page_draw(elgg_echo("register"), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
+ echo elgg_view_page(elgg_echo("register"), elgg_view_layout("one_column_with_sidebar", $area1 . $area2));
// Otherwise, forward to the index page
} else {