var/cache/dev/twig/88/88e768270931059b6a00b02d799159a7.php line 50

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_3fc4bbbe689151b91457e9e6f8fb6c66 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""/home/promarket/www/ec/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.             );
  125.         } catch (SecurityError $e) {
  126.             $e->setSourceContext($this->source);
  127.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  128.                 $e->setTemplateLine($tags[$e->getTagName()]);
  129.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  130.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  131.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  132.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  133.             }
  134.             throw $e;
  135.         }
  136.     }
  137. }