202 lines
9.8 KiB
PHP
202 lines
9.8 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;
|
|
|
|
/* @WebProfiler/Profiler/toolbar.html.twig */
|
|
class __TwigTemplate_f522a6570e569c5305193cbe4ca3d6d72c766d4ff54b9a093aba16cc30febf0b extends \Twig\Template
|
|
{
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
];
|
|
}
|
|
|
|
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", "@WebProfiler/Profiler/toolbar.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", "@WebProfiler/Profiler/toolbar.html.twig"));
|
|
|
|
// line 1
|
|
echo "<!-- START of Symfony Web Debug Toolbar -->
|
|
<div id=\"sfMiniToolbar-";
|
|
// line 2
|
|
echo twig_escape_filter($this->env, ($context["token"] ?? $this->getContext($context, "token")), "html", null, true);
|
|
echo "\" class=\"sf-minitoolbar\" data-no-turbolink>
|
|
<a href=\"#\" title=\"Show Symfony toolbar\" tabindex=\"-1\" id=\"sfToolbarMiniToggler-";
|
|
// line 3
|
|
echo twig_escape_filter($this->env, ($context["token"] ?? $this->getContext($context, "token")), "html", null, true);
|
|
echo "\" accesskey=\"D\">
|
|
";
|
|
// line 4
|
|
echo twig_include($this->env, $context, "@WebProfiler/Icon/symfony.svg");
|
|
echo "
|
|
</a>
|
|
</div>
|
|
<div id=\"sfToolbarClearer-";
|
|
// line 7
|
|
echo twig_escape_filter($this->env, ($context["token"] ?? $this->getContext($context, "token")), "html", null, true);
|
|
echo "\" class=\"sf-toolbar-clearer\"></div>
|
|
|
|
<div id=\"sfToolbarMainContent-";
|
|
// line 9
|
|
echo twig_escape_filter($this->env, ($context["token"] ?? $this->getContext($context, "token")), "html", null, true);
|
|
echo "\" class=\"sf-toolbarreset clear-fix\" data-no-turbolink>
|
|
";
|
|
// line 10
|
|
$context['_parent'] = $context;
|
|
$context['_seq'] = twig_ensure_traversable(($context["templates"] ?? $this->getContext($context, "templates")));
|
|
$context['loop'] = [
|
|
'parent' => $context['_parent'],
|
|
'index0' => 0,
|
|
'index' => 1,
|
|
'first' => true,
|
|
];
|
|
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
|
|
$length = count($context['_seq']);
|
|
$context['loop']['revindex0'] = $length - 1;
|
|
$context['loop']['revindex'] = $length;
|
|
$context['loop']['length'] = $length;
|
|
$context['loop']['last'] = 1 === $length;
|
|
}
|
|
foreach ($context['_seq'] as $context["name"] => $context["template"]) {
|
|
// line 11
|
|
echo " ";
|
|
if ( $this->loadTemplate($context["template"], "@WebProfiler/Profiler/toolbar.html.twig", 11)->hasBlock("toolbar", $context)) {
|
|
// line 12
|
|
echo " ";
|
|
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ["collector" => $this->getAttribute( // line 13
|
|
($context["profile"] ?? $this->getContext($context, "profile")), "getcollector", [0 => $context["name"]], "method"), "profiler_url" => // line 14
|
|
($context["profiler_url"] ?? $this->getContext($context, "profiler_url")), "token" => $this->getAttribute( // line 15
|
|
($context["profile"] ?? $this->getContext($context, "profile")), "token", []), "name" => // line 16
|
|
$context["name"], "profiler_markup_version" => // line 17
|
|
($context["profiler_markup_version"] ?? $this->getContext($context, "profiler_markup_version")), "csp_script_nonce" => // line 18
|
|
($context["csp_script_nonce"] ?? $this->getContext($context, "csp_script_nonce")), "csp_style_nonce" => // line 19
|
|
($context["csp_style_nonce"] ?? $this->getContext($context, "csp_style_nonce"))];
|
|
if ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof \Traversable) {
|
|
$__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = iterator_to_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4);
|
|
}
|
|
if (!is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4)) {
|
|
throw new RuntimeError('Variables passed to the "with" tag must be a hash.');
|
|
}
|
|
$context['_parent'] = $context;
|
|
$context = array_merge($context, $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4);
|
|
// line 21
|
|
echo " ";
|
|
$this->loadTemplate($context["template"], "@WebProfiler/Profiler/toolbar.html.twig", 21)->displayBlock("toolbar", $context);
|
|
echo "
|
|
";
|
|
$context = $context['_parent'];
|
|
// line 23
|
|
echo " ";
|
|
}
|
|
// line 24
|
|
echo " ";
|
|
++$context['loop']['index0'];
|
|
++$context['loop']['index'];
|
|
$context['loop']['first'] = false;
|
|
if (isset($context['loop']['length'])) {
|
|
--$context['loop']['revindex0'];
|
|
--$context['loop']['revindex'];
|
|
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
|
|
}
|
|
}
|
|
$_parent = $context['_parent'];
|
|
unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
|
|
$context = array_intersect_key($context, $_parent) + $_parent;
|
|
// line 25
|
|
echo "
|
|
<a class=\"hide-button\" id=\"sfToolbarHideButton-";
|
|
// line 26
|
|
echo twig_escape_filter($this->env, ($context["token"] ?? $this->getContext($context, "token")), "html", null, true);
|
|
echo "\" title=\"Close Toolbar\" tabindex=\"-1\" accesskey=\"D\">
|
|
";
|
|
// line 27
|
|
echo twig_include($this->env, $context, "@WebProfiler/Icon/close.svg");
|
|
echo "
|
|
</a>
|
|
</div>
|
|
<!-- END of Symfony Web Debug Toolbar -->
|
|
";
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "@WebProfiler/Profiler/toolbar.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 130 => 27, 126 => 26, 123 => 25, 109 => 24, 106 => 23, 100 => 21, 90 => 19, 89 => 18, 88 => 17, 87 => 16, 86 => 15, 85 => 14, 84 => 13, 82 => 12, 79 => 11, 62 => 10, 58 => 9, 53 => 7, 47 => 4, 43 => 3, 39 => 2, 36 => 1,);
|
|
}
|
|
|
|
/** @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("<!-- START of Symfony Web Debug Toolbar -->
|
|
<div id=\"sfMiniToolbar-{{ token }}\" class=\"sf-minitoolbar\" data-no-turbolink>
|
|
<a href=\"#\" title=\"Show Symfony toolbar\" tabindex=\"-1\" id=\"sfToolbarMiniToggler-{{ token }}\" accesskey=\"D\">
|
|
{{ include('@WebProfiler/Icon/symfony.svg') }}
|
|
</a>
|
|
</div>
|
|
<div id=\"sfToolbarClearer-{{ token }}\" class=\"sf-toolbar-clearer\"></div>
|
|
|
|
<div id=\"sfToolbarMainContent-{{ token }}\" class=\"sf-toolbarreset clear-fix\" data-no-turbolink>
|
|
{% for name, template in templates %}
|
|
{% if block('toolbar', template) is defined %}
|
|
{% with {
|
|
collector: profile.getcollector(name),
|
|
profiler_url: profiler_url,
|
|
token: profile.token,
|
|
name: name,
|
|
profiler_markup_version: profiler_markup_version,
|
|
csp_script_nonce: csp_script_nonce,
|
|
csp_style_nonce: csp_style_nonce
|
|
} %}
|
|
{{ block('toolbar', template) }}
|
|
{% endwith %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
<a class=\"hide-button\" id=\"sfToolbarHideButton-{{ token }}\" title=\"Close Toolbar\" tabindex=\"-1\" accesskey=\"D\">
|
|
{{ include('@WebProfiler/Icon/close.svg') }}
|
|
</a>
|
|
</div>
|
|
<!-- END of Symfony Web Debug Toolbar -->
|
|
", "@WebProfiler/Profiler/toolbar.html.twig", "/Volumes/Dev/Sources/Clients/taome/Nouveau_site/www/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.html.twig");
|
|
}
|
|
}
|