<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Help/tradelaw.twig */
class __TwigTemplate_f810491d5f5b543d552d084ec24b7833 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/tradelaw.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/tradelaw.twig"));
$this->parent = $this->loadTemplate("default_frame.twig", "Help/tradelaw.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 13
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 14
echo " <section class=\"p-help\">
\t\t<div class=\"p-help__heading\">
\t\t\t<h1 class=\"c-page-title\">
\t\t\t\t<span class=\"c-page-title__text\">";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("特定商取引法に基づく表記"), "html", null, true);
echo "</span>
\t\t\t</h1>
\t\t</div>
\t\t<div class=\"p-help__contents\">
\t\t\t<div class=\"p-help__tradelaw\">
";
// line 24
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); })())))) {
// line 25
echo " ";
$context['_parent'] = $context;
$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", false, false, false, 25) && 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", false, false, false, 25)); }));
foreach ($context['_seq'] as $context["_key"] => $context["tradelaw"]) {
// line 26
echo " <dl class=\"p-help__tradelaw-parts u-dl-sanitize\">
<dt class=\"p-help__tradelaw-parts-label\">
<span class=\"p-help__tradelaw-parts-label-text\">";
// line 28
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tradelaw"], "name", [], "any", false, false, false, 28), "html", null, true);
echo "</span>
</dt>
<dd class=\"p-help__tradelaw-parts-detail\">
<div class=\"p-help__tradelaw-box\">
<div class=\"p-help__tradelaw-box-item\">
<p class=\"p-help__tradelaw-text\">";
// line 33
echo twig_get_attribute($this->env, $this->source, $context["tradelaw"], "description", [], "any", false, false, false, 33);
echo "</p>
</div>
</div>
</dd>
</dl>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tradelaw'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 39
echo " ";
}
// line 40
echo "\t\t\t</div>
\t\t</div>
\t</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Help/tradelaw.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 117 => 40, 114 => 39, 102 => 33, 94 => 28, 90 => 26, 85 => 25, 83 => 24, 74 => 18, 68 => 14, 58 => 13, 35 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
http://www.lockon.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% block main %}
<section class=\"p-help\">
\t\t<div class=\"p-help__heading\">
\t\t\t<h1 class=\"c-page-title\">
\t\t\t\t<span class=\"c-page-title__text\">{{ '特定商取引法に基づく表記'|trans }}</span>
\t\t\t</h1>
\t\t</div>
\t\t<div class=\"p-help__contents\">
\t\t\t<div class=\"p-help__tradelaw\">
{% if tradelaws is defined and tradelaws is not null %}
{% for tradelaw in tradelaws|filter(t => t.name and t.description) %}
<dl class=\"p-help__tradelaw-parts u-dl-sanitize\">
<dt class=\"p-help__tradelaw-parts-label\">
<span class=\"p-help__tradelaw-parts-label-text\">{{ tradelaw.name }}</span>
</dt>
<dd class=\"p-help__tradelaw-parts-detail\">
<div class=\"p-help__tradelaw-box\">
<div class=\"p-help__tradelaw-box-item\">
<p class=\"p-help__tradelaw-text\">{{ tradelaw.description|raw }}</p>
</div>
</div>
</dd>
</dl>
{% endfor %}
{% endif %}
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "Help/tradelaw.twig", "/home/rocroc/tsmt-store.com/public_html/app/template/ss4002/Help/tradelaw.twig");
}
}