diff options
Diffstat (limited to 'account')
-rw-r--r-- | account/forgotten_password.php | 4 | ||||
-rw-r--r-- | account/register.php | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/account/forgotten_password.php b/account/forgotten_password.php index 3895d506f..fea2bc03f 100644 --- a/account/forgotten_password.php +++ b/account/forgotten_password.php @@ -11,7 +11,9 @@ require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); if (!isloggedin()) { - page_draw( elgg_echo('user:password:lost'), elgg_view("account/forms/forgotten_password") ); + $area1 = elgg_view_title(elgg_echo("user:password:lost")); + $area2 = elgg_view("account/forms/forgotten_password"); + page_draw(elgg_echo('user:password:lost'), elgg_view_layout("one_column_with_sidebar", $area1 . $area2)); } else { forward(); }
\ No newline at end of file diff --git a/account/register.php b/account/register.php index f96494000..1a6109762 100644 --- a/account/register.php +++ b/account/register.php @@ -31,7 +31,10 @@ $invitecode = get_input('invitecode'); // If we're not logged in, display the registration page if (!isloggedin()) { - page_draw(elgg_echo('register'), elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode))); + $area1 = elgg_view_title(elgg_echo("register")); + $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)); + // Otherwise, forward to the index page } else { forward(); |