var/cache/dev/twig/1d/1dfa4f0d16d4c073a39c4bbecb1eb261.php line 57

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* block.twig */
  14. class __TwigTemplate_32005f6501070e0762b369f6a3b7d7ea extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  35.         // line 11
  36.         $context['_parent'] = $context;
  37.         $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); })()));
  38.         foreach ($context['_seq'] as $context["_key"] => $context["Block"]) {
  39.             // line 12
  40.             echo "    <!-- ▼";
  41.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  42.             echo " -->
  43.     ";
  44.             // line 13
  45.             if (twig_get_attribute($this->env$this->source$context["Block"], "use_controller", [], "any"falsefalsetrue13)) {
  46.                 // line 14
  47.                 echo "        ";
  48.                 echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsetrue14), 14$this->source))));
  49.                 echo "
  50.     ";
  51.             } else {
  52.                 // line 16
  53.                 echo "        ";
  54.                 echo $this->extensions['Eccube\Twig\Extension\TwigIncludeExtension']->include_dispatch($context, (("Block/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsetrue16), 16$this->source)) . ".twig"));
  55.                 echo "
  56.     ";
  57.             }
  58.             // line 18
  59.             echo "    <!-- ▲";
  60.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue18), 18$this->source), "html"nulltrue);
  61.             echo " -->
  62. ";
  63.         }
  64.         $_parent $context['_parent'];
  65.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Block'], $context['_parent'], $context['loop']);
  66.         $context array_intersect_key($context$_parent) + $_parent;
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.     }
  72.     public function getTemplateName()
  73.     {
  74.         return "block.twig";
  75.     }
  76.     public function isTraitable()
  77.     {
  78.         return false;
  79.     }
  80.     public function getDebugInfo()
  81.     {
  82.         return array (  68 => 18,  62 => 16,  56 => 14,  54 => 13,  49 => 12,  45 => 11,);
  83.     }
  84.     public function getSourceContext()
  85.     {
  86.         return new Source("{#
  87. This file is part of EC-CUBE
  88. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  89. http://www.ec-cube.co.jp/
  90. For the full copyright and license information, please view the LICENSE
  91. file that was distributed with this source code.
  92. #}
  93. {% for Block in Blocks %}
  94.     <!-- ▼{{ Block.name }} -->
  95.     {% if Block.use_controller %}
  96.         {{ render(path('block_' ~ Block.file_name)) }}
  97.     {% else %}
  98.         {{ include_dispatch('Block/' ~ Block.file_name ~ '.twig') }}
  99.     {% endif %}
  100.     <!-- ▲{{ Block.name }} -->
  101. {% endfor %}
  102. ""block.twig""/home/xs250315/diving55.net/public_html/biotop.diving55.net/app/template/biotop/block.twig");
  103.     }
  104.     
  105.     public function checkSecurity()
  106.     {
  107.         static $tags = array("for" => 11"if" => 13);
  108.         static $filters = array("escape" => 12);
  109.         static $functions = array("render" => 14"path" => 14"include_dispatch" => 16);
  110.         try {
  111.             $this->sandbox->checkSecurity(
  112.                 ['for''if'],
  113.                 ['escape'],
  114.                 ['render''path''include_dispatch']
  115.             );
  116.         } catch (SecurityError $e) {
  117.             $e->setSourceContext($this->source);
  118.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  119.                 $e->setTemplateLine($tags[$e->getTagName()]);
  120.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  121.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  122.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  123.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  124.             }
  125.             throw $e;
  126.         }
  127.     }
  128. }