|
5 | 5 | * See COPYING.txt for license details. |
6 | 6 | */ |
7 | 7 | --> |
8 | | -<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
9 | | - xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> |
| 8 | +<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> |
10 | 9 | <system> |
11 | 10 | <tab id="security" translate="label" sortOrder="200"> |
12 | 11 | <label>Security</label> |
13 | 12 | </tab> |
14 | 13 |
|
15 | | - <section id="recaptcha_backend" translate="label" type="text" sortOrder="600" showInDefault="1" |
16 | | - showInWebsite="0" showInStore="0"> |
| 14 | + <section id="recaptcha" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="600"> |
17 | 15 | <class>separator-top</class> |
18 | | - <label>Google reCAPTCHA Admin Panel</label> |
| 16 | + <label>Google reCAPTCHA</label> |
19 | 17 | <tab>security</tab> |
20 | 18 | <resource>Magento_ReCaptchaUi::config</resource> |
| 19 | + <group id="api" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="10"> |
| 20 | + <label>API</label> |
| 21 | + <field id="url" type="select" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> |
| 22 | + <label>API URL</label> |
| 23 | + <source_model>Magento\ReCaptchaAdminUi\Model\OptionSource\ApiUrl</source_model> |
| 24 | + </field> |
| 25 | + </group> |
| 26 | + </section> |
21 | 27 |
|
22 | | - <group id="type_for" translate="label" type="text" sortOrder="1000" showInDefault="1" showInWebsite="0" |
| 28 | + <section id="recaptcha_backend" translate="label" sortOrder="600" showInDefault="1" showInWebsite="0" showInStore="0"> |
| 29 | + <class>separator-top</class> |
| 30 | + <label>Google reCAPTCHA Admin Panel</label> |
| 31 | + <tab>security</tab> |
| 32 | + <resource>Magento_ReCaptchaUi::config</resource> |
| 33 | + <group id="type_for" translate="label" sortOrder="1000" showInDefault="1" showInWebsite="0" |
23 | 34 | showInStore="0"> |
24 | 35 | <label>Admin Panel</label> |
25 | | - <field id="recaptcha_backend_info_heading" translate="label" sortOrder="100" showInDefault="1" |
26 | | - showInWebsite="0" showInStore="0" > |
| 36 | + <field id="recaptcha_backend_info_heading" translate="label" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0" > |
27 | 37 | <frontend_model>Magento\ReCaptchaAdminUi\Block\Adminhtml\System\Config\Form\Field\Notice</frontend_model> |
28 | 38 | </field> |
29 | 39 | </group> |
30 | 40 |
|
31 | | - <group id="failure_messages" translate="label" type="text" sortOrder="950" showInDefault="1" showInWebsite="1" |
32 | | - showInStore="1"> |
| 41 | + <group id="failure_messages" translate="label" sortOrder="950" showInDefault="1" showInWebsite="1" showInStore="1"> |
33 | 42 | <label>reCAPTCHA Failure Messages</label> |
34 | | - |
35 | 43 | <field id="validation_failure_message" translate="label" type="textarea" sortOrder="10" showInDefault="1" |
36 | 44 | showInWebsite="0" showInStore="0" canRestore="1"> |
37 | 45 | <label>reCAPTCHA Validation Failure Message</label> |
38 | 46 | </field> |
39 | | - |
40 | 47 | <field id="technical_failure_message" translate="label" type="textarea" sortOrder="20" showInDefault="1" |
41 | 48 | showInWebsite="0" showInStore="0" canRestore="1"> |
42 | 49 | <label>reCAPTCHA Technical Failure Message</label> |
43 | 50 | </field> |
44 | 51 | </group> |
45 | 52 | </section> |
46 | 53 |
|
47 | | - <section id="recaptcha_frontend" translate="label" type="text" sortOrder="700" showInDefault="1" |
48 | | - showInWebsite="1" showInStore="1"> |
| 54 | + <section id="recaptcha_frontend" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="700"> |
49 | 55 | <class>separator-top</class> |
50 | 56 | <label>Google reCAPTCHA Storefront</label> |
51 | 57 | <tab>security</tab> |
52 | 58 | <resource>Magento_ReCaptchaUi::config</resource> |
53 | | - |
54 | | - <group id="type_for" translate="label" type="text" sortOrder="1000" showInDefault="1" showInWebsite="1" |
55 | | - showInStore="0"> |
| 59 | + <group id="type_for" translate="label" showInDefault="1" showInWebsite="1" showInStore="0" sortOrder="1000"> |
56 | 60 | <label>Storefront</label> |
57 | | - <field id="recaptcha_frontend_info_heading" translate="label" sortOrder="100" showInDefault="1" |
58 | | - showInWebsite="1" showInStore="0"> |
| 61 | + <field id="recaptcha_frontend_info_heading" translate="label" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="0"> |
59 | 62 | <frontend_model>Magento\ReCaptchaAdminUi\Block\Adminhtml\System\Config\Form\Field\Notice</frontend_model> |
60 | 63 | </field> |
61 | 64 | </group> |
|
0 commit comments