diff options
Diffstat (limited to 'pages/account/register.php')
-rw-r--r-- | pages/account/register.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pages/account/register.php b/pages/account/register.php index cbbc40060..2500d11fc 100644 --- a/pages/account/register.php +++ b/pages/account/register.php @@ -29,16 +29,18 @@ if (!$CONFIG->allow_registration) { forward(); } -$friend_guid = (int) get_input('friend_guid',0); +$friend_guid = (int) get_input('friend_guid', 0); $invitecode = get_input('invitecode'); // If we're not logged in, display the registration page if (!isloggedin()) { $area1 = elgg_view_title(elgg_echo("register")); - $area2 = elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode)); + $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 + // Otherwise, forward to the index page } else { forward(); } |