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,238 @@
<?php
/* @PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig */
class __TwigTemplate_f231e018777bccf3884a914d2a797fd04bef941ffa1a7635327d6d55f4b19c4f extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 25
$this->parent = $this->loadTemplate("@PrestaShop/Admin/layout.html.twig", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig", 25);
$this->blocks = array(
'content' => array($this, 'block_content'),
'javascripts' => array($this, 'block_javascripts'),
);
}
protected function doGetParent(array $context)
{
return "@PrestaShop/Admin/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_322933acf056243290f84c58c374e3406028e9e2d6268412a8b897feb1588a3d = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_322933acf056243290f84c58c374e3406028e9e2d6268412a8b897feb1588a3d->enter($__internal_322933acf056243290f84c58c374e3406028e9e2d6268412a8b897feb1588a3d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig"));
$__internal_6ca662cb41df272a6c73ace5b30c3ecf4eb056624d9924a61e8c4eddf75d42b6 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_6ca662cb41df272a6c73ace5b30c3ecf4eb056624d9924a61e8c4eddf75d42b6->enter($__internal_6ca662cb41df272a6c73ace5b30c3ecf4eb056624d9924a61e8c4eddf75d42b6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_322933acf056243290f84c58c374e3406028e9e2d6268412a8b897feb1588a3d->leave($__internal_322933acf056243290f84c58c374e3406028e9e2d6268412a8b897feb1588a3d_prof);
$__internal_6ca662cb41df272a6c73ace5b30c3ecf4eb056624d9924a61e8c4eddf75d42b6->leave($__internal_6ca662cb41df272a6c73ace5b30c3ecf4eb056624d9924a61e8c4eddf75d42b6_prof);
}
// line 28
public function block_content($context, array $blocks = array())
{
$__internal_13f5632a74950cee045d7bd76c9f2f37a1eebb6cd94df4fe4b1b534670540e7a = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_13f5632a74950cee045d7bd76c9f2f37a1eebb6cd94df4fe4b1b534670540e7a->enter($__internal_13f5632a74950cee045d7bd76c9f2f37a1eebb6cd94df4fe4b1b534670540e7a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));
$__internal_f0c3f708755572bcc47d47eb00430769bf5f418abfd7662096bbe79de3431753 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_f0c3f708755572bcc47d47eb00430769bf5f418abfd7662096bbe79de3431753->enter($__internal_f0c3f708755572bcc47d47eb00430769bf5f418abfd7662096bbe79de3431753_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));
// line 29
echo " <div class=\"container\">
<div class=\"row\">
<div class=\"col\">
";
// line 32
if ( !($context["isSingleShopContext"] ?? $this->getContext($context, "isSingleShopContext"))) {
// line 33
echo " <div class=\"alert alert-warning\" role=\"alert\">
<p class=\"alert-text\">
";
// line 35
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("You have more than one shop and must select one to configure payment.", array(), "Admin.Payment.Notification"), "html", null, true);
echo "
</p>
</div>
";
} elseif (( // line 38
($context["paymentModulesCount"] ?? $this->getContext($context, "paymentModulesCount")) == 0)) {
// line 39
echo " <div class=\"alert alert-warning\" role=\"alert\">
<p class=\"alert-text\">
";
// line 41
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("No payment module installed", array(), "Admin.Payment.Notification"), "html", null, true);
echo "
</p>
</div>
";
} else {
// line 45
echo " <div class=\"alert alert-info\" role=\"alert\">
<p class=\"alert-text\">
";
// line 47
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("This is where you decide what payment modules are available for different variations like your customers' currency, group, and country.", array(), "Admin.Payment.Help"), "html", null, true);
echo "
</p>
<p class=\"alert-text\">
";
// line 50
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("A check mark indicates you want the payment module available.", array(), "Admin.Payment.Help"), "html", null, true);
echo "
";
// line 51
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("If it is not checked then this means that the payment module is disabled.", array(), "Admin.Payment.Help"), "html", null, true);
echo "
</p>
</div>
";
// line 55
$this->loadTemplate("@PrestaShop/Admin/Improve/Payment/Preferences/Blocks/payment_preferences_form_block.html.twig", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig", 55)->display($context);
// line 56
echo " ";
}
// line 57
echo " </div>
</div>
</div>
";
$__internal_f0c3f708755572bcc47d47eb00430769bf5f418abfd7662096bbe79de3431753->leave($__internal_f0c3f708755572bcc47d47eb00430769bf5f418abfd7662096bbe79de3431753_prof);
$__internal_13f5632a74950cee045d7bd76c9f2f37a1eebb6cd94df4fe4b1b534670540e7a->leave($__internal_13f5632a74950cee045d7bd76c9f2f37a1eebb6cd94df4fe4b1b534670540e7a_prof);
}
// line 62
public function block_javascripts($context, array $blocks = array())
{
$__internal_85f7ea9101d9845a0b925784c0a18bb0a8e72e46fedadefd903696a2f890ad7b = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_85f7ea9101d9845a0b925784c0a18bb0a8e72e46fedadefd903696a2f890ad7b->enter($__internal_85f7ea9101d9845a0b925784c0a18bb0a8e72e46fedadefd903696a2f890ad7b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_7587a35b53e3761d16ea0c4f0f0c351fd8282562d99fbee2f6a2d1d11d5c06e6 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_7587a35b53e3761d16ea0c4f0f0c351fd8282562d99fbee2f6a2d1d11d5c06e6->enter($__internal_7587a35b53e3761d16ea0c4f0f0c351fd8282562d99fbee2f6a2d1d11d5c06e6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "javascripts"));
// line 63
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"";
// line 65
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/new-theme/public/payment_preferences.bundle.js"), "html", null, true);
echo "\"></script>
";
$__internal_7587a35b53e3761d16ea0c4f0f0c351fd8282562d99fbee2f6a2d1d11d5c06e6->leave($__internal_7587a35b53e3761d16ea0c4f0f0c351fd8282562d99fbee2f6a2d1d11d5c06e6_prof);
$__internal_85f7ea9101d9845a0b925784c0a18bb0a8e72e46fedadefd903696a2f890ad7b->leave($__internal_85f7ea9101d9845a0b925784c0a18bb0a8e72e46fedadefd903696a2f890ad7b_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 134 => 65, 128 => 63, 119 => 62, 106 => 57, 103 => 56, 101 => 55, 94 => 51, 90 => 50, 84 => 47, 80 => 45, 73 => 41, 69 => 39, 67 => 38, 61 => 35, 57 => 33, 55 => 32, 50 => 29, 41 => 28, 11 => 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
*#}
{% extends '@PrestaShop/Admin/layout.html.twig' %}
{% trans_default_domain 'Admin.Payment.Feature' %}
{% block content %}
<div class=\"container\">
<div class=\"row\">
<div class=\"col\">
{% if not isSingleShopContext %}
<div class=\"alert alert-warning\" role=\"alert\">
<p class=\"alert-text\">
{{ 'You have more than one shop and must select one to configure payment.'|trans({}, 'Admin.Payment.Notification') }}
</p>
</div>
{% elseif paymentModulesCount == 0 %}
<div class=\"alert alert-warning\" role=\"alert\">
<p class=\"alert-text\">
{{ 'No payment module installed'|trans({}, 'Admin.Payment.Notification') }}
</p>
</div>
{% else %}
<div class=\"alert alert-info\" role=\"alert\">
<p class=\"alert-text\">
{{ 'This is where you decide what payment modules are available for different variations like your customers\\' currency, group, and country.'|trans({}, 'Admin.Payment.Help') }}
</p>
<p class=\"alert-text\">
{{ 'A check mark indicates you want the payment module available.'|trans({}, 'Admin.Payment.Help') }}
{{ 'If it is not checked then this means that the payment module is disabled.'|trans({}, 'Admin.Payment.Help') }}
</p>
</div>
{% include '@PrestaShop/Admin/Improve/Payment/Preferences/Blocks/payment_preferences_form_block.html.twig' %}
{% endif %}
</div>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src=\"{{ asset('themes/new-theme/public/payment_preferences.bundle.js') }}\"></script>
{% endblock %}
", "@PrestaShop/Admin/Improve/Payment/Preferences/payment_preferences.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Improve/Payment/Preferences/payment_preferences.html.twig");
}
}