Diff Viewer
Unified
Side by Side
3 lines context
5 lines context
10 lines context
Full file
Swap
Clear
Save & Share
Original
{extends file="parent:frontend/forms/form-elements.tpl"} {* Google reCAPTCHA: Markup *} {block name="frontend_forms_form_elements_form_captcha"} {if $mstConfig.showRecaptchaForForms && $mstConfig.recaptchaAPIKey} {if $mstConfig.recaptchaVersion == '3'} {* reCAPTCHA Version 3 *} {$smarty.block.parent} <input type="hidden" name="g-recaptcha-response"/> {else} {if $mstConfig.useInvisibleRecaptcha} {* reCAPTCHA Version 2 Invisible *} {* handled below in block 'frontend_forms_form_elements_form_submit' *} {$smarty.block.parent} {else} {* reCAPTCHA Version 2 Visible *} {$smarty.block.parent} <div class="panel"> <div class="panel--body is--wide"> <div class="g-recaptcha" data-sitekey="{$mstConfig.recaptchaAPIKey}"></div> </div> </div> {/if} {/if} {if $reCaptchaErrorForms} {include file="frontend/index/snippets/recaptcha_error.tpl"} {/if} {else} {$smarty.block.parent} {/if} {/block} {block name="frontend_forms_form_elements_form_submit"} {if $mstConfig.showRecaptchaForForms && $mstConfig.recaptchaAPIKey} {if $mstConfig.recaptchaVersion == '3'} {* reCAPTCHA Version 3 *} <div class="buttons"> <input type="hidden" name="Submit" value="1" /> <button class="g-recaptcha mst--submit-invisible-recaptcha-form btn is--primary is--icon-right" type="submit" name="Submit" value="submit" data-sitekey="{$mstConfig.recaptchaAPIKey}" data-callback="onSubmitInvisibleRecaptchaForm"> {s name='SupportActionSubmit' namespace='frontend/forms/elements'}{/s} <i class="icon--arrow-right"></i> </button> </div> {else} {if $mstConfig.useInvisibleRecaptcha} {* reCAPTCHA Version 2 Invisible *} <div class="buttons"> <input type="hidden" name="Submit" value="1" /> <button class="g-recaptcha mst--submit-invisible-recaptcha-form btn is--primary is--icon-right" type="submit" name="Submit" value="submit" data-sitekey="{$mstConfig.recaptchaAPIKey}" data-callback="onSubmitInvisibleRecaptchaForm"> {s name='SupportActionSubmit' namespace='frontend/forms/elements'}{/s} <i class="icon--arrow-right"></i> </button> </div> {else} {* reCAPTCHA Version 2 Visible *} {* handled above in block 'frontend_forms_form_elements_form_captcha' *} {$smarty.block.parent} {/if} {/if} {else} {$smarty.block.parent} {/if} {/block}
Modified
{extends file="parent:frontend/forms/form-elements.tpl"} {* Google reCAPTCHA: Markup *} {block name="frontend_forms_form_elements_form_captcha"} {if $mstConfig.showRecaptchaForForms && $mstConfig.recaptchaAPIKey} {if $mstConfig.recaptchaVersion == '3'} {* reCAPTCHA Version 3 *} {$smarty.block.parent} <input type="hidden" name="g-recaptcha-response"/> {else} {if $mstConfig.useInvisibleRecaptcha} {* reCAPTCHA Version 2 Invisible *} {* handled below in block 'frontend_forms_form_elements_form_submit' *} {$smarty.block.parent} {else} {* reCAPTCHA Version 2 Visible *} {$smarty.block.parent} <div class="panel"> <div class="panel--body is--wide"> <div class="g-recaptcha" data-sitekey="{$mstConfig.recaptchaAPIKey}"></div> </div> </div> {/if} {/if} {if $reCaptchaErrorForms} {include file="frontend/index/snippets/recaptcha_error.tpl"} {/if} {else} {$smarty.block.parent} {/if} {/block} {block name="frontend_forms_form_elements_form_submit"} {if $sSupport.attribute.oncoWithdrawalIsWithdrawalForm} {capture name="mstSubmitButtonText"}{s name='FormButton' namespace='frontend/plugins/onco_withdrawal'}Confirm withdrawal{/s}{/capture} {else} {capture name="mstSubmitButtonText"}{s name='SupportActionSubmit' namespace='frontend/forms/elements'}{/s}{/capture} {/if} {if $mstConfig.showRecaptchaForForms && $mstConfig.recaptchaAPIKey} {if $mstConfig.recaptchaVersion == '3'} {* reCAPTCHA Version 3 *} <div class="buttons"> <input type="hidden" name="Submit" value="1" /> <button class="g-recaptcha mst--submit-invisible-recaptcha-form btn is--primary is--icon-right" type="submit" name="Submit" value="submit" data-sitekey="{$mstConfig.recaptchaAPIKey}" data-callback="onSubmitInvisibleRecaptchaForm"> {$smarty.capture.mstSubmitButtonText} <i class="icon--arrow-right"></i> </button> </div> {else} {if $mstConfig.useInvisibleRecaptcha} {* reCAPTCHA Version 2 Invisible *} <div class="buttons"> <input type="hidden" name="Submit" value="1" /> <button class="g-recaptcha mst--submit-invisible-recaptcha-form btn is--primary is--icon-right" type="submit" name="Submit" value="submit" data-sitekey="{$mstConfig.recaptchaAPIKey}" data-callback="onSubmitInvisibleRecaptchaForm"> {$smarty.capture.mstSubmitButtonText} <i class="icon--arrow-right"></i> </button> </div> {else} {* reCAPTCHA Version 2 Visible *} {* handled above in block 'frontend_forms_form_elements_form_captcha' *} {$smarty.block.parent} {/if} {/if} {else} {$smarty.block.parent} {/if} {/block}
Paste text in both panes to see the diff