var/cache/dev/twig/3b/3bdd9cf8a448d86b3fbaa2271533b332.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. /* Help/tradelaw.twig */
  14. class __TwigTemplate_bbf4a3f0bdba7369789368b67c0e5867 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 class=\"mainttl\"> ";
  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 id=\"undercolumn\">
  64.             <div id=\"undercolumn_order\">
  65.                 <div class=\"abouts table-layout\">
  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 "                    <div class=\"tr\">
  73.                         <div class=\"th w3\">";
  74.             // line 23
  75.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsetrue23), 23$this->source), "html"nulltrue);
  76.             echo "</div>
  77.                         <div class=\"td w9\">";
  78.             // line 24
  79.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "description", [], "any"falsefalsetrue24), 24$this->source);
  80.             echo "</div>
  81.                     </div>
  82.                     ";
  83.         }
  84.         $_parent $context['_parent'];
  85.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  86.         $context array_intersect_key($context$_parent) + $_parent;
  87.         // line 27
  88.         echo "                </div>
  89.             </div>
  90.         </div>
  91.     </div>
  92. ";
  93.         
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  95.         
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  97.     }
  98.     public function getTemplateName()
  99.     {
  100.         return "Help/tradelaw.twig";
  101.     }
  102.     public function isTraitable()
  103.     {
  104.         return false;
  105.     }
  106.     public function getDebugInfo()
  107.     {
  108.         return array (  102 => 27,  93 => 24,  89 => 23,  86 => 22,  82 => 21,  74 => 16,  70 => 14,  60 => 13,  37 => 11,);
  109.     }
  110.     public function getSourceContext()
  111.     {
  112.         return new Source("{#
  113. This file is part of EC-CUBE
  114. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  115. http://www.ec-cube.co.jp/
  116. For the full copyright and license information, please view the LICENSE
  117. file that was distributed with this source code.
  118. #}
  119. {% extends 'default_frame.twig' %}
  120. {% block main %}
  121.     <div class=\"ec-role\">
  122.         <div class=\"ec-pageHeader\">
  123.             <h1 class=\"mainttl\"> {{ '特定商取引に関する法律に基づく表記'|trans }}</h1>
  124.         </div>
  125.         <div id=\"undercolumn\">
  126.             <div id=\"undercolumn_order\">
  127.                 <div class=\"abouts table-layout\">
  128.                     {% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  129.                     <div class=\"tr\">
  130.                         <div class=\"th w3\">{{ tradelaw.name }}</div>
  131.                         <div class=\"td w9\">{{ tradelaw.description|raw }}</div>
  132.                     </div>
  133.                     {% endfor %}
  134.                 </div>
  135.             </div>
  136.         </div>
  137.     </div>
  138. {% endblock %}""Help/tradelaw.twig""/home/higashiyamashobo/www/higashiyamashobo.jpn.org/ec-cube/app/template/default/Help/tradelaw.twig");
  139.     }
  140.     
  141.     public function checkSecurity()
  142.     {
  143.         static $tags = array("for" => 21);
  144.         static $filters = array("escape" => 16"trans" => 16"filter" => 21"raw" => 24);
  145.         static $functions = array();
  146.         try {
  147.             $this->sandbox->checkSecurity(
  148.                 ['for'],
  149.                 ['escape''trans''filter''raw'],
  150.                 []
  151.             );
  152.         } catch (SecurityError $e) {
  153.             $e->setSourceContext($this->source);
  154.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  155.                 $e->setTemplateLine($tags[$e->getTagName()]);
  156.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  157.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  158.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  159.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  160.             }
  161.             throw $e;
  162.         }
  163.     }
  164. }