aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms
diff options
context:
space:
mode:
authorIsmayil Khayredinov <ismayil.khayredinov@hypejunction.com>2012-02-10 14:14:13 +0100
committerIsmayil Khayredinov <ismayil.khayredinov@hypejunction.com>2012-02-10 14:14:13 +0100
commite37bf0e7a54e2b9c60cebef75ae5c735d3c4b731 (patch)
tree05a4e4abe6ad1cc803b553b4742492c7a3f97c35 /views/default/forms
parentada8737fa50d1aeaa33db8a1c1d740a6da449829 (diff)
downloadelgg-e37bf0e7a54e2b9c60cebef75ae5c735d3c4b731.tar.gz
elgg-e37bf0e7a54e2b9c60cebef75ae5c735d3c4b731.tar.bz2
passing to extending views
Diffstat (limited to 'views/default/forms')
-rw-r--r--views/default/forms/login.php2
-rw-r--r--views/default/forms/register.php4
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']));