Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,294 @@
<?php
/* @PrestaShop/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig */
class __TwigTemplate_fd166126b60e72a38883c64431aa35ba1155a70859d9eecd04c0690a80fe7004 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'customer_preferences_general' => array($this, 'block_customer_preferences_general'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_de4766d03e71c4752c9e53f36aa12a7205d83cb333e326226a148cf73be118d6 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_de4766d03e71c4752c9e53f36aa12a7205d83cb333e326226a148cf73be118d6->enter($__internal_de4766d03e71c4752c9e53f36aa12a7205d83cb333e326226a148cf73be118d6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig"));
$__internal_8068567b8736213b8ee2570566e54a7a753a4d1df185707cd087490b38f57b69 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_8068567b8736213b8ee2570566e54a7a753a4d1df185707cd087490b38f57b69->enter($__internal_8068567b8736213b8ee2570566e54a7a753a4d1df185707cd087490b38f57b69_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig"));
// line 25
echo "
";
// line 27
$context["ps"] = $this->loadTemplate("@PrestaShop/Admin/macros.html.twig", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig", 27);
// line 28
echo "
";
// line 29
$this->displayBlock('customer_preferences_general', $context, $blocks);
$__internal_de4766d03e71c4752c9e53f36aa12a7205d83cb333e326226a148cf73be118d6->leave($__internal_de4766d03e71c4752c9e53f36aa12a7205d83cb333e326226a148cf73be118d6_prof);
$__internal_8068567b8736213b8ee2570566e54a7a753a4d1df185707cd087490b38f57b69->leave($__internal_8068567b8736213b8ee2570566e54a7a753a4d1df185707cd087490b38f57b69_prof);
}
public function block_customer_preferences_general($context, array $blocks = array())
{
$__internal_a50337b83573247818a8cb617c60abe4d0885cd66757384778656db19d1cbcb0 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_a50337b83573247818a8cb617c60abe4d0885cd66757384778656db19d1cbcb0->enter($__internal_a50337b83573247818a8cb617c60abe4d0885cd66757384778656db19d1cbcb0_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "customer_preferences_general"));
$__internal_4c06b292aef85b4310dae01997546044cb75dbd255302df4530b776f0362695e = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_4c06b292aef85b4310dae01997546044cb75dbd255302df4530b776f0362695e->enter($__internal_4c06b292aef85b4310dae01997546044cb75dbd255302df4530b776f0362695e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "customer_preferences_general"));
// line 30
echo "<div class=\"col-xl-10\">
<div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">settings</i> ";
// line 33
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("General", array(), "Admin.Global"), "html", null, true);
echo "
</h3>
<div class=\"card-block row\">
<div class=\"card-text\">
<div class=\"form-group row\">
";
// line 38
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Re-display cart at login", array(), "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("After a customer logs in, you can recall and display the content of his/her last shopping cart.", array(), "Admin.Shopparameters.Help"));
echo "
<div class=\"col-sm\">
";
// line 40
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "redisplay_cart_at_login", array()), 'errors');
echo "
";
// line 41
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "redisplay_cart_at_login", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
";
// line 45
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Send an email after registration", array(), "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Send an email with summary of the account information (email, password) after registration.", array(), "Admin.Shopparameters.Help"));
echo "
<div class=\"col-sm\">
";
// line 47
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "send_email_after_registration", array()), 'errors');
echo "
";
// line 48
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "send_email_after_registration", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
";
// line 52
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Password reset delay", array(), "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Minimum time required between two requests for a password reset.", array(), "Admin.Shopparameters.Help"));
echo "
<div class=\"col-sm\">
";
// line 54
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "password_reset_delay", array()), 'errors');
echo "
";
// line 55
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "password_reset_delay", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
";
// line 59
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Enable B2B mode", array(), "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Activate or deactivate B2B mode. When this option is enabled, B2B features will be made available.", array(), "Admin.Shopparameters.Help"));
echo "
<div class=\"col-sm\">
";
// line 61
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "enable_b2b_mode", array()), 'errors');
echo "
";
// line 62
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "enable_b2b_mode", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
";
// line 66
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ask for birth date", array(), "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Display or not the birth date field.", array(), "Admin.Shopparameters.Help"));
echo "
<div class=\"col-sm\">
";
// line 68
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "ask_for_birthday", array()), 'errors');
echo "
";
// line 69
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "ask_for_birthday", array()), 'widget');
echo "
</div>
</div>
<div class=\"form-group row\">
";
// line 73
echo $context["ps"]->getlabel_with_help($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Enable partner offers", array(), "Admin.Shopparameters.Feature"), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Display or not the partner offers tick box, to receive offers from the store's partners.", array(), "Admin.Shopparameters.Help"));
echo "
<div class=\"col-sm\">
";
// line 75
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "enable_offers", array()), 'errors');
echo "
";
// line 76
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["generalForm"] ?? $this->getContext($context, "generalForm")), "enable_offers", array()), 'widget');
echo "
</div>
</div>
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\">";
// line 83
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Save", array(), "Admin.Actions"), "html", null, true);
echo "</button>
</div>
</div>
</div>
</div>
";
$__internal_4c06b292aef85b4310dae01997546044cb75dbd255302df4530b776f0362695e->leave($__internal_4c06b292aef85b4310dae01997546044cb75dbd255302df4530b776f0362695e_prof);
$__internal_a50337b83573247818a8cb617c60abe4d0885cd66757384778656db19d1cbcb0->leave($__internal_a50337b83573247818a8cb617c60abe4d0885cd66757384778656db19d1cbcb0_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 164 => 83, 154 => 76, 150 => 75, 145 => 73, 138 => 69, 134 => 68, 129 => 66, 122 => 62, 118 => 61, 113 => 59, 106 => 55, 102 => 54, 97 => 52, 90 => 48, 86 => 47, 81 => 45, 74 => 41, 70 => 40, 65 => 38, 57 => 33, 52 => 30, 34 => 29, 31 => 28, 29 => 27, 26 => 25,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{#**
* 2007-2018 PrestaShop
*
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @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.Shopparameters.Feature\" %}
{% import '@PrestaShop/Admin/macros.html.twig' as ps %}
{% block customer_preferences_general %}
<div class=\"col-xl-10\">
<div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">settings</i> {{ 'General'|trans({}, 'Admin.Global') }}
</h3>
<div class=\"card-block row\">
<div class=\"card-text\">
<div class=\"form-group row\">
{{ ps.label_with_help(('Re-display cart at login'|trans), ('After a customer logs in, you can recall and display the content of his/her last shopping cart.'|trans({}, 'Admin.Shopparameters.Help'))) }}
<div class=\"col-sm\">
{{ form_errors(generalForm.redisplay_cart_at_login) }}
{{ form_widget(generalForm.redisplay_cart_at_login) }}
</div>
</div>
<div class=\"form-group row\">
{{ ps.label_with_help(('Send an email after registration'|trans), ('Send an email with summary of the account information (email, password) after registration.'|trans({}, 'Admin.Shopparameters.Help'))) }}
<div class=\"col-sm\">
{{ form_errors(generalForm.send_email_after_registration) }}
{{ form_widget(generalForm.send_email_after_registration) }}
</div>
</div>
<div class=\"form-group row\">
{{ ps.label_with_help(('Password reset delay'|trans), ('Minimum time required between two requests for a password reset.'|trans({}, 'Admin.Shopparameters.Help'))) }}
<div class=\"col-sm\">
{{ form_errors(generalForm.password_reset_delay) }}
{{ form_widget(generalForm.password_reset_delay) }}
</div>
</div>
<div class=\"form-group row\">
{{ ps.label_with_help(('Enable B2B mode'|trans), ('Activate or deactivate B2B mode. When this option is enabled, B2B features will be made available.'|trans({}, 'Admin.Shopparameters.Help'))) }}
<div class=\"col-sm\">
{{ form_errors(generalForm.enable_b2b_mode) }}
{{ form_widget(generalForm.enable_b2b_mode) }}
</div>
</div>
<div class=\"form-group row\">
{{ ps.label_with_help(('Ask for birth date'|trans), ('Display or not the birth date field.'|trans({}, 'Admin.Shopparameters.Help'))) }}
<div class=\"col-sm\">
{{ form_errors(generalForm.ask_for_birthday) }}
{{ form_widget(generalForm.ask_for_birthday) }}
</div>
</div>
<div class=\"form-group row\">
{{ ps.label_with_help(('Enable partner offers'|trans), ('Display or not the partner offers tick box, to receive offers from the store\\'s partners.'|trans({}, 'Admin.Shopparameters.Help'))) }}
<div class=\"col-sm\">
{{ form_errors(generalForm.enable_offers) }}
{{ form_widget(generalForm.enable_offers) }}
</div>
</div>
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\">{{ 'Save'|trans({}, 'Admin.Actions') }}</button>
</div>
</div>
</div>
</div>
{% endblock %}
", "@PrestaShop/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Configure/ShopParameters/Blocks/customer_preferences_general.html.twig");
}
}

View File

@@ -0,0 +1,66 @@
<?php
/* @WebProfiler/Icon/memory.svg */
class __TwigTemplate_3e9c0d3bf192eba4b42696af996694e8159f7407c6e338b6280debfe134e1a8d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_9f1f55c515430f111b81645b6ee154b7851f27d554b9d5612d77efdbc0aa534e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_9f1f55c515430f111b81645b6ee154b7851f27d554b9d5612d77efdbc0aa534e->enter($__internal_9f1f55c515430f111b81645b6ee154b7851f27d554b9d5612d77efdbc0aa534e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Icon/memory.svg"));
$__internal_181db4076936ac8f99e7ea491c69111e8866ae1403492001a31e3579f2b79ba2 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_181db4076936ac8f99e7ea491c69111e8866ae1403492001a31e3579f2b79ba2->enter($__internal_181db4076936ac8f99e7ea491c69111e8866ae1403492001a31e3579f2b79ba2_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Icon/memory.svg"));
// line 1
echo "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\">
<path fill=\"#AAAAAA\" d=\"M6,18.9V15h12v3.9c0,0.7-0.2,1.1-1,1.1H7C6.2,20,6,19.6,6,18.9z M20,1C20,1,20,1,20,1c-0.6,0-1,0.5-1,1.1
l0,18c0,0.5-0.4,0.9-0.9,0.9H5.9C5.4,21,5,20.6,5,20.1l0-18C5,1.5,4.6,1,4,1c0,0,0,0,0,0C3.5,1,3,1.5,3,2.1l0,18
C3,21.7,4.3,23,5.9,23h12.2c1.6,0,2.9-1.3,2.9-2.9l0-18C21,1.5,20.6,1,20,1z M18,9H6v5h12V9z\"/>
</svg>
";
$__internal_9f1f55c515430f111b81645b6ee154b7851f27d554b9d5612d77efdbc0aa534e->leave($__internal_9f1f55c515430f111b81645b6ee154b7851f27d554b9d5612d77efdbc0aa534e_prof);
$__internal_181db4076936ac8f99e7ea491c69111e8866ae1403492001a31e3579f2b79ba2->leave($__internal_181db4076936ac8f99e7ea491c69111e8866ae1403492001a31e3579f2b79ba2_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Icon/memory.svg";
}
public function getDebugInfo()
{
return array ( 25 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" enable-background=\"new 0 0 24 24\" xml:space=\"preserve\">
<path fill=\"#AAAAAA\" d=\"M6,18.9V15h12v3.9c0,0.7-0.2,1.1-1,1.1H7C6.2,20,6,19.6,6,18.9z M20,1C20,1,20,1,20,1c-0.6,0-1,0.5-1,1.1
l0,18c0,0.5-0.4,0.9-0.9,0.9H5.9C5.4,21,5,20.6,5,20.1l0-18C5,1.5,4.6,1,4,1c0,0,0,0,0,0C3.5,1,3,1.5,3,2.1l0,18
C3,21.7,4.3,23,5.9,23h12.2c1.6,0,2.9-1.3,2.9-2.9l0-18C21,1.5,20.6,1,20,1z M18,9H6v5h12V9z\"/>
</svg>
", "@WebProfiler/Icon/memory.svg", "/var/www/clients/client1/web14/web/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Icon/memory.svg");
}
}