<?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/about.twig */
class __TwigTemplate_9452b3e307a1a9ea78baffc95e913311 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'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
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/about.twig"));
$__eccube__gblobal = $this->env->getGlobals();
$__eccube__eventDispatcher = $__eccube__gblobal['event_dispatcher'];
$__eccube__source = $this->env->getLoader()->getSourceContext($this->getTemplateName())->getCode();
$__eccube__event = new \Eccube\Event\TemplateEvent($this->getTemplateName(), $__eccube__source, $context);
$__eccube__eventDispatcher->dispatch($__eccube__event, $this->getTemplateName());
$context = $__eccube__event->getParameters();
if ($__eccube__event->getSource() !== $__eccube__source) {
$__eccube__newTemplate = $this->env->createTemplate($__eccube__event->getSource());
$__eccube__newTemplate->display($__eccube__event->getParameters(), $blocks);
return;
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/about.twig"));
// line 13
$context["body_class"] = "about";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Help/about.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
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 16
echo "
<div class=\"ec-role\">
<div class=\"ec-pageHeader\">
<h1>";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("当サイトについて"), "html", null, true);
echo "</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<div class=\"ec-borderedDefs\">
";
// line 24
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "shop_name", [], "any", true, true, true, 24)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "shop_name", [], "any", false, false, true, 24))) : ("")))) {
// line 25
echo " <dl id=\"help_about_box__shop_name\">
<dt>
<label class=\"ec-label\">";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("店名"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 29
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 29, $this->source); })()), "shop_name", [], "any", false, false, true, 29), 29, $this->source), "html", null, true);
echo "</dd>
</dl>
";
}
// line 32
echo " ";
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "company_name", [], "any", true, true, true, 32)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "company_name", [], "any", false, false, true, 32))) : ("")))) {
// line 33
echo " <dl id=\"help_about_box__company_name\">
<dt>
<label class=\"ec-label\">";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("会社名"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 37
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 37, $this->source); })()), "company_name", [], "any", false, false, true, 37), 37, $this->source), "html", null, true);
echo "</dd>
</dl>
";
}
// line 40
echo "
";
// line 41
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "postal_code", [], "any", true, true, true, 41)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "postal_code", [], "any", false, false, true, 41))) : ("")))) {
// line 42
echo " <dl id=\"help_about_box__address\">
<dt>
<label class=\"ec-label\">";
// line 44
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("住所"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html", null, true);
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 46, $this->source); })()), "postal_code", [], "any", false, false, true, 46), 46, $this->source), "html", null, true);
echo "<br />
";
// line 47
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 47, $this->source); })()), "pref", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 47, $this->source); })()), "addr01", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 47, $this->source); })()), "addr02", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
echo "
</dd>
</dl>
";
}
// line 51
echo "
";
// line 52
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "phone_number", [], "any", true, true, true, 52)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "phone_number", [], "any", false, false, true, 52))) : ("")))) {
// line 53
echo " <dl id=\"help_about_box__phone_number\">
<dt>
<label class=\"ec-label\">";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("電話番号"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 57
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 57, $this->source); })()), "phone_number", [], "any", false, false, true, 57), 57, $this->source), "html", null, true);
echo "</dd>
</dl>
";
}
// line 60
echo "
";
// line 61
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "business_hour", [], "any", true, true, true, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "business_hour", [], "any", false, false, true, 61))) : ("")))) {
// line 62
echo " <dl id=\"help_about_box__business_hour\">
<dt>
<label class=\"ec-label\">";
// line 64
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("店舗営業時間"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 66
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 66, $this->source); })()), "business_hour", [], "any", false, false, true, 66), 66, $this->source), "html", null, true);
echo "</dd>
</dl>
";
}
// line 69
echo "
";
// line 70
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "good_traded", [], "any", true, true, true, 70)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "good_traded", [], "any", false, false, true, 70))) : ("")))) {
// line 71
echo " <dl id=\"help_about_box__good_traded\">
<dt>
<label class=\"ec-label\">";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("取り扱い商品"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 75
echo twig_nl2br(twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 75, $this->source); })()), "good_traded", [], "any", false, false, true, 75), 75, $this->source), "html", null, true));
echo "</dd>
</dl>
";
}
// line 78
echo "
";
// line 79
if ( !twig_test_empty(((twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "message", [], "any", true, true, true, 79)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["BaseInfo"] ?? null), "message", [], "any", false, false, true, 79))) : ("")))) {
// line 80
echo " <dl id=\"help_about_box__message\">
<dt>
<label class=\"ec-label\">";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メッセージ"), "html", null, true);
echo "</label>
</dt>
<dd>";
// line 84
echo twig_nl2br(twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo", $context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.', 84, $this->source); })()), "message", [], "any", false, false, true, 84), 84, $this->source), "html", null, true));
echo "</dd>
</dl>
";
}
// line 87
echo " </div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Help/about.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 241 => 87, 235 => 84, 230 => 82, 226 => 80, 224 => 79, 221 => 78, 215 => 75, 210 => 73, 206 => 71, 204 => 70, 201 => 69, 195 => 66, 190 => 64, 186 => 62, 184 => 61, 181 => 60, 175 => 57, 170 => 55, 166 => 53, 164 => 52, 161 => 51, 152 => 47, 147 => 46, 142 => 44, 138 => 42, 136 => 41, 133 => 40, 127 => 37, 122 => 35, 118 => 33, 115 => 32, 109 => 29, 104 => 27, 100 => 25, 98 => 24, 90 => 19, 85 => 16, 75 => 15, 64 => 11, 62 => 13, 37 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.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' %}
{% set body_class = 'about' %}
{% block main %}
<div class=\"ec-role\">
<div class=\"ec-pageHeader\">
<h1>{{ '当サイトについて'|trans }}</h1>
</div>
<div class=\"ec-off1Grid\">
<div class=\"ec-off1Grid__cell\">
<div class=\"ec-borderedDefs\">
{% if BaseInfo.shop_name|default is not empty %}
<dl id=\"help_about_box__shop_name\">
<dt>
<label class=\"ec-label\">{{ '店名'|trans }}</label>
</dt>
<dd>{{ BaseInfo.shop_name }}</dd>
</dl>
{% endif %}
{% if BaseInfo.company_name|default is not empty %}
<dl id=\"help_about_box__company_name\">
<dt>
<label class=\"ec-label\">{{ '会社名'|trans }}</label>
</dt>
<dd>{{ BaseInfo.company_name }}</dd>
</dl>
{% endif %}
{% if BaseInfo.postal_code|default is not empty %}
<dl id=\"help_about_box__address\">
<dt>
<label class=\"ec-label\">{{ '住所'|trans }}</label>
</dt>
<dd>{{ '〒'|trans }}{{ BaseInfo.postal_code }}<br />
{{ BaseInfo.pref }}{{ BaseInfo.addr01 }}{{ BaseInfo.addr02 }}
</dd>
</dl>
{% endif %}
{% if BaseInfo.phone_number|default is not empty %}
<dl id=\"help_about_box__phone_number\">
<dt>
<label class=\"ec-label\">{{ '電話番号'|trans }}</label>
</dt>
<dd>{{ BaseInfo.phone_number }}</dd>
</dl>
{% endif %}
{% if BaseInfo.business_hour|default is not empty %}
<dl id=\"help_about_box__business_hour\">
<dt>
<label class=\"ec-label\">{{ '店舗営業時間'|trans }}</label>
</dt>
<dd>{{ BaseInfo.business_hour }}</dd>
</dl>
{% endif %}
{% if BaseInfo.good_traded|default is not empty %}
<dl id=\"help_about_box__good_traded\">
<dt>
<label class=\"ec-label\">{{ '取り扱い商品'|trans }}</label>
</dt>
<dd>{{ BaseInfo.good_traded|nl2br }}</dd>
</dl>
{% endif %}
{% if BaseInfo.message|default is not empty %}
<dl id=\"help_about_box__message\">
<dt>
<label class=\"ec-label\">{{ 'メッセージ'|trans }}</label>
</dt>
<dd>{{ BaseInfo.message|nl2br }}</dd>
</dl>
{% endif %}
</div>
</div>
</div>
</div>
{% endblock %}
", "Help/about.twig", "/var/www/shop.temptu.co.jp/public_html/app/template/temptu/Help/about.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 13, "if" => 24);
static $filters = array("escape" => 19, "trans" => 19, "default" => 24, "nl2br" => 75);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape', 'trans', 'default', 'nl2br'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}