diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-24 11:38:44 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-24 11:38:44 +0000 |
commit | 2d9f0fcd613aa4f5bf6dd61fdf2d118cbe5e9f1f (patch) | |
tree | cb961e1057c5c0edc154307124ad6233d40174ce | |
parent | 947d6715e058a04cee1532cc2d11d0dee0e645c6 (diff) | |
download | elgg-2d9f0fcd613aa4f5bf6dd61fdf2d118cbe5e9f1f.tar.gz elgg-2d9f0fcd613aa4f5bf6dd61fdf2d118cbe5e9f1f.tar.bz2 |
Added friend guid handling to the registration form.
git-svn-id: https://code.elgg.org/elgg/trunk@2306 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | views/default/account/forms/register.php | 3 |
1 files changed, 2 insertions, 1 deletions
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'))) . "</p>";
?>
|