FEATURE: move recaptcha config into core application
This commit is contained in:
@@ -21,4 +21,8 @@ return [
|
||||
],
|
||||
"socialSites" => "Sociální sítě",
|
||||
"successfullySaved" => "Nastavení úspěšně změněno",
|
||||
'recaptcha' => 'reCaptcha',
|
||||
"recaptchaSecret" => "Application secret key",
|
||||
"recaptchaSiteKey" => "Site key",
|
||||
'useInvisibleRecaptcha' => 'Neviditelná reCAPTCHA'
|
||||
];
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user