var/cache/dev/twig/fb/fb5802204a2e90d059e46a5d7f424ac3.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_e5e1d123e536383596bdac8eb8e88736 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-productRole\">
  57.         <ol class=\"breadcrumb\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  58.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  59.                 <a itemprop=\"item\" href=\"";
  60.         // line 17
  61.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  62.         echo "\">
  63.                     <span itemprop=\"name\">TOP</span>
  64.                 </a>
  65.                 <meta itemprop=\"position\" content=\"1\" />
  66.             </li>
  67.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  68.                 <a itemprop=\"item\" href=\"";
  69.         // line 23
  70.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_tradelaw");
  71.         echo "\">
  72.                     <span itemprop=\"name\">特定商取引法に基づく表記</span>
  73.                 </a>
  74.                 <meta itemprop=\"position\" content=\"2\" />
  75.             </li>
  76.         </ol>
  77.     </div>
  78.     <div class=\"ec-role\">
  79.         <div class=\"ec-pageHeader\">
  80.             <h1> ";
  81.         // line 32
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("特定商取引法に基づく表記"), "html"nulltrue);
  83.         echo "<br><span>Act on Specified Commercial Transactions</span></h1>
  84.         </div>
  85.         <div class=\"ec-off1Grid tradelaw-in\">
  86.             <div class=\"ec-off1Grid__cell\">
  87.                 <div class=\"ec-borderedDefs\">
  88.                                     <dl>
  89.                     ";
  90.         // line 38
  91.         $context['_parent'] = $context;
  92.         $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.'38$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.'38$this->source); })()), "name", [], "any"falsefalsetrue38) && 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.'38$this->source); })()), "description", [], "any"falsefalsetrue38)); }));
  93.         foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
  94.             // line 39
  95.             echo "                        <div class=\"tradelaw-li\">
  96.                         <dt>
  97.                             <label class=\"ec-label\">";
  98.             // line 41
  99.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsetrue41), 41$this->source), "html"nulltrue);
  100.             echo "</label>
  101.                         </dt>
  102.                         <dd>";
  103.             // line 43
  104.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "description", [], "any"falsefalsetrue43), 43$this->source);
  105.             echo "</dd>
  106.                         </div>
  107.                     ";
  108.         }
  109.         $_parent $context['_parent'];
  110.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  111.         $context array_intersect_key($context$_parent) + $_parent;
  112.         // line 46
  113.         echo "                                        </dl>
  114.                 </div>
  115.             </div>
  116.         </div>
  117.     </div>
  118. ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     public function getTemplateName()
  125.     {
  126.         return "Help/tradelaw.twig";
  127.     }
  128.     public function isTraitable()
  129.     {
  130.         return false;
  131.     }
  132.     public function getDebugInfo()
  133.     {
  134.         return array (  127 => 46,  118 => 43,  113 => 41,  109 => 39,  105 => 38,  96 => 32,  84 => 23,  75 => 17,  70 => 14,  60 => 13,  37 => 11,);
  135.     }
  136.     public function getSourceContext()
  137.     {
  138.         return new Source("{#
  139. This file is part of EC-CUBE
  140. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  141. http://www.ec-cube.co.jp/
  142. For the full copyright and license information, please view the LICENSE
  143. file that was distributed with this source code.
  144. #}
  145. {% extends 'default_frame.twig' %}
  146. {% block main %}
  147.     <div class=\"ec-productRole\">
  148.         <ol class=\"breadcrumb\" itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  149.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  150.                 <a itemprop=\"item\" href=\"{{ url('homepage') }}\">
  151.                     <span itemprop=\"name\">TOP</span>
  152.                 </a>
  153.                 <meta itemprop=\"position\" content=\"1\" />
  154.             </li>
  155.             <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  156.                 <a itemprop=\"item\" href=\"{{ url('help_tradelaw') }}\">
  157.                     <span itemprop=\"name\">特定商取引法に基づく表記</span>
  158.                 </a>
  159.                 <meta itemprop=\"position\" content=\"2\" />
  160.             </li>
  161.         </ol>
  162.     </div>
  163.     <div class=\"ec-role\">
  164.         <div class=\"ec-pageHeader\">
  165.             <h1> {{ '特定商取引法に基づく表記'|trans }}<br><span>Act on Specified Commercial Transactions</span></h1>
  166.         </div>
  167.         <div class=\"ec-off1Grid tradelaw-in\">
  168.             <div class=\"ec-off1Grid__cell\">
  169.                 <div class=\"ec-borderedDefs\">
  170.                                     <dl>
  171.                     {% for tradelaw in tradelaws|filter(t => t.name and t.description)  %}
  172.                         <div class=\"tradelaw-li\">
  173.                         <dt>
  174.                             <label class=\"ec-label\">{{ tradelaw.name }}</label>
  175.                         </dt>
  176.                         <dd>{{ tradelaw.description|raw }}</dd>
  177.                         </div>
  178.                     {% endfor %}
  179.                                         </dl>
  180.                 </div>
  181.             </div>
  182.         </div>
  183.     </div>
  184. {% endblock %}""Help/tradelaw.twig""/home/c9635817/public_html/attrait-shop.com/app/template/default/Help/tradelaw.twig");
  185.     }
  186.     
  187.     public function checkSecurity()
  188.     {
  189.         static $tags = array("for" => 38);
  190.         static $filters = array("escape" => 32"trans" => 32"filter" => 38"raw" => 43);
  191.         static $functions = array("url" => 17);
  192.         try {
  193.             $this->sandbox->checkSecurity(
  194.                 ['for'],
  195.                 ['escape''trans''filter''raw'],
  196.                 ['url'],
  197.                 $this->source
  198.             );
  199.         } catch (SecurityError $e) {
  200.             $e->setSourceContext($this->source);
  201.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  202.                 $e->setTemplateLine($tags[$e->getTagName()]);
  203.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  204.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  205.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  206.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  207.             }
  208.             throw $e;
  209.         }
  210.     }
  211. }