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,353 @@
<?php
/* @PrestaShop/Admin/Helpers/bootstrap_popup.html.twig */
class __TwigTemplate_25313de5a47574f876a1b61749229bc4116b115532b9642c23b19aa0a2dcfb05 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'header' => array($this, 'block_header'),
'content' => array($this, 'block_content'),
'footer' => array($this, 'block_footer'),
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_cbbf669ea2ef1ae04bb02ad5750a20f83859aa6b89c0be10a91b558a146fbf25 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_cbbf669ea2ef1ae04bb02ad5750a20f83859aa6b89c0be10a91b558a146fbf25->enter($__internal_cbbf669ea2ef1ae04bb02ad5750a20f83859aa6b89c0be10a91b558a146fbf25_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig"));
$__internal_b73327b85604df8d6376c9246f25a71c5009e0df3e496aa9ee1bda96d36995cd = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_b73327b85604df8d6376c9246f25a71c5009e0df3e496aa9ee1bda96d36995cd->enter($__internal_b73327b85604df8d6376c9246f25a71c5009e0df3e496aa9ee1bda96d36995cd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig"));
// line 25
echo "<div class=\"modal fade\" id=\"";
echo twig_escape_filter($this->env, ($context["id"] ?? $this->getContext($context, "id")), "html", null, true);
echo "\" tabindex=\"-1\">
<div class=\"modal-dialog ";
// line 26
if (array_key_exists("class", $context)) {
echo twig_escape_filter($this->env, ($context["class"] ?? $this->getContext($context, "class")), "html", null, true);
}
echo "\">
<div class=\"modal-content\">
";
// line 28
$this->displayBlock('header', $context, $blocks);
// line 36
echo "
";
// line 37
$this->displayBlock('content', $context, $blocks);
// line 39
echo "
";
// line 40
if (array_key_exists("progressbar", $context)) {
// line 41
echo " <div class=\"modal-body\" id=\"";
echo twig_escape_filter($this->env, $this->getAttribute(($context["progressbar"] ?? $this->getContext($context, "progressbar")), "id", array()), "html", null, true);
echo "\">
<div class=\"float-right progress-details-text\" default-value=\"";
// line 42
echo twig_escape_filter($this->env, (($this->getAttribute(($context["progressbar"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["progressbar"] ?? null), "label", array()), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))), "html", null, true);
echo "\">
";
// line 43
echo twig_escape_filter($this->env, (($this->getAttribute(($context["progressbar"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["progressbar"] ?? null), "label", array()), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", array(), "Admin.Global"))), "html", null, true);
echo "
</div>
<div class=\"progress active progress-striped\" style=\"display: block; width: 100%\">
<div class=\"progress-bar progress-bar-success\" role=\"progressbar\" style=\"width: 0%\">
<span>0 %</span>
</div>
</div>
</div>
";
}
// line 52
echo "
";
// line 53
$this->displayBlock('footer', $context, $blocks);
// line 71
echo " </div>
</div>
</div>
<script>
\$(document).ready(function() {
var closable = ";
// line 76
if ((array_key_exists("closable", $context) && (($context["closable"] ?? $this->getContext($context, "closable")) == true))) {
echo "true";
} else {
echo "false";
}
echo ";
\$('#";
// line 77
echo twig_escape_filter($this->env, ($context["id"] ?? $this->getContext($context, "id")), "html", null, true);
echo "').modal({
backdrop: (closable ? true : 'static'),
keyboard: closable,
closable: closable,
show: false
});
});
</script>
";
$__internal_cbbf669ea2ef1ae04bb02ad5750a20f83859aa6b89c0be10a91b558a146fbf25->leave($__internal_cbbf669ea2ef1ae04bb02ad5750a20f83859aa6b89c0be10a91b558a146fbf25_prof);
$__internal_b73327b85604df8d6376c9246f25a71c5009e0df3e496aa9ee1bda96d36995cd->leave($__internal_b73327b85604df8d6376c9246f25a71c5009e0df3e496aa9ee1bda96d36995cd_prof);
}
// line 28
public function block_header($context, array $blocks = array())
{
$__internal_cfa1376b38b511e473fb2024fd673abaf9f4668c223403de3847711043f5e003 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_cfa1376b38b511e473fb2024fd673abaf9f4668c223403de3847711043f5e003->enter($__internal_cfa1376b38b511e473fb2024fd673abaf9f4668c223403de3847711043f5e003_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "header"));
$__internal_5f6930878f4ed11d3c084c47ef249b154a3c3f69bc88f7f36560c8f9bc65678d = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_5f6930878f4ed11d3c084c47ef249b154a3c3f69bc88f7f36560c8f9bc65678d->enter($__internal_5f6930878f4ed11d3c084c47ef249b154a3c3f69bc88f7f36560c8f9bc65678d_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "header"));
// line 29
echo " ";
if (array_key_exists("title", $context)) {
// line 30
echo " <div class=\"modal-header\">
<h4 class=\"modal-title\">";
// line 31
echo twig_escape_filter($this->env, ($context["title"] ?? $this->getContext($context, "title")), "html", null, true);
echo "</h4>
";
// line 32
if ((array_key_exists("closable", $context) && (($context["closable"] ?? $this->getContext($context, "closable")) == true))) {
echo "<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>";
}
// line 33
echo " </div>
";
}
// line 35
echo " ";
$__internal_5f6930878f4ed11d3c084c47ef249b154a3c3f69bc88f7f36560c8f9bc65678d->leave($__internal_5f6930878f4ed11d3c084c47ef249b154a3c3f69bc88f7f36560c8f9bc65678d_prof);
$__internal_cfa1376b38b511e473fb2024fd673abaf9f4668c223403de3847711043f5e003->leave($__internal_cfa1376b38b511e473fb2024fd673abaf9f4668c223403de3847711043f5e003_prof);
}
// line 37
public function block_content($context, array $blocks = array())
{
$__internal_935e1e634d66c03f9b0a43494043e154d3f752e8abc3d8cffd71d52aeb6e492f = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_935e1e634d66c03f9b0a43494043e154d3f752e8abc3d8cffd71d52aeb6e492f->enter($__internal_935e1e634d66c03f9b0a43494043e154d3f752e8abc3d8cffd71d52aeb6e492f_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));
$__internal_a0320d7d2458231f390583a1532b075787fe7ba0f109ab96b11cf3046a009a67 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_a0320d7d2458231f390583a1532b075787fe7ba0f109ab96b11cf3046a009a67->enter($__internal_a0320d7d2458231f390583a1532b075787fe7ba0f109ab96b11cf3046a009a67_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "content"));
// line 38
echo " ";
$__internal_a0320d7d2458231f390583a1532b075787fe7ba0f109ab96b11cf3046a009a67->leave($__internal_a0320d7d2458231f390583a1532b075787fe7ba0f109ab96b11cf3046a009a67_prof);
$__internal_935e1e634d66c03f9b0a43494043e154d3f752e8abc3d8cffd71d52aeb6e492f->leave($__internal_935e1e634d66c03f9b0a43494043e154d3f752e8abc3d8cffd71d52aeb6e492f_prof);
}
// line 53
public function block_footer($context, array $blocks = array())
{
$__internal_1dab918c28269bd3ff58a59922491d815f439872a09e2d2fe9c4c04897423128 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_1dab918c28269bd3ff58a59922491d815f439872a09e2d2fe9c4c04897423128->enter($__internal_1dab918c28269bd3ff58a59922491d815f439872a09e2d2fe9c4c04897423128_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "footer"));
$__internal_af5991bc5ede03b394f3413b061e367155e79eb5438c17870beb59b4bd302bb6 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_af5991bc5ede03b394f3413b061e367155e79eb5438c17870beb59b4bd302bb6->enter($__internal_af5991bc5ede03b394f3413b061e367155e79eb5438c17870beb59b4bd302bb6_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "footer"));
// line 54
echo " ";
if (array_key_exists("actions", $context)) {
// line 55
echo " <div class=\"modal-footer\">
";
// line 56
if ((array_key_exists("closable", $context) && (($context["closable"] ?? $this->getContext($context, "closable")) == true))) {
// line 57
echo " <button type=\"button\" class=\"btn btn-outline-secondary btn-lg\" data-dismiss=\"modal\">";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Close", array(), "Admin.Actions"), "html", null, true);
echo "</button>
";
}
// line 59
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["actions"] ?? $this->getContext($context, "actions")));
foreach ($context['_seq'] as $context["_key"] => $context["action"]) {
// line 60
echo " ";
if (($this->getAttribute($context["action"], "type", array(), "any", true, true) && ($this->getAttribute($context["action"], "type", array()) == "link"))) {
// line 61
echo " <a href=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "href", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "href", array()), "#")) : ("#")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "class", array()), "btn")) : ("btn")), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "label", array()), "Label is missing")) : ("Label is missing")), "html", null, true);
echo "</a>
";
} elseif (($this->getAttribute( // line 62
$context["action"], "type", array(), "any", true, true) && ($this->getAttribute($context["action"], "type", array()) == "button"))) {
// line 63
echo " <button type=\"button\" value=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "value", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "value", array()), "")) : ("")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "class", array()), "btn")) : ("btn")), "html", null, true);
echo "\">
";
// line 64
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "label", array()), "Label is missing")) : ("Label is missing")), "html", null, true);
echo "
</button>
";
}
// line 67
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['action'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 68
echo " </div>
";
}
// line 70
echo " ";
$__internal_af5991bc5ede03b394f3413b061e367155e79eb5438c17870beb59b4bd302bb6->leave($__internal_af5991bc5ede03b394f3413b061e367155e79eb5438c17870beb59b4bd302bb6_prof);
$__internal_1dab918c28269bd3ff58a59922491d815f439872a09e2d2fe9c4c04897423128->leave($__internal_1dab918c28269bd3ff58a59922491d815f439872a09e2d2fe9c4c04897423128_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 233 => 70, 229 => 68, 223 => 67, 217 => 64, 210 => 63, 208 => 62, 199 => 61, 196 => 60, 191 => 59, 185 => 57, 183 => 56, 180 => 55, 177 => 54, 168 => 53, 158 => 38, 149 => 37, 139 => 35, 135 => 33, 131 => 32, 127 => 31, 124 => 30, 121 => 29, 112 => 28, 93 => 77, 85 => 76, 78 => 71, 76 => 53, 73 => 52, 61 => 43, 57 => 42, 52 => 41, 50 => 40, 47 => 39, 45 => 37, 42 => 36, 40 => 28, 33 => 26, 28 => 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
*#}
<div class=\"modal fade\" id=\"{{ id }}\" tabindex=\"-1\">
<div class=\"modal-dialog {% if class is defined %}{{ class }}{% endif %}\">
<div class=\"modal-content\">
{% block header %}
{% if title is defined %}
<div class=\"modal-header\">
<h4 class=\"modal-title\">{{ title }}</h4>
{% if closable is defined and closable == true %}<button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>{% endif %}
</div>
{% endif %}
{% endblock %}
{% block content %}
{% endblock %}
{% if progressbar is defined %}
<div class=\"modal-body\" id=\"{{ progressbar.id }}\">
<div class=\"float-right progress-details-text\" default-value=\"{{ progressbar.label|default('Processing...'|trans({}, 'Admin.Global')) }}\">
{{ progressbar.label|default('Processing...'|trans({}, 'Admin.Global')) }}
</div>
<div class=\"progress active progress-striped\" style=\"display: block; width: 100%\">
<div class=\"progress-bar progress-bar-success\" role=\"progressbar\" style=\"width: 0%\">
<span>0 %</span>
</div>
</div>
</div>
{% endif %}
{% block footer %}
{% if actions is defined %}
<div class=\"modal-footer\">
{% if closable is defined and closable == true %}
<button type=\"button\" class=\"btn btn-outline-secondary btn-lg\" data-dismiss=\"modal\">{{ 'Close'|trans({}, 'Admin.Actions') }}</button>
{% endif %}
{% for action in actions %}
{% if action.type is defined and action.type == 'link' %}
<a href=\"{{ action.href|default('#') }}\" class=\"{{ action.class|default('btn') }}\">{{ action.label|default('Label is missing') }}</a>
{% elseif action.type is defined and action.type == 'button' %}
<button type=\"button\" value=\"{{ action.value|default('') }}\" class=\"{{ action.class|default('btn') }}\">
{{ action.label|default('Label is missing') }}
</button>
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endblock %}
</div>
</div>
</div>
<script>
\$(document).ready(function() {
var closable = {% if closable is defined and closable == true %}true{% else %}false{% endif %};
\$('#{{ id }}').modal({
backdrop: (closable ? true : 'static'),
keyboard: closable,
closable: closable,
show: false
});
});
</script>
", "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Helpers/bootstrap_popup.html.twig");
}
}