{#** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *#} {% extends '@PrestaShop/Admin/layout.html.twig' %} {% trans_default_domain "Admin.Advparameters.Feature" %} {% form_theme smartyForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %} {% form_theme debugModeForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %} {% form_theme optionalFeaturesForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %} {% form_theme combineCompressCacheForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %} {% form_theme mediaServersForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %} {% form_theme cachingForm '@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig' %} {% block content %} {{ form_start(smartyForm, {attr : {class: 'form'}, action: path('admin_performance_smarty_save') }) }} {% block perfs_form_smarty_cache %}

business_center {{ 'Smarty'|trans }}

{% block perfs_form_smarty_cache_form %} {{ form_widget(smartyForm) }} {% endblock %}
{% endblock %} {{ form_end(smartyForm) }} {{ form_start(debugModeForm, {attr : {class: 'form'}, action: path('admin_performance_debug_mode_save') }) }} {% block perfs_form_debug_mode %}

bug_report {{ 'Debug mode'|trans }}

{% block perfs_form_debug_mode_form %} {{ form_widget(debugModeForm) }} {% endblock %}
{% endblock %} {{ form_end(debugModeForm) }} {% block perfs_form_modules %}

bug_report {{ 'Modules'|trans }}

{% block perfs_form_modules_form %}
{% endblock %}
{% endblock %} {{ form_start(optionalFeaturesForm, {attr : {class: 'form'}, action: path('admin_performance_optional_features_save') }) }} {% block perfs_form_optional_features %}

extension {{ 'Optional features'|trans }}

{% block perfs_form_optional_features_form %} {{ form_widget(optionalFeaturesForm) }} {% endblock %}
{% endblock %} {{ form_end(optionalFeaturesForm) }} {{ form_start(combineCompressCacheForm, {attr : {class: 'form'}, action: path('admin_performance_combine_compress_cache_save') }) }} {% block perfs_form_ccc %}

zoom_out_map {{ 'CCC (Combine, Compress and Cache)'|trans }}

{% block perfs_form_ccc_form %} {{ form_widget(combineCompressCacheForm) }} {% endblock %}
{% endblock %} {{ form_end(combineCompressCacheForm) }} {{ form_start(mediaServersForm, {attr : {class: 'form'}, action: path('admin_performance_media_servers_save') }) }} {% block perfs_form_media_servers %}

link {{ 'Media servers (use only with CCC)'|trans }}

{% block perfs_form_media_servers_form %} {{ form_widget(mediaServersForm) }} {% endblock %}
{% endblock %} {{ form_end(mediaServersForm) }} {{ form_start(cachingForm, {attr : {class: 'form'}, action: path('admin_performance_caching_save') }) }} {% block perfs_form_caching %}

link {{ 'Caching'|trans }}

{% block perfs_form_caching_form %} {{ form_widget(cachingForm) }} {% endblock %} {{ include('@AdvancedParameters/memcache_servers.html.twig', {'form': memcacheForm}) }}
{% endblock %} {{ form_end(cachingForm) }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}