{#** * 2007-2019 PrestaShop and Contributors * * 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.txt. * 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://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#} {% trans_default_domain "Admin.Advparameters.Feature" %} {% block perfs_memcache_servers %}
{{ form_errors(form.memcache_ip) }} {{ form_widget(form.memcache_ip) }}
{{ form_errors(form.memcache_port) }} {{ form_widget(form.memcache_port) }}
{{ form_errors(form.memcache_weight) }} {{ form_widget(form.memcache_weight) }}
{{ form_rest(form) }}
{% for server in servers %} {% endfor %}
{{ 'ID'|trans({}, 'Admin.Global') }} {{ 'IP Address'|trans }} {{ 'Port'|trans }} {{ 'Weight'|trans }}  
{{ server.id_memcached_server }} {{ server.ip }} {{ server.port }} {{ server.weight }} {% set removeMsg = 'Do you really want to remove the server %serverIp%:%serverPort% ?'|trans({'%serverIp%': server.ip, '%serverPort%': server.port}, 'Admin.Advparameters.Notification')|json_encode|raw %} remove_circle {{ 'Remove'|trans({}, 'Admin.Actions') }}
{% endblock %}