Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/mautic.corals.io/app/bundles/FormBundle/Resources/views/Field/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mautic.corals.io/app/bundles/FormBundle/Resources/views/Field/captcha.html.twig
{% set required = true %}
{% set type = 'text' %}

{% if field.properties.captcha is not defined or field.properties.captcha is empty %}
    {% set required = false %}
    {% if inForm is not defined or inForm is empty or false == inForm %}
        {# Use as a honeypot #}
        {% set field = field|merge({
                'containerAttributes': field.containerAttributes ~ ' style="display:none;"',
        }) %}
    {% else %}
        {# Hide the input #}
        {% set type = 'hidden' %}
    {% endif %}
{% endif %}

{#
    This field relies on the `text.html.twig` implementation.

    Mautic tries to render `@themes/{{theme}}/html/MauticFormBundle/Field/text.html.twig`
    and falls back to the standard template '@MauticForm/Field/text.html.twig'.

    This eliminates the need to copy twig templates into themes that just rely on one base template file.
#}
{{- include([theme|default('') ~ 'text.html.twig', '@MauticForm/Field/text.html.twig'], {
        'field': field,
        'fields': fields|default([]),
        'inForm': inForm|default(false),
        'type': type,
        'id': id,
        'required': required,
        'formId': formId|default(0),
        'formName': formName|default(''),
}) -}}

Spamworldpro Mini