Current path: home/webdevt/www/schtroumpf.fr/var/cache/dev/twig/88/
?? Go up: /home/webdevt/www/schtroumpf.fr/var/cache/dev/twig
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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/WebProfiler/config.html.twig */
class __TwigTemplate_40d1fc0c2e3d511f47fdeee6e4387a24 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'toolbar' => [$this, 'block_toolbar'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context)
{
// line 25
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/WebProfiler/config.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/WebProfiler/config.html.twig"));
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@PrestaShop/Admin/WebProfiler/config.html.twig", 25);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 27
public function block_toolbar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
// line 28
echo " ";
if (("unknown" == twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 28, $this->source); })()), "symfonyState", [], "any", false, false, false, 28))) {
// line 29
echo " ";
$context["block_status"] = "";
// line 30
echo " ";
$context["symfony_version_status"] = "Unable to retrieve information about the Symfony version.";
// line 31
echo " ";
} elseif (("eol" == twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 31, $this->source); })()), "symfonyState", [], "any", false, false, false, 31))) {
// line 32
echo " ";
$context["block_status"] = "red";
// line 33
echo " ";
$context["symfony_version_status"] = "This Symfony version will no longer receive security fixes.";
// line 34
echo " ";
} elseif (("eom" == twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 34, $this->source); })()), "symfonyState", [], "any", false, false, false, 34))) {
// line 35
echo " ";
$context["block_status"] = "yellow";
// line 36
echo " ";
$context["symfony_version_status"] = "This Symfony version will only receive security fixes.";
// line 37
echo " ";
} elseif (("dev" == twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 37, $this->source); })()), "symfonyState", [], "any", false, false, false, 37))) {
// line 38
echo " ";
$context["block_status"] = "yellow";
// line 39
echo " ";
$context["symfony_version_status"] = "This Symfony version is still in the development phase.";
// line 40
echo " ";
} else {
// line 41
echo " ";
$context["block_status"] = "";
// line 42
echo " ";
$context["symfony_version_status"] = "";
// line 43
echo " ";
}
// line 44
echo "
";
// line 45
ob_start();
// line 46
echo " <span class=\"sf-toolbar-label\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/new-theme/img/glyph.png"), "html", null, true);
echo "\" /></span>
<span class=\"sf-toolbar-value\">";
// line 47
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 47, $this->source); })()), "applicationversion", [], "any", false, false, false, 47), "html", null, true);
echo "</span>
";
$context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 49
echo "
";
// line 50
ob_start();
// line 51
echo " <div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>";
// line 53
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 53, $this->source); })()), "applicationname", [], "any", false, false, false, 53), "html", null, true);
echo "</b>
<span>";
// line 54
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 54, $this->source); })()), "applicationversion", [], "any", false, false, false, 54), "html", null, true);
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Profiler token</b>
<span>
";
// line 60
if ((isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 60, $this->source); })())) {
// line 61
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 61, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 61, $this->source); })()), "token", [], "any", false, false, false, 61), "html", null, true);
echo "</a>
";
} else {
// line 63
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 63, $this->source); })()), "token", [], "any", false, false, false, 63), "html", null, true);
echo "
";
}
// line 65
echo " </span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Symfony</b>
<span>
<a href=\"https://symfony.com/doc/";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 71, $this->source); })()), "symfonyversion", [], "any", false, false, false, 71), "html", null, true);
echo "/index.html\" rel=\"help\">
Read Symfony ";
// line 72
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 72, $this->source); })()), "symfonyversion", [], "any", false, false, false, 72), "html", null, true);
echo " Docs
</a>
</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php\">
<b>PHP version</b>
<span";
// line 80
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 80, $this->source); })()), "phpversionextra", [], "any", false, false, false, 80)) {
echo " title=\"";
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 80, $this->source); })()), "phpversion", [], "any", false, false, false, 80) . twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 80, $this->source); })()), "phpversionextra", [], "any", false, false, false, 80)), "html", null, true);
echo "\"";
}
echo ">
";
// line 81
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 81, $this->source); })()), "phpversion", [], "any", false, false, false, 81), "html", null, true);
echo "
<a href=\"";
// line 82
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_phpinfo");
echo "\">View phpinfo()</a>
</span>
</div>
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php-ext\">
<b>PHP Extensions</b>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 88
echo ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 88, $this->source); })()), "hasxdebug", [], "any", false, false, false, 88)) ? ("green") : ("red"));
echo "\">xdebug</span>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 89
echo ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 89, $this->source); })()), "hasapcu", [], "any", false, false, false, 89)) ? ("green") : ("red"));
echo "\">APCu</span>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 90
echo ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 90, $this->source); })()), "haszendopcache", [], "any", false, false, false, 90)) ? ("green") : ("red"));
echo "\">OPcache</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>PHP SAPI</b>
<span>";
// line 95
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 95, $this->source); })()), "sapiName", [], "any", false, false, false, 95), "html", null, true);
echo "</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Resources</b>
<span>
";
// line 103
$context["appVersion"] = twig_slice($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 103, $this->source); })()), "applicationversion", [], "any", false, false, false, 103)), 0, 1);
// line 104
echo " <a href=\"https://devdocs.prestashop.com/";
echo twig_escape_filter($this->env, (isset($context["appVersion"]) || array_key_exists("appVersion", $context) ? $context["appVersion"] : (function () { throw new RuntimeError('Variable "appVersion" does not exist.', 104, $this->source); })()), "html", null, true);
echo "/\" rel=\"help\">
Read PrestaShop ";
// line 105
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 105, $this->source); })()), "applicationversion", [], "any", false, false, false, 105), "html", null, true);
echo " Docs
</a>
</span>
</div>
</div>
";
$context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 111
echo "
";
// line 112
echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => true, "name" => "config", "status" => (isset($context["block_status"]) || array_key_exists("block_status", $context) ? $context["block_status"] : (function () { throw new RuntimeError('Variable "block_status" does not exist.', 112, $this->source); })()), "additional_classes" => "sf-toolbar-block-right", "block_attrs" => (("title=\"" . (isset($context["symfony_version_status"]) || array_key_exists("symfony_version_status", $context) ? $context["symfony_version_status"] : (function () { throw new RuntimeError('Variable "symfony_version_status" does not exist.', 112, $this->source); })())) . "\"")]);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 115
public function block_menu($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 116
echo " <span class=\"label label-status-";
echo (((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 116, $this->source); })()), "symfonyState", [], "any", false, false, false, 116) == "eol")) ? ("red") : (((twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 116, $this->source); })()), "symfonyState", [], "any", false, false, false, 116), [0 => "eom", 1 => "dev"])) ? ("yellow") : (""))));
echo "\">
<span class=\"icon\">";
// line 117
echo twig_include($this->env, $context, "@WebProfiler/Icon/config.svg");
echo "</span>
<strong>Configuration</strong>
</span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 122
public function block_panel($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 123
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 123, $this->source); })()), "applicationname", [], "any", false, false, false, 123)) {
// line 124
echo " ";
// line 125
echo " <h2>Project Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 129
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 129, $this->source); })()), "applicationname", [], "any", false, false, false, 129), "html", null, true);
echo "</span>
<span class=\"label\">Application name</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 134
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 134, $this->source); })()), "applicationversion", [], "any", false, false, false, 134), "html", null, true);
echo "</span>
<span class=\"label\">Application version</span>
</div>
</div>
<p>
Based on <a class=\"text-bold\" href=\"https://symfony.com\">Symfony ";
// line 140
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 140, $this->source); })()), "symfonyversion", [], "any", false, false, false, 140), "html", null, true);
echo "</a>
</p>
";
} else {
// line 143
echo " <h2>Symfony Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 147
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 147, $this->source); })()), "symfonyversion", [], "any", false, false, false, 147), "html", null, true);
echo "</span>
<span class=\"label\">Symfony version</span>
</div>
";
// line 151
if (("n/a" != twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 151, $this->source); })()), "appname", [], "any", false, false, false, 151))) {
// line 152
echo " <div class=\"metric\">
<span class=\"value\">";
// line 153
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 153, $this->source); })()), "appname", [], "any", false, false, false, 153), "html", null, true);
echo "</span>
<span class=\"label\">Application name</span>
</div>
";
}
// line 157
echo "
";
// line 158
if (("n/a" != twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 158, $this->source); })()), "env", [], "any", false, false, false, 158))) {
// line 159
echo " <div class=\"metric\">
<span class=\"value\">";
// line 160
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 160, $this->source); })()), "env", [], "any", false, false, false, 160), "html", null, true);
echo "</span>
<span class=\"label\">Environment</span>
</div>
";
}
// line 164
echo "
";
// line 165
if (("n/a" != twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 165, $this->source); })()), "debug", [], "any", false, false, false, 165))) {
// line 166
echo " <div class=\"metric\">
<span class=\"value\">";
// line 167
echo ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 167, $this->source); })()), "debug", [], "any", false, false, false, 167)) ? ("enabled") : ("disabled"));
echo "</span>
<span class=\"label\">Debug</span>
</div>
";
}
// line 171
echo " </div>
";
// line 173
$context["symfony_status"] = ["dev" => "Unstable Version", "stable" => "Stable Version", "eom" => "Maintenance Ended", "eol" => "Version Expired"];
// line 174
echo " ";
$context["symfony_status_class"] = ["dev" => "warning", "stable" => "success", "eom" => "warning", "eol" => "error"];
// line 175
echo " <table>
<thead class=\"small\">
<tr>
<th>Symfony Status</th>
<th>Bugs ";
// line 179
echo ((twig_in_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 179, $this->source); })()), "symfonystate", [], "any", false, false, false, 179), [0 => "eom", 1 => "eol"])) ? ("were") : ("are"));
echo " fixed until</th>
<th>Security issues ";
// line 180
echo (((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 180, $this->source); })()), "symfonystate", [], "any", false, false, false, 180) == "eol")) ? ("were") : ("are"));
echo " fixed until</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td class=\"font-normal\">
<span class=\"label status-";
// line 187
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["symfony_status_class"]) || array_key_exists("symfony_status_class", $context) ? $context["symfony_status_class"] : (function () { throw new RuntimeError('Variable "symfony_status_class" does not exist.', 187, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 187, $this->source); })()), "symfonystate", [], "any", false, false, false, 187), [], "array", false, false, false, 187), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["symfony_status"]) || array_key_exists("symfony_status", $context) ? $context["symfony_status"] : (function () { throw new RuntimeError('Variable "symfony_status" does not exist.', 187, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 187, $this->source); })()), "symfonystate", [], "any", false, false, false, 187), [], "array", false, false, false, 187)), "html", null, true);
echo "</span>
</td>
<td class=\"font-normal\">";
// line 189
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 189, $this->source); })()), "symfonyeom", [], "any", false, false, false, 189), "html", null, true);
echo "</td>
<td class=\"font-normal\">";
// line 190
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 190, $this->source); })()), "symfonyeol", [], "any", false, false, false, 190), "html", null, true);
echo "</td>
<td class=\"font-normal\">
<a href=\"https://symfony.com/roadmap?version=";
// line 192
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 192, $this->source); })()), "symfonyminorversion", [], "any", false, false, false, 192), "html", null, true);
echo "#checker\">View roadmap</a>
</td>
</tr>
</tbody>
</table>
";
}
// line 198
echo "
<h2>PHP Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 203
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 203, $this->source); })()), "phpversion", [], "any", false, false, false, 203), "html", null, true);
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 203, $this->source); })()), "phpversionextra", [], "any", false, false, false, 203)) {
echo " <span class=\"unit\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 203, $this->source); })()), "phpversionextra", [], "any", false, false, false, 203), "html", null, true);
echo "</span>";
}
echo "</span>
<span class=\"label\">PHP version</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 208
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 208, $this->source); })()), "phparchitecture", [], "any", false, false, false, 208), "html", null, true);
echo " <span class=\"unit\">bits</span></span>
<span class=\"label\">Architecture</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 213
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 213, $this->source); })()), "phpintllocale", [], "any", false, false, false, 213), "html", null, true);
echo "</span>
<span class=\"label\">Intl locale</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 218
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 218, $this->source); })()), "phptimezone", [], "any", false, false, false, 218), "html", null, true);
echo "</span>
<span class=\"label\">Timezone</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Resources</b>
<span>
";
// line 227
$context["appVersion"] = twig_slice($this->env, twig_join_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 227, $this->source); })()), "applicationversion", [], "any", false, false, false, 227)), 0, 1);
// line 228
echo " <a href=\"https://devdocs.prestashop.com/";
echo twig_escape_filter($this->env, (isset($context["appVersion"]) || array_key_exists("appVersion", $context) ? $context["appVersion"] : (function () { throw new RuntimeError('Variable "appVersion" does not exist.', 228, $this->source); })()), "html", null, true);
echo "/\" rel=\"help\">
Read PrestaShop ";
// line 229
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 229, $this->source); })()), "applicationversion", [], "any", false, false, false, 229), "html", null, true);
echo " Docs
</a>
</span>
</div>
</div>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 236
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 236, $this->source); })()), "haszendopcache", [], "any", false, false, false, 236)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">OPcache</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 241
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 241, $this->source); })()), "hasapcu", [], "any", false, false, false, 241)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">APCu</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 246
echo twig_include($this->env, $context, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 246, $this->source); })()), "hasxdebug", [], "any", false, false, false, 246)) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Xdebug</span>
</div>
</div>
<p>
<a href=\"";
// line 252
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_phpinfo");
echo "\">View full PHP configuration</a>
</p>
";
// line 255
if (twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 255, $this->source); })()), "bundles", [], "any", false, false, false, 255)) {
// line 256
echo " <h2>Enabled Bundles <small>(";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 256, $this->source); })()), "bundles", [], "any", false, false, false, 256)), "html", null, true);
echo ")</small></h2>
<table>
<thead>
<tr>
<th class=\"key\">Name</th>
<th>Path</th>
</tr>
</thead>
<tbody>
";
// line 265
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, twig_get_array_keys_filter(twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 265, $this->source); })()), "bundles", [], "any", false, false, false, 265))));
foreach ($context['_seq'] as $context["_key"] => $context["name"]) {
// line 266
echo " <tr>
<th scope=\"row\" class=\"font-normal\">";
// line 267
echo twig_escape_filter($this->env, $context["name"], "html", null, true);
echo "</th>
<td class=\"font-normal\">";
// line 268
echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 268, $this->source); })()), "bundles", [], "any", false, false, false, 268), $context["name"], [], "array", false, false, false, 268));
echo "</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 271
echo " </tbody>
</table>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/WebProfiler/config.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 586 => 271, 577 => 268, 573 => 267, 570 => 266, 566 => 265, 553 => 256, 551 => 255, 545 => 252, 536 => 246, 528 => 241, 520 => 236, 510 => 229, 505 => 228, 503 => 227, 491 => 218, 483 => 213, 475 => 208, 462 => 203, 455 => 198, 446 => 192, 441 => 190, 437 => 189, 430 => 187, 420 => 180, 416 => 179, 410 => 175, 407 => 174, 405 => 173, 401 => 171, 394 => 167, 391 => 166, 389 => 165, 386 => 164, 379 => 160, 376 => 159, 374 => 158, 371 => 157, 364 => 153, 361 => 152, 359 => 151, 352 => 147, 346 => 143, 340 => 140, 331 => 134, 323 => 129, 317 => 125, 315 => 124, 312 => 123, 302 => 122, 288 => 117, 283 => 116, 273 => 115, 261 => 112, 258 => 111, 249 => 105, 244 => 104, 242 => 103, 231 => 95, 223 => 90, 219 => 89, 215 => 88, 206 => 82, 202 => 81, 194 => 80, 183 => 72, 179 => 71, 171 => 65, 165 => 63, 157 => 61, 155 => 60, 146 => 54, 142 => 53, 138 => 51, 136 => 50, 133 => 49, 128 => 47, 123 => 46, 121 => 45, 118 => 44, 115 => 43, 112 => 42, 109 => 41, 106 => 40, 103 => 39, 100 => 38, 97 => 37, 94 => 36, 91 => 35, 88 => 34, 85 => 33, 82 => 32, 79 => 31, 76 => 30, 73 => 29, 70 => 28, 60 => 27, 37 => 25,);
}
public function getSourceContext()
{
return new Source("{#**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* 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.md.
* 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://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*#}
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block toolbar %}
{% if 'unknown' == collector.symfonyState %}
{% set block_status = '' %}
{% set symfony_version_status = 'Unable to retrieve information about the Symfony version.' %}
{% elseif 'eol' == collector.symfonyState %}
{% set block_status = 'red' %}
{% set symfony_version_status = 'This Symfony version will no longer receive security fixes.' %}
{% elseif 'eom' == collector.symfonyState %}
{% set block_status = 'yellow' %}
{% set symfony_version_status = 'This Symfony version will only receive security fixes.' %}
{% elseif 'dev' == collector.symfonyState %}
{% set block_status = 'yellow' %}
{% set symfony_version_status = 'This Symfony version is still in the development phase.' %}
{% else %}
{% set block_status = '' %}
{% set symfony_version_status = '' %}
{% endif %}
{% set icon %}
<span class=\"sf-toolbar-label\"><img src=\"{{ asset('themes/new-theme/img/glyph.png') }}\" /></span>
<span class=\"sf-toolbar-value\">{{ collector.applicationversion }}</span>
{% endset %}
{% set text %}
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>{{ collector.applicationname }}</b>
<span>{{ collector.applicationversion }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Profiler token</b>
<span>
{% if profiler_url %}
<a href=\"{{ profiler_url }}\">{{ collector.token }}</a>
{% else %}
{{ collector.token }}
{% endif %}
</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Symfony</b>
<span>
<a href=\"https://symfony.com/doc/{{ collector.symfonyversion }}/index.html\" rel=\"help\">
Read Symfony {{ collector.symfonyversion }} Docs
</a>
</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php\">
<b>PHP version</b>
<span{% if collector.phpversionextra %} title=\"{{ collector.phpversion ~ collector.phpversionextra }}\"{% endif %}>
{{ collector.phpversion }}
<a href=\"{{ path('_profiler_phpinfo') }}\">View phpinfo()</a>
</span>
</div>
<div class=\"sf-toolbar-info-piece sf-toolbar-info-php-ext\">
<b>PHP Extensions</b>
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.hasxdebug ? 'green' : 'red' }}\">xdebug</span>
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.hasapcu ? 'green' : 'red' }}\">APCu</span>
<span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.haszendopcache ? 'green' : 'red' }}\">OPcache</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>PHP SAPI</b>
<span>{{ collector.sapiName }}</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Resources</b>
<span>
{% set appVersion = collector.applicationversion|join()[:1] %}
<a href=\"https://devdocs.prestashop.com/{{ appVersion }}/\" rel=\"help\">
Read PrestaShop {{ collector.applicationversion }} Docs
</a>
</span>
</div>
</div>
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: true, name: 'config', status: block_status, additional_classes: 'sf-toolbar-block-right', block_attrs: 'title=\"' ~ symfony_version_status ~ '\"' }) }}
{% endblock %}
{% block menu %}
<span class=\"label label-status-{{ collector.symfonyState == 'eol' ? 'red' : collector.symfonyState in ['eom', 'dev'] ? 'yellow' : '' }}\">
<span class=\"icon\">{{ include('@WebProfiler/Icon/config.svg') }}</span>
<strong>Configuration</strong>
</span>
{% endblock %}
{% block panel %}
{% if collector.applicationname %}
{# this application is not the Symfony framework #}
<h2>Project Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.applicationname }}</span>
<span class=\"label\">Application name</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.applicationversion }}</span>
<span class=\"label\">Application version</span>
</div>
</div>
<p>
Based on <a class=\"text-bold\" href=\"https://symfony.com\">Symfony {{ collector.symfonyversion }}</a>
</p>
{% else %}
<h2>Symfony Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.symfonyversion }}</span>
<span class=\"label\">Symfony version</span>
</div>
{% if 'n/a' != collector.appname %}
<div class=\"metric\">
<span class=\"value\">{{ collector.appname }}</span>
<span class=\"label\">Application name</span>
</div>
{% endif %}
{% if 'n/a' != collector.env %}
<div class=\"metric\">
<span class=\"value\">{{ collector.env }}</span>
<span class=\"label\">Environment</span>
</div>
{% endif %}
{% if 'n/a' != collector.debug %}
<div class=\"metric\">
<span class=\"value\">{{ collector.debug ? 'enabled' : 'disabled' }}</span>
<span class=\"label\">Debug</span>
</div>
{% endif %}
</div>
{% set symfony_status = { dev: 'Unstable Version', stable: 'Stable Version', eom: 'Maintenance Ended', eol: 'Version Expired' } %}
{% set symfony_status_class = { dev: 'warning', stable: 'success', eom: 'warning', eol: 'error' } %}
<table>
<thead class=\"small\">
<tr>
<th>Symfony Status</th>
<th>Bugs {{ collector.symfonystate in ['eom', 'eol'] ? 'were' : 'are' }} fixed until</th>
<th>Security issues {{ collector.symfonystate == 'eol' ? 'were' : 'are' }} fixed until</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td class=\"font-normal\">
<span class=\"label status-{{ symfony_status_class[collector.symfonystate] }}\">{{ symfony_status[collector.symfonystate]|upper }}</span>
</td>
<td class=\"font-normal\">{{ collector.symfonyeom }}</td>
<td class=\"font-normal\">{{ collector.symfonyeol }}</td>
<td class=\"font-normal\">
<a href=\"https://symfony.com/roadmap?version={{ collector.symfonyminorversion }}#checker\">View roadmap</a>
</td>
</tr>
</tbody>
</table>
{% endif %}
<h2>PHP Configuration</h2>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.phpversion }}{% if collector.phpversionextra %} <span class=\"unit\">{{ collector.phpversionextra }}</span>{% endif %}</span>
<span class=\"label\">PHP version</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.phparchitecture }} <span class=\"unit\">bits</span></span>
<span class=\"label\">Architecture</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.phpintllocale }}</span>
<span class=\"label\">Intl locale</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.phptimezone }}</span>
<span class=\"label\">Timezone</span>
</div>
</div>
<div class=\"sf-toolbar-info-group\">
<div class=\"sf-toolbar-info-piece\">
<b>Resources</b>
<span>
{% set appVersion = collector.applicationversion|join()[:1] %}
<a href=\"https://devdocs.prestashop.com/{{ appVersion }}/\" rel=\"help\">
Read PrestaShop {{ collector.applicationversion }} Docs
</a>
</span>
</div>
</div>
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.haszendopcache ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">OPcache</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.hasapcu ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">APCu</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ include('@WebProfiler/Icon/' ~ (collector.hasxdebug ? 'yes' : 'no') ~ '.svg') }}</span>
<span class=\"label\">Xdebug</span>
</div>
</div>
<p>
<a href=\"{{ path('_profiler_phpinfo') }}\">View full PHP configuration</a>
</p>
{% if collector.bundles %}
<h2>Enabled Bundles <small>({{ collector.bundles|length }})</small></h2>
<table>
<thead>
<tr>
<th class=\"key\">Name</th>
<th>Path</th>
</tr>
</thead>
<tbody>
{% for name in collector.bundles|keys|sort %}
<tr>
<th scope=\"row\" class=\"font-normal\">{{ name }}</th>
<td class=\"font-normal\">{{ profiler_dump(collector.bundles[name]) }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}
", "@PrestaShop/Admin/WebProfiler/config.html.twig", "/home/webdevt/www/schtroumpf.fr/src/PrestaShopBundle/Resources/views/Admin/WebProfiler/config.html.twig");
}
}