var/cache/dev/twig/c3/c353d0442a8cc62eb6452f18a991666b.php line 65

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_49702906b61b91b030f8769b8dfcb740 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.         $__eccube__gblobal $this->env->getGlobals();
  39.         $__eccube__eventDispatcher $__eccube__gblobal['event_dispatcher'];
  40.         $__eccube__source $this->env->getLoader()->getSourceContext($this->getTemplateName())->getCode();
  41.         $__eccube__event = new \Eccube\Event\TemplateEvent($this->getTemplateName(), $__eccube__source$context);
  42.         $__eccube__eventDispatcher->dispatch($__eccube__event$this->getTemplateName());
  43.         $context $__eccube__event->getParameters();
  44.         if ($__eccube__event->getSource() !== $__eccube__source) {
  45.             $__eccube__newTemplate $this->env->createTemplate($__eccube__event->getSource());
  46.             $__eccube__newTemplate->display($__eccube__event->getParameters(), $blocks);
  47.             return;
  48.         }
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Help/tradelaw.twig"));
  51.         // line 13
  52.         $context["body_class"] = "tradelaw";
  53.         // line 11
  54.         $this->parent $this->loadTemplate("default_frame.twig""Help/tradelaw.twig"11);
  55.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  56.         
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.     }
  61.     // line 15
  62.     public function block_main($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  69.         // line 16
  70.         echo "    <div class=\"ec-role\">
  71.         <div class=\"ec-pageHeader\">
  72.             <h1> ";
  73.         // line 18
  74.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("特定商取引法に基づく表記"), "html"nulltrue);
  75.         echo "</h1>
  76.         </div>
  77.         <div class=\"ec-off1Grid\">
  78.             <div class=\"ec-off1Grid__cell\">
  79.                 <div class=\"ec-borderedDefs\">
  80.                     ";
  81.         // line 23
  82.         $context['_parent'] = $context;
  83.         $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.'23$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.'23$this->source); })()), "name", [], "any"falsefalsetrue23) && 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.'23$this->source); })()), "description", [], "any"falsefalsetrue23)); }));
  84.         foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
  85.             // line 24
  86.             echo "                    <dl>
  87.                         <dt>
  88.                             <label class=\"ec-label\">";
  89.             // line 26
  90.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "name", [], "any"falsefalsetrue26), 26$this->source), "html"nulltrue);
  91.             echo "</label>
  92.                         </dt>
  93.                         <dd>";
  94.             // line 28
  95.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["tradelaw"], "description", [], "any"falsefalsetrue28), 28$this->source);
  96.             echo "</dd>
  97.                     </dl>
  98.                     ";
  99.         }
  100.         $_parent $context['_parent'];
  101.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
  102.         $context array_intersect_key($context$_parent) + $_parent;
  103.         // line 31
  104.         echo "                    ";
  105.         // line 95
  106.         echo "                </div>
  107.             </div>
  108.         </div>
  109.     </div>
  110. ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     public function getTemplateName()
  117.     {
  118.         return "Help/tradelaw.twig";
  119.     }
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  121 => 95,  119 => 31,  110 => 28,  105 => 26,  101 => 24,  97 => 23,  89 => 18,  85 => 16,  75 => 15,  64 => 11,  62 => 13,  37 => 11,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("{#
  131. This file is part of EC-CUBE
  132. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  133. http://www.ec-cube.co.jp/
  134. For the full copyright and license information, please view the LICENSE
  135. file that was distributed with this source code.
  136. #}
  137. {% extends 'default_frame.twig' %}
  138. {% set body_class = 'tradelaw' %}
  139. {% block main %}
  140.     <div class=\"ec-role\">
  141.         <div class=\"ec-pageHeader\">
  142.             <h1> {{ '特定商取引法に基づく表記'|trans }}</h1>
  143.         </div>
  144.         <div class=\"ec-off1Grid\">
  145.             <div class=\"ec-off1Grid__cell\">
  146.                 <div class=\"ec-borderedDefs\">
  147.                     {% for tradelaw in tradelaws|filter(t => t.name and t.description) %}
  148.                     <dl>
  149.                         <dt>
  150.                             <label class=\"ec-label\">{{ tradelaw.name }}</label>
  151.                         </dt>
  152.                         <dd>{{ tradelaw.description|raw }}</dd>
  153.                     </dl>
  154.                     {% endfor %}
  155.                     {#
  156.                     <dl>
  157.                         <dt>
  158.                             <label class=\"ec-label\">販売業者</label>
  159.                         </dt>
  160.                         <dd></dd>
  161.                     </dl>
  162.                     <dl>
  163.                         <dt>
  164.                             <label class=\"ec-label\">代表責任者</label>
  165.                         </dt>
  166.                         <dd>
  167.                         </dd>
  168.                     </dl>
  169.                     <dl>
  170.                         <dt>
  171.                             <label class=\"ec-label\">所在地</label>
  172.                         </dt>
  173.                         <dd>
  174.                         </dd>
  175.                     </dl>
  176.                     <dl>
  177.                         <dt>
  178.                             <label class=\"ec-label\">電話番号</label>
  179.                         </dt>
  180.                         <dd></dd>
  181.                     </dl>
  182.                     <dl>
  183.                         <dt>
  184.                             <label class=\"ec-label\">メールアドレス</label>
  185.                         </dt>
  186.                         <dd><a href=\"mailto:\"></a></dd>
  187.                     </dl>
  188.                     <dl>
  189.                         <dt>
  190.                             <label class=\"ec-label\">URL</label>
  191.                         </dt>
  192.                         <dd><a href=\"\"></a></dd>
  193.                     </dl>
  194.                     <dl>
  195.                         <dt>
  196.                             <label class=\"ec-label\">商品代金以外の必要料金</label>
  197.                         </dt>
  198.                         <dd></dd>
  199.                     </dl>
  200.                     <dl>
  201.                         <dt>
  202.                             <label class=\"ec-label\">引き渡し時期</label>
  203.                         </dt>
  204.                         <dd></dd>
  205.                     </dl>
  206.                     <dl>
  207.                         <dt>
  208.                             <label class=\"ec-label\">お支払方法</label>
  209.                         </dt>
  210.                         <dd></dd>
  211.                     </dl>
  212.                     <dl>
  213.                         <dt>
  214.                             <label class=\"ec-label\">返品・交換について</label>
  215.                         </dt>
  216.                         <dd></dd>
  217.                     </dl>
  218.                     #}
  219.                 </div>
  220.             </div>
  221.         </div>
  222.     </div>
  223. {% endblock %}
  224. ""Help/tradelaw.twig""/var/www/shop.temptu.co.jp/public_html/app/template/temptu/Help/tradelaw.twig");
  225.     }
  226.     
  227.     public function checkSecurity()
  228.     {
  229.         static $tags = array("set" => 13"for" => 23);
  230.         static $filters = array("escape" => 18"trans" => 18"filter" => 23"raw" => 28);
  231.         static $functions = array();
  232.         try {
  233.             $this->sandbox->checkSecurity(
  234.                 ['set''for'],
  235.                 ['escape''trans''filter''raw'],
  236.                 []
  237.             );
  238.         } catch (SecurityError $e) {
  239.             $e->setSourceContext($this->source);
  240.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  241.                 $e->setTemplateLine($tags[$e->getTagName()]);
  242.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  243.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  244.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  245.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  246.             }
  247.             throw $e;
  248.         }
  249.     }
  250. }