Files
taome/var/cache/dev/twig/c3/c3d15aa9fee1c9ad2d216e0ce3e485477db5bf722255adf9ba06245344b122b3.php
2020-10-07 10:37:15 +02:00

890 lines
43 KiB
PHP

<?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/WebProfiler/config.html.twig */
class __TwigTemplate_07f890219f1c92e0c458e15b198e7d34308421f2205477c1ce757ed0e0362b56 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
// line 25
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@PrestaShop/Admin/WebProfiler/config.html.twig", 25);
$this->blocks = [
'toolbar' => [$this, 'block_toolbar'],
'menu' => [$this, 'block_menu'],
'panel' => [$this, 'block_panel'],
];
}
protected function doGetParent(array $context)
{
return "@WebProfiler/Profiler/layout.html.twig";
}
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/WebProfiler/config.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/WebProfiler/config.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 27
public function block_toolbar($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", "toolbar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
// line 28
echo " ";
if (("unknown" == $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyState", []))) {
// 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" == $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyState", []))) {
// 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" == $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyState", []))) {
// 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" == $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyState", []))) {
// 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->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/new-theme/scss/img/glyph.png"), "html", null, true);
echo "\" /></span>
<span class=\"sf-toolbar-value\">";
// line 47
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationname", []), "html", null, true);
echo "</b>
<span>";
// line 54
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), "html", null, true);
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Profiler token</b>
<span>
";
// line 60
if (($context["profiler_url"] ?? $this->getContext($context, "profiler_url"))) {
// line 61
echo " <a href=\"";
echo twig_escape_filter($this->env, ($context["profiler_url"] ?? $this->getContext($context, "profiler_url")), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "token", []), "html", null, true);
echo "</a>
";
} else {
// line 63
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "token", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyversion", []), "html", null, true);
echo "/index.html\" rel=\"help\">
Read Symfony ";
// line 72
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyversion", []), "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 ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversionextra", [])) {
echo " title=\"";
echo twig_escape_filter($this->env, ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversion", []) . $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversionextra", [])), "html", null, true);
echo "\"";
}
echo ">
";
// line 81
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversion", []), "html", null, true);
echo "
&nbsp; <a href=\"";
// line 82
echo $this->env->getExtension('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 (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasxdebug", [])) ? ("green") : ("red"));
echo "\">xdebug</span>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 89
echo (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasapcu", [])) ? ("green") : ("red"));
echo "\">APCu</span>
<span class=\"sf-toolbar-status sf-toolbar-status-";
// line 90
echo (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "haszendopcache", [])) ? ("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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "sapiName", []), "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_split_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), ".")), 0, 2);
// line 104
echo " <a href=\"http://doc.prestashop.com/display/PS";
echo twig_escape_filter($this->env, ($context["appVersion"] ?? $this->getContext($context, "appVersion")), "html", null, true);
echo "\" rel=\"help\">
Read PrestaShop ";
// line 105
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), "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" => ($context["block_status"] ?? $this->getContext($context, "block_status")), "additional_classes" => "sf-toolbar-block-right", "block_attrs" => (("title=\"" . ($context["symfony_version_status"] ?? $this->getContext($context, "symfony_version_status"))) . "\"")]);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 115
public function block_menu($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", "menu"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu"));
// line 116
echo " <span class=\"label label-status-";
echo ((($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyState", []) == "eol")) ? ("red") : (((twig_in_filter($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyState", []), [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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 122
public function block_panel($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", "panel"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel"));
// line 123
echo " ";
if ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationname", [])) {
// 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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationname", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyversion", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyversion", []), "html", null, true);
echo "</span>
<span class=\"label\">Symfony version</span>
</div>
";
// line 151
if (("n/a" != $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "appname", []))) {
// line 152
echo " <div class=\"metric\">
<span class=\"value\">";
// line 153
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "appname", []), "html", null, true);
echo "</span>
<span class=\"label\">Application name</span>
</div>
";
}
// line 157
echo "
";
// line 158
if (("n/a" != $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "env", []))) {
// line 159
echo " <div class=\"metric\">
<span class=\"value\">";
// line 160
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "env", []), "html", null, true);
echo "</span>
<span class=\"label\">Environment</span>
</div>
";
}
// line 164
echo "
";
// line 165
if (("n/a" != $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "debug", []))) {
// line 166
echo " <div class=\"metric\">
<span class=\"value\">";
// line 167
echo (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "debug", [])) ? ("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($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonystate", []), [0 => "eom", 1 => "eol"])) ? ("were") : ("are"));
echo " fixed until</th>
<th>Security issues ";
// line 180
echo ((($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonystate", []) == "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, $this->getAttribute(($context["symfony_status_class"] ?? $this->getContext($context, "symfony_status_class")), $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonystate", []), [], "array"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->getAttribute(($context["symfony_status"] ?? $this->getContext($context, "symfony_status")), $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonystate", []), [], "array")), "html", null, true);
echo "</span>
</td>
<td class=\"font-normal\">";
// line 189
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyeom", []), "html", null, true);
echo "</td>
<td class=\"font-normal\">";
// line 190
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyeol", []), "html", null, true);
echo "</td>
<td class=\"font-normal\">
<a href=\"https://symfony.com/roadmap?version=";
// line 192
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "symfonyminorversion", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversion", []), "html", null, true);
if ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversionextra", [])) {
echo " <span class=\"unit\">";
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpversionextra", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phparchitecture", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phpintllocale", []), "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, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "phptimezone", []), "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_split_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), ".")), 0, 2);
// line 228
echo " <a href=\"http://doc.prestashop.com/display/PS";
echo twig_escape_filter($this->env, ($context["appVersion"] ?? $this->getContext($context, "appVersion")), "html", null, true);
echo "\" rel=\"help\">
Read PrestaShop ";
// line 229
echo twig_escape_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "applicationversion", []), "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/" . (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "haszendopcache", [])) ? ("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/" . (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasapcu", [])) ? ("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/" . (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasxdebug", [])) ? ("yes") : ("no"))) . ".svg"));
echo "</span>
<span class=\"label\">Xdebug</span>
</div>
</div>
<p>
<a href=\"";
// line 252
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler_phpinfo");
echo "\">View full PHP configuration</a>
</p>
";
// line 255
if ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "bundles", [])) {
// line 256
echo " <h2>Enabled Bundles <small>(";
echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "bundles", [])), "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(twig_get_array_keys_filter($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "bundles", []))));
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 call_user_func_array($this->env->getFunction('profiler_dump')->getCallable(), [$this->env, $this->getAttribute($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "bundles", []), $context["name"], [], "array")]);
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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/WebProfiler/config.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 576 => 271, 567 => 268, 563 => 267, 560 => 266, 556 => 265, 543 => 256, 541 => 255, 535 => 252, 526 => 246, 518 => 241, 510 => 236, 500 => 229, 495 => 228, 493 => 227, 481 => 218, 473 => 213, 465 => 208, 452 => 203, 445 => 198, 436 => 192, 431 => 190, 427 => 189, 420 => 187, 410 => 180, 406 => 179, 400 => 175, 397 => 174, 395 => 173, 391 => 171, 384 => 167, 381 => 166, 379 => 165, 376 => 164, 369 => 160, 366 => 159, 364 => 158, 361 => 157, 354 => 153, 351 => 152, 349 => 151, 342 => 147, 336 => 143, 330 => 140, 321 => 134, 313 => 129, 307 => 125, 305 => 124, 302 => 123, 293 => 122, 279 => 117, 274 => 116, 265 => 115, 253 => 112, 250 => 111, 241 => 105, 236 => 104, 234 => 103, 223 => 95, 215 => 90, 211 => 89, 207 => 88, 198 => 82, 194 => 81, 186 => 80, 175 => 72, 171 => 71, 163 => 65, 157 => 63, 149 => 61, 147 => 60, 138 => 54, 134 => 53, 130 => 51, 128 => 50, 125 => 49, 120 => 47, 115 => 46, 113 => 45, 110 => 44, 107 => 43, 104 => 42, 101 => 41, 98 => 40, 95 => 39, 92 => 38, 89 => 37, 86 => 36, 83 => 35, 80 => 34, 77 => 33, 74 => 32, 71 => 31, 68 => 30, 65 => 29, 62 => 28, 53 => 27, 22 => 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
*#}
{% 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/scss/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 }}
&nbsp; <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|split('.')|join()[:2] %}
<a href=\"http://doc.prestashop.com/display/PS{{ 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|split('.')|join()[:2] %}
<a href=\"http://doc.prestashop.com/display/PS{{ 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", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/src/PrestaShopBundle/Resources/views/Admin/WebProfiler/config.html.twig");
}
}