From: Roland Haeder Date: Wed, 16 Apr 2014 18:07:34 +0000 (+0200) Subject: Some improvements: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bcd89fab50d3d104f311585c3fbd75210eb77c77;p=mailer.git Some improvements: - No need for 'status' in $content because it is always '1' at this point - Fixed form name and submit button to allow isFormSent() call catch it Signed-off-by: Roland Häder --- diff --git a/inc/libs/wernis_functions.php b/inc/libs/wernis_functions.php index ad801cc17d..b17121d365 100644 --- a/inc/libs/wernis_functions.php +++ b/inc/libs/wernis_functions.php @@ -545,7 +545,6 @@ function doWernisFinishUserRegistration ($challenge, $challengeResponse, $status // 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']['status'] = bigintval(getRequestElement('status')); $return['mapped_data']['challenge'] = getRequestElement('challenge'); $return['mapped_data']['__challenge_response'] = getRequestElement('__challenge_response'); diff --git a/templates/de/html/guest/guest_wernis_registration_form.tpl b/templates/de/html/guest/guest_wernis_registration_form.tpl index 096c5db681..8fed6a763b 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&provider=wernis&status=$content[status]&challenge=$content[challenge]&__challenge_response=$content[__challenge_response]%} +{%form,formMethodPost,formNameWernis_register=modules.php?module=index&what=register&provider=wernis&status=1&challenge=$content[challenge]&__challenge_response=$content[__challenge_response]%} @@ -160,7 +160,7 @@