question webform

This commit is contained in:
2022-01-07 15:01:18 +01:00
parent 0e36569b93
commit e7dfa7f9bc
3 changed files with 37 additions and 5 deletions
+12 -4
View File
@@ -18,12 +18,20 @@ title: Question
description: 'Question for FAQ'
category: ''
elements: |-
processed_text:
'#type': processed_text
'#text': |
<p>Pour déposer une question, veuillez remplir le formulaire ci-contre. Les champs marqués (*) sont obligatoires.<br />
Votre offre de service devra être revue par un administrateur avant publication.</p>
'#format': wysiwyg
couriel:
'#type': webform_email_confirm
'#type': email
'#title': Couriel
'#required': true
question:
'#type': textarea
'#title': Question
'#required': true
actions:
'#type': webform_actions
'#title': 'Submit button(s)'
@@ -130,9 +138,9 @@ settings:
draft_loaded_message: ''
draft_pending_single_message: ''
draft_pending_multiple_message: ''
confirmation_type: page
confirmation_type: modal
confirmation_title: ''
confirmation_message: ''
confirmation_message: 'Votre question a bien &eacute;t&eacute; envoy&eacute;e.'
confirmation_url: ''
confirmation_attributes: { }
confirmation_back: true
@@ -223,7 +231,7 @@ handlers:
- completed
to_mail: julie.andre@popsu.archi.fr
to_options: { }
cc_mail: ''
cc_mail: dev@figureslibres.io
cc_options: { }
bcc_mail: ''
bcc_options: { }
+24
View File
@@ -0,0 +1,24 @@
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php7.c>
php_flag engine off
</IfModule>