FEATURE #1831: add recaptcha module

This commit is contained in:
Michal Kváček
2017-04-24 00:00:42 +02:00
parent e41c589225
commit 4a5c9ab1e6
7 changed files with 207 additions and 101 deletions
@@ -1,18 +0,0 @@
<label class="control-label">
@lang('admin/settings.recaptchaSiteKey')
</label>
<input class="form-control" type="text" name="recaptchaSiteKey" value="{{old('recaptchaSiteKey', isset($settings->recaptchaSiteKey) ? $settings->recaptchaSiteKey['val'] : '')}}" />
<label class="control-label">
@lang('admin/settings.recaptchaSecret')
</label>
<input class="form-control" type="text" name="recaptchaSecret" value="{{old('recaptchaSecret', isset($settings->recaptchaSecret) ? $settings->recaptchaSecret['val'] : '')}}" />
<label>
<input class="checkbox" value="1"
@if(old('useInvisibleRecaptcha', setting('useInvisibleRecaptcha'))) checked @endif name="useInvisibleRecaptcha" type="checkbox">
<span>@lang('admin/settings.useInvisibleRecaptcha')</span>
</label>