var/cache/dev/twig/ee/ee7ddf3a0b31cf4039558cc8a1e49410.php line 48

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_f810491d5f5b543d552d084ec24b7833 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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 11
  29.         return "default_frame.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/tradelaw.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/tradelaw.twig"));
  38.         $this->parent $this->loadTemplate("default_frame.twig""Help/tradelaw.twig"11);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 13
  46.     public function block_main($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         // line 14
  54.         echo "    <section class=\"p-help\">
  55. \t\t<div class=\"p-help__heading\">
  56. \t\t\t<h1 class=\"c-page-title\">
  57. \t\t\t\t<span class=\"c-page-title__text\">";
  58.         // line 18
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("特定商取引法に基づく表記"), "html"nulltrue);
  60.         echo "</span>
  61. \t\t\t</h1>
  62. \t\t</div>
  63. \t\t<div class=\"p-help__contents\">
  64. \t\t\t<div class=\"p-help__tradelaw\">
  65.                 ";
  66.         // line 24
  67.         if ((array_key_exists("tradelaws"$context) &&  !(null === (isset($context["tradelaws"]) || array_key_exists("tradelaws"$context) ? $context["tradelaws"] : (function () { throw new RuntimeError('Variable "tradelaws" does not exist.'24$this->source); })())))) {
  68.             // line 25
  69.             echo "                    ";
  70.             $context['_parent'] = $context;
  71.             $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.'25$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.'25$this->source); })()), "name", [], "any"falsefalsefalse25) && 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.'25$this->source); })()), "description", [], "any"falsefalsefalse25)); }));
  72.             foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
  73.                 // line 26
  74.                 echo "                        <dl class=\"p-help__tradelaw-parts u-dl-sanitize\">
  75.                             <dt class=\"p-help__tradelaw-parts-label\">
  76.                                 <span class=\"p-help__tradelaw-parts-label-text\">";
  77.                 // line 28
  78.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsefalse28), "html"nulltrue);
  79.                 echo "</span>
  80.                             </dt>
  81.                             <dd class=\"p-help__tradelaw-parts-detail\">
  82.                                 <div class=\"p-help__tradelaw-box\">
  83.                                     <div class=\"p-help__tradelaw-box-item\">
  84.                                         <p class=\"p-help__tradelaw-text\">";
  85.                 // line 33
  86.                 echo twig_get_attribute($this->env$this->source$context["tradelaw"], "description", [], "any"falsefalsefalse33);
  87.                 echo "</p>
  88.                                     </div>
  89.                                 </div>
  90.                             </dd>
  91.                         </dl>
  92.                     ";
  93.             }
  94.             $_parent $context['_parent'];
  95.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  96.             $context array_intersect_key($context$_parent) + $_parent;
  97.             // line 39
  98.             echo "                ";
  99.         }
  100.         // line 40
  101.         echo "\t\t\t</div>
  102. \t\t</div>
  103. \t</section>
  104. ";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     public function getTemplateName()
  111.     {
  112.         return "Help/tradelaw.twig";
  113.     }
  114.     public function isTraitable()
  115.     {
  116.         return false;
  117.     }
  118.     public function getDebugInfo()
  119.     {
  120.         return array (  117 => 40,  114 => 39,  102 => 33,  94 => 28,  90 => 26,  85 => 25,  83 => 24,  74 => 18,  68 => 14,  58 => 13,  35 => 11,);
  121.     }
  122.     public function getSourceContext()
  123.     {
  124.         return new Source("{#
  125. This file is part of EC-CUBE
  126. Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
  127. http://www.lockon.co.jp/
  128. For the full copyright and license information, please view the LICENSE
  129. file that was distributed with this source code.
  130. #}
  131. {% extends 'default_frame.twig' %}
  132. {% block main %}
  133.     <section class=\"p-help\">
  134. \t\t<div class=\"p-help__heading\">
  135. \t\t\t<h1 class=\"c-page-title\">
  136. \t\t\t\t<span class=\"c-page-title__text\">{{ '特定商取引法に基づく表記'|trans }}</span>
  137. \t\t\t</h1>
  138. \t\t</div>
  139. \t\t<div class=\"p-help__contents\">
  140. \t\t\t<div class=\"p-help__tradelaw\">
  141.                 {% if tradelaws is defined and tradelaws is not null %}
  142.                     {% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  143.                         <dl class=\"p-help__tradelaw-parts u-dl-sanitize\">
  144.                             <dt class=\"p-help__tradelaw-parts-label\">
  145.                                 <span class=\"p-help__tradelaw-parts-label-text\">{{ tradelaw.name }}</span>
  146.                             </dt>
  147.                             <dd class=\"p-help__tradelaw-parts-detail\">
  148.                                 <div class=\"p-help__tradelaw-box\">
  149.                                     <div class=\"p-help__tradelaw-box-item\">
  150.                                         <p class=\"p-help__tradelaw-text\">{{ tradelaw.description|raw }}</p>
  151.                                     </div>
  152.                                 </div>
  153.                             </dd>
  154.                         </dl>
  155.                     {% endfor %}
  156.                 {% endif %}
  157. \t\t\t</div>
  158. \t\t</div>
  159. \t</section>
  160. {% endblock %}
  161. ""Help/tradelaw.twig""/home/rocroc/tsmt-store.com/public_html/app/template/ss4002/Help/tradelaw.twig");
  162.     }
  163. }