var/cache/dev/twig/22/2232560f4dcd61c966436162d59e0fd8.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_323270db624c1e57f662067a126ab17e 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 narrow-contents\">
  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=\"content-inner content-help\">
  64.         <ul class=\"content-help__list\">
  65.             ";
  66.         // line 20
  67.         $context['_parent'] = $context;
  68.         $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.'20$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.'20$this->source); })()), "name", [], "any"falsefalsetrue20) && 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.'20$this->source); })()), "description", [], "any"falsefalsetrue20)); }));
  69.         foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
  70.             // line 21
  71.             echo "            <li>
  72.                 <dl>
  73.                     <dt>";
  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 "</dt>
  77.                     <dd>";
  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 "</dd>
  81.                 </dl>
  82.             </li>
  83.             ";
  84.         }
  85.         $_parent $context['_parent'];
  86.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  87.         $context array_intersect_key($context$_parent) + $_parent;
  88.         // line 28
  89.         echo "        </ul>
  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 (  103 => 28,  93 => 24,  89 => 23,  85 => 21,  81 => 20,  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 narrow-contents\">
  122.     <div class=\"ec-pageHeader\">
  123.         <h1> {{ '特定商取引法に基づく表記'|trans }}</h1>
  124.     </div>
  125.     <div class=\"content-inner content-help\">
  126.         <ul class=\"content-help__list\">
  127.             {% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  128.             <li>
  129.                 <dl>
  130.                     <dt>{{ tradelaw.name }}</dt>
  131.                     <dd>{{ tradelaw.description|raw }}</dd>
  132.                 </dl>
  133.             </li>
  134.             {% endfor %}
  135.         </ul>
  136.     </div>
  137. </div>
  138. {% endblock %}
  139. ""Help/tradelaw.twig""/home/xs362797/magamar.jp/public_html/app/template/magamar/Help/tradelaw.twig");
  140.     }
  141.     
  142.     public function checkSecurity()
  143.     {
  144.         static $tags = array("for" => 20);
  145.         static $filters = array("escape" => 16"trans" => 16"filter" => 20"raw" => 24);
  146.         static $functions = array();
  147.         try {
  148.             $this->sandbox->checkSecurity(
  149.                 ['for'],
  150.                 ['escape''trans''filter''raw'],
  151.                 []
  152.             );
  153.         } catch (SecurityError $e) {
  154.             $e->setSourceContext($this->source);
  155.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  156.                 $e->setTemplateLine($tags[$e->getTagName()]);
  157.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  158.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  159.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  160.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  161.             }
  162.             throw $e;
  163.         }
  164.     }
  165. }