var/cache/dev/twig/a9/a920a331dd9a7d9143242d4532195749.php line 40

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. /* Help/tradelaw.twig */
  14. class __TwigTemplate_8a94b5cab3b1c3804d42149870a141b5 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->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/tradelaw.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/tradelaw.twig"));
  40.         $this->parent $this->loadTemplate("default_frame.twig""Help/tradelaw.twig"11);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 13
  48.     public function block_main($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  55.         // line 14
  56.         echo "    <div class=\"ec-role\">
  57.         <div class=\"ec-pageHeader\">
  58.             <h1> ";
  59.         // line 16
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("特定商取引法に基づく表記"), "html"nulltrue);
  61.         echo "</h1>
  62.         </div>
  63.         <div class=\"ec-off1Grid\">
  64.             <div class=\"ec-off1Grid__cell\">
  65.                 <div class=\"ec-borderedDefs\">
  66.                     ";
  67.         // line 21
  68.         $context['_parent'] = $context;
  69.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["tradelaws"]) || array_key_exists("tradelaws"$context) ? $context["tradelaws"] : (function () { throw new RuntimeError('Variable "tradelaws" does not exist.'21$this->source); })()), function ($__t__) use ($context$macros) { $context["t"] = $__t__; return (twig_get_attribute($this->env$this->source, (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'21$this->source); })()), "name", [], "any"falsefalsetrue21) && twig_get_attribute($this->env$this->source, (isset($context["t"]) || array_key_exists("t"$context) ? $context["t"] : (function () { throw new RuntimeError('Variable "t" does not exist.'21$this->source); })()), "description", [], "any"falsefalsetrue21)); }));
  70.         foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
  71.             // line 22
  72.             echo "                    <dl>
  73.                         <dt>
  74.                             <label class=\"ec-label\">";
  75.             // line 24
  76.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsetrue24), 24$this->source), "html"nulltrue);
  77.             echo "</label>
  78.                         </dt>
  79.                         <dd>";
  80.             // line 26
  81.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "description", [], "any"falsefalsetrue26), 26$this->source);
  82.             echo "</dd>
  83.                     </dl>
  84.                     ";
  85.         }
  86.         $_parent $context['_parent'];
  87.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  88.         $context array_intersect_key($context$_parent) + $_parent;
  89.         // line 29
  90.         echo "                </div>
  91.             </div>
  92.         </div>
  93.     </div>
  94. ";
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99.     }
  100.     public function getTemplateName()
  101.     {
  102.         return "Help/tradelaw.twig";
  103.     }
  104.     public function isTraitable()
  105.     {
  106.         return false;
  107.     }
  108.     public function getDebugInfo()
  109.     {
  110.         return array (  104 => 29,  95 => 26,  90 => 24,  86 => 22,  82 => 21,  74 => 16,  70 => 14,  60 => 13,  37 => 11,);
  111.     }
  112.     public function getSourceContext()
  113.     {
  114.         return new Source("{#
  115. This file is part of EC-CUBE
  116. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  117. http://www.ec-cube.co.jp/
  118. For the full copyright and license information, please view the LICENSE
  119. file that was distributed with this source code.
  120. #}
  121. {% extends 'default_frame.twig' %}
  122. {% block main %}
  123.     <div class=\"ec-role\">
  124.         <div class=\"ec-pageHeader\">
  125.             <h1> {{ '特定商取引法に基づく表記'|trans }}</h1>
  126.         </div>
  127.         <div class=\"ec-off1Grid\">
  128.             <div class=\"ec-off1Grid__cell\">
  129.                 <div class=\"ec-borderedDefs\">
  130.                     {% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  131.                     <dl>
  132.                         <dt>
  133.                             <label class=\"ec-label\">{{ tradelaw.name }}</label>
  134.                         </dt>
  135.                         <dd>{{ tradelaw.description|raw }}</dd>
  136.                     </dl>
  137.                     {% endfor %}
  138.                 </div>
  139.             </div>
  140.         </div>
  141.     </div>
  142. {% endblock %}
  143. ""Help/tradelaw.twig""/home/egonet/c-bcl.com/public_html/shop/src/Eccube/Resource/template/default/Help/tradelaw.twig");
  144.     }
  145.     
  146.     public function checkSecurity()
  147.     {
  148.         static $tags = array("for" => 21);
  149.         static $filters = array("escape" => 16"trans" => 16"filter" => 21"raw" => 26);
  150.         static $functions = array();
  151.         try {
  152.             $this->sandbox->checkSecurity(
  153.                 ['for'],
  154.                 ['escape''trans''filter''raw'],
  155.                 []
  156.             );
  157.         } catch (SecurityError $e) {
  158.             $e->setSourceContext($this->source);
  159.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  160.                 $e->setTemplateLine($tags[$e->getTagName()]);
  161.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  162.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  163.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  164.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  165.             }
  166.             throw $e;
  167.         }
  168.     }
  169. }