Rajout du module ReCaptcha

This commit is contained in:
2021-02-09 15:09:14 +01:00
parent de56924f04
commit aa4a44aea7
22 changed files with 713 additions and 15 deletions

View File

@@ -91,6 +91,7 @@
<div class="form-group group-btn">
<div class="control-btn">
{hook name="recaptcha.check"}
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Send"}</button>
</div>
</div><!--/.form-group-->

View File

@@ -309,25 +309,11 @@
</div>
</fieldset>
{form_field field="newsletter"}
<div class="form-group group-newsletter{if $error} has-error{/if}">
<div class="control-input col-xs-11 col-sm-9 col-xs-offset-1 col-md-offset-3">
<div class="checkbox">
<label class="control-label" for="{$label_attr.for}">
<input type="checkbox" name="{$name}" id="{$label_attr.for}" value="{$value}"{if $checked} checked{/if} {if $required} aria-required="true" required{/if}>{$label}
</label>
{if $error }
<span class="help-block">{$message}</span>
{/if}
</div>
</div>
</div><!--/.form-group-->
{/form_field}
{hook name="register.form-bottom"}
<div class="form-group group-btn">
<div class="control-btn col-sm-5 col-sm-offset-3">
{hook name="recaptcha.check"}
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Register"}</button>
</div>
</div><!--/.form-group-->