<?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;
/* block.twig */
class __TwigTemplate_f9918762ada70492a7675dc99b4a62ef41839bde6cf6e14cf3a21f1410b9471c extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "block.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "block.twig"));
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Blocks"]) || array_key_exists("Blocks", $context) ? $context["Blocks"] : (function () { throw new RuntimeError('Variable "Blocks" does not exist.', 11, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Block"]) {
// line 12
echo " <!-- ▼";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Block"], "name", [], "any", false, false, false, 12), "html", null, true);
echo " -->
";
// line 13
if (twig_get_attribute($this->env, $this->source, $context["Block"], "use_controller", [], "any", false, false, false, 13)) {
// line 14
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" . twig_get_attribute($this->env, $this->source, $context["Block"], "file_name", [], "any", false, false, false, 14))));
echo "
";
} else {
// line 16
echo " ";
echo $this->extensions['Eccube\Twig\Extension\TwigIncludeExtension']->include_dispatch($context, (("Block/" . twig_get_attribute($this->env, $this->source, $context["Block"], "file_name", [], "any", false, false, false, 16)) . ".twig"));
echo "
";
}
// line 18
echo " <!-- ▲";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Block"], "name", [], "any", false, false, false, 18), "html", null, true);
echo " -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "block.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 66 => 18, 60 => 16, 54 => 14, 52 => 13, 47 => 12, 43 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% for Block in Blocks %}
<!-- ▼{{ Block.name }} -->
{% if Block.use_controller %}
{{ render(path('block_' ~ Block.file_name)) }}
{% else %}
{{ include_dispatch('Block/' ~ Block.file_name ~ '.twig') }}
{% endif %}
<!-- ▲{{ Block.name }} -->
{% endfor %}
", "block.twig", "/home/bravers/bravers.xbiz.jp/public_html/src/Eccube/Resource/template/default/block.twig");
}
}