]> git.mxchange.org Git - mailer.git/commitdiff
Added missing elements for WDS66-based registration.
authorRoland Haeder <roland@mxchange.org>
Wed, 16 Apr 2014 18:01:23 +0000 (20:01 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 16 Apr 2014 18:01:23 +0000 (20:01 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/libs/wernis_functions.php
templates/de/html/guest/guest_wernis_registration_form.tpl

index 1db29a77bbf6f4e95fd77b053987dcfb4e28da7c..ad801cc17db010466014effe03b0b6ebe1f7837f 100644 (file)
@@ -543,8 +543,11 @@ function doWernisFinishUserRegistration ($challenge, $challengeResponse, $status
                        $return['mapped_data'] = runFilterChain('register_must_fillout', $return['mapped_data']);
 
                        // Add missing elements
-                       $return['mapped_data']['gender'] = NULL;
-                       $return['mapped_data']['birthday_selection'] = generateDayMonthYearSelectionBox($return['mapped_data']['birth_day'], $return['mapped_data']['birth_month'], $return['mapped_data']['birth_year']);
+                       $return['mapped_data']['gender']               = NULL;
+                       $return['mapped_data']['birthday_selection']   = generateDayMonthYearSelectionBox($return['mapped_data']['birth_day'], $return['mapped_data']['birth_month'], $return['mapped_data']['birth_year']);
+                       $return['mapped_data']['status']               = bigintval(getRequestElement('status'));
+                       $return['mapped_data']['challenge']            = getRequestElement('challenge');
+                       $return['mapped_data']['__challenge_response'] = getRequestElement('__challenge_response');
 
                        // Display form
                        loadTemplate('guest_wernis_registration_form', FALSE, $return['mapped_data']);
index 706fc083b311e41d84142fd108c251034dc6f8dd..096c5db68144d5e6b9724e009ff1807299efa48e 100644 (file)
@@ -1,5 +1,5 @@
 <div align="center">
-{%form,formMethodPost,formNameRegister=modules.php?module=index&amp;what=register%}
+{%form,formMethodPost,formNameRegister=modules.php?module=index&amp;what=register&amp;provider=wernis&status=$content[status]&amp;challenge=$content[challenge]&amp;__challenge_response=$content[__challenge_response]%}
 <input type="hidden" name="registration_provider" value="register" />
 <table border="0" cellspacing="0" cellpadding="0" width="640" class="table dashed">
        <tr>