diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-02-10 07:02:43 -0800 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-02-10 07:02:43 -0800 |
commit | 8cbd381a47c8a577de23ce7f6b668eba470a0a1e (patch) | |
tree | 00d998ef564cb4b1823a517106ce562f7b1bf4b2 /views | |
parent | d26a5cb9cd5c49ec2c3fe94a1bbbc7f8b81cd010 (diff) | |
parent | e37bf0e7a54e2b9c60cebef75ae5c735d3c4b731 (diff) | |
download | elgg-8cbd381a47c8a577de23ce7f6b668eba470a0a1e.tar.gz elgg-8cbd381a47c8a577de23ce7f6b668eba470a0a1e.tar.bz2 |
Merge pull request #162 from hypeJunction/registration_form
Fixes #4364 passing $vars to extending views
Diffstat (limited to 'views')
-rw-r--r-- | views/default/forms/login.php | 2 | ||||
-rw-r--r-- | views/default/forms/register.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/forms/login.php b/views/default/forms/login.php index 6f6cc9906..d2c6e6221 100644 --- a/views/default/forms/login.php +++ b/views/default/forms/login.php @@ -20,7 +20,7 @@ <?php echo elgg_view('input/password', array('name' => 'password')); ?> </div> -<?php echo elgg_view('login/extend'); ?> +<?php echo elgg_view('login/extend', $vars); ?> <div class="elgg-foot"> <label class="mtm float-alt"> diff --git a/views/default/forms/register.php b/views/default/forms/register.php index 411152205..75ecd3450 100644 --- a/views/default/forms/register.php +++ b/views/default/forms/register.php @@ -66,10 +66,10 @@ if (elgg_is_sticky_form('register')) { <?php // view to extend to add more fields to the registration form -echo elgg_view('register/extend'); +echo elgg_view('register/extend', $vars); // Add captcha hook -echo elgg_view('input/captcha'); +echo elgg_view('input/captcha', $vars); echo '<div class="elgg-foot">'; echo elgg_view('input/hidden', array('name' => 'friend_guid', 'value' => $vars['friend_guid'])); |