From: Roland Haeder Date: Wed, 16 Apr 2014 18:01:23 +0000 (+0200) Subject: Added missing elements for WDS66-based registration. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=00ae506e641834593874812309c33ed825a17cb7;p=mailer.git Added missing elements for WDS66-based registration. Signed-off-by: Roland Häder --- diff --git a/inc/libs/wernis_functions.php b/inc/libs/wernis_functions.php index 1db29a77bb..ad801cc17d 100644 --- a/inc/libs/wernis_functions.php +++ b/inc/libs/wernis_functions.php @@ -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']); diff --git a/templates/de/html/guest/guest_wernis_registration_form.tpl b/templates/de/html/guest/guest_wernis_registration_form.tpl index 706fc083b3..096c5db681 100644 --- a/templates/de/html/guest/guest_wernis_registration_form.tpl +++ b/templates/de/html/guest/guest_wernis_registration_form.tpl @@ -1,5 +1,5 @@
-{%form,formMethodPost,formNameRegister=modules.php?module=index&what=register%} +{%form,formMethodPost,formNameRegister=modules.php?module=index&what=register&provider=wernis&status=$content[status]&challenge=$content[challenge]&__challenge_response=$content[__challenge_response]%}