Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

View File

@@ -0,0 +1,364 @@
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @PrestaShop/Admin/Helpers/bootstrap_popup.html.twig */
class __TwigTemplate_06ef37b88a53c73fce1a97bfdd3f2668a727103f24deebac259e06d15595159a extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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 ((isset($context["class"]) || 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 ((isset($context["progressbar"]) || 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", []), "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", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["progressbar"] ?? null), "label", []), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", [], "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", [], "Admin.Global"))), "html", null, true);
echo "\">
";
// line 43
echo twig_escape_filter($this->env, (($this->getAttribute(($context["progressbar"] ?? null), "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["progressbar"] ?? null), "label", []), $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", [], "Admin.Global"))) : ($this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Processing...", [], "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 (((isset($context["closable"]) || 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 28
public function block_header($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 29
echo " ";
if ((isset($context["title"]) || 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 (((isset($context["closable"]) || 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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 37
public function block_content($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 38
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 53
public function block_footer($context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 54
echo " ";
if ((isset($context["actions"]) || array_key_exists("actions", $context))) {
// line 55
echo " <div class=\"modal-footer\">
";
// line 56
if (((isset($context["closable"]) || 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", [], "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", [], "any", true, true) && ($this->getAttribute($context["action"], "type", []) == "link"))) {
// line 61
echo " <a href=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "href", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "href", []), "#")) : ("#")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "class", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "class", []), "btn")) : ("btn")), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "label", []), "Label is missing")) : ("Label is missing")), "html", null, true);
echo "</a>
";
} elseif (($this->getAttribute( // line 62
$context["action"], "type", [], "any", true, true) && ($this->getAttribute($context["action"], "type", []) == "button"))) {
// line 63
echo " <button type=\"button\" value=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "value", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "value", []), "")) : ("")), "html", null, true);
echo "\" class=\"";
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "class", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "class", []), "btn")) : ("btn")), "html", null, true);
echo "\">
";
// line 64
echo twig_escape_filter($this->env, (($this->getAttribute($context["action"], "label", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["action"], "label", []), "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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Helpers/bootstrap_popup.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 244 => 70, 240 => 68, 234 => 67, 228 => 64, 221 => 63, 219 => 62, 210 => 61, 207 => 60, 202 => 59, 196 => 57, 194 => 56, 191 => 55, 188 => 54, 179 => 53, 169 => 38, 160 => 37, 150 => 35, 146 => 33, 142 => 32, 138 => 31, 135 => 30, 132 => 29, 123 => 28, 104 => 77, 96 => 76, 89 => 71, 87 => 53, 84 => 52, 72 => 43, 68 => 42, 63 => 41, 61 => 40, 58 => 39, 56 => 37, 53 => 36, 51 => 28, 44 => 26, 39 => 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 Source("{#**
* 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 <contact@prestashop.com>
* @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
*#}
<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", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/Helpers/bootstrap_popup.html.twig");
}
}

File diff suppressed because it is too large Load Diff