From 2d9f0fcd613aa4f5bf6dd61fdf2d118cbe5e9f1f Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 24 Oct 2008 11:38:44 +0000 Subject: Added friend guid handling to the registration form. git-svn-id: https://code.elgg.org/elgg/trunk@2306 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/account/forms/register.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php index 1352212b8..b099ce8bf 100644 --- a/views/default/account/forms/register.php +++ b/views/default/account/forms/register.php @@ -28,7 +28,8 @@ if ($admin_option) $form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); - + + $form_body .= elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => $vars['friend_guid'])); $form_body .= elgg_view('input/hidden', array('internalname' => 'action', 'value' => 'register')); $form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "

"; ?> -- cgit v1.2.3