var/cache/dev/twig/bd/bd0fea2a46c5f451baca88c96c0ab2fe.php line 35

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/header.twig */
  14. class __TwigTemplate_b358ab2505fbf40c0ae3546f7a24d7db 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/header.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/header.twig"));
  35.         // line 11
  36.         echo "<div class=\"ec-headerNaviRole\">
  37.     <div class=\"ec-headerNaviRole__left\">
  38.         <div class=\"ec-headerNaviRole__search\">
  39.             ";
  40.         // line 14
  41.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  42.         echo "
  43.         </div>
  44.         <div class=\"ec-headerRole__navSP\">
  45.             ";
  46.         // line 17
  47.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/nav_sp.twig");
  48.         echo "
  49.         </div>
  50.     </div>
  51.     <div class=\"ec-headerNaviRole__right\">
  52.         <div class=\"ec-headerNaviRole__nav\">
  53.             ";
  54.         // line 22
  55.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  56.         echo "
  57.         </div>
  58.         <div class=\"ec-headerRole__cart\">
  59.             ";
  60.         // line 25
  61.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/cart.twig");
  62.         echo "
  63.         </div>
  64.     </div>
  65. </div>
  66. ";
  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/header.twig";
  75.     }
  76.     public function isTraitable()
  77.     {
  78.         return false;
  79.     }
  80.     public function getDebugInfo()
  81.     {
  82.         return array (  70 => 25,  64 => 22,  56 => 17,  50 => 14,  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. <div class=\"ec-headerNaviRole\">
  94.     <div class=\"ec-headerNaviRole__left\">
  95.         <div class=\"ec-headerNaviRole__search\">
  96.             {{ render(path('block_search_product')) }}
  97.         </div>
  98.         <div class=\"ec-headerRole__navSP\">
  99.             {{ include('Block/nav_sp.twig') }}
  100.         </div>
  101.     </div>
  102.     <div class=\"ec-headerNaviRole__right\">
  103.         <div class=\"ec-headerNaviRole__nav\">
  104.             {{ include('Block/login.twig') }}
  105.         </div>
  106.         <div class=\"ec-headerRole__cart\">
  107.             {{ include('Block/cart.twig') }}
  108.         </div>
  109.     </div>
  110. </div>
  111. ""Block/header.twig""/var/www/ec-cube-dev.cdb-lab.com/releases/153/src/Eccube/Resource/template/default/Block/header.twig");
  112.     }
  113.     
  114.     public function checkSecurity()
  115.     {
  116.         static $tags = array();
  117.         static $filters = array();
  118.         static $functions = array("render" => 14"path" => 14"include" => 17);
  119.         try {
  120.             $this->sandbox->checkSecurity(
  121.                 [],
  122.                 [],
  123.                 ['render''path''include'],
  124.                 $this->source
  125.             );
  126.         } catch (SecurityError $e) {
  127.             $e->setSourceContext($this->source);
  128.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  129.                 $e->setTemplateLine($tags[$e->getTagName()]);
  130.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  131.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  132.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  133.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  134.             }
  135.             throw $e;
  136.         }
  137.     }
  138. }