var/cache/dev/twig/96/96cf921ad770bb1a8b0f563d0fe6e2de.php line 38

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/about.twig */
  14. class __TwigTemplate_171edaad7d311f43085bdb577cd9daa6 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/about.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/about.twig"));
  38.         $this->parent $this->loadTemplate("default_frame.twig""Help/about.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 "
  55. <div class=\"ec-role\">
  56.     <div class=\"ec-pageHeader\">
  57.         <h1>";
  58.         // line 17
  59.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("当サイトについて"), "html"nulltrue);
  60.         echo "</h1>
  61.     </div>
  62.     <div class=\"ec-off1Grid\">
  63.         <div class=\"ec-off1Grid__cell\">
  64.             <div class=\"ec-borderedDefs\">
  65.                 ";
  66.         // line 22
  67.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "shop_name", [], "any"truetruefalse22)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "shop_name", [], "any"falsefalsefalse22))) : ("")))) {
  68.             // line 23
  69.             echo "                    <dl id=\"help_about_box__shop_name\">
  70.                         <dt>
  71.                             <label class=\"ec-label\">";
  72.             // line 25
  73.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("店名"), "html"nulltrue);
  74.             echo "</label>
  75.                         </dt>
  76.                         <dd>";
  77.             // line 27
  78.             echo twig_escape_filter($this->envtwig_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.'27$this->source); })()), "shop_name", [], "any"falsefalsefalse27), "html"nulltrue);
  79.             echo "</dd>
  80.                     </dl>
  81.                 ";
  82.         }
  83.         // line 30
  84.         echo "                ";
  85.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "company_name", [], "any"truetruefalse30)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "company_name", [], "any"falsefalsefalse30))) : ("")))) {
  86.             // line 31
  87.             echo "                    <dl id=\"help_about_box__company_name\">
  88.                         <dt>
  89.                             <label class=\"ec-label\">";
  90.             // line 33
  91.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("会社名"), "html"nulltrue);
  92.             echo "</label>
  93.                         </dt>
  94.                         <dd>";
  95.             // line 35
  96.             echo twig_escape_filter($this->envtwig_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.'35$this->source); })()), "company_name", [], "any"falsefalsefalse35), "html"nulltrue);
  97.             echo "</dd>
  98.                     </dl>
  99.                 ";
  100.         }
  101.         // line 38
  102.         echo "
  103.                 ";
  104.         // line 39
  105.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "postal_code", [], "any"truetruefalse39)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "postal_code", [], "any"falsefalsefalse39))) : ("")))) {
  106.             // line 40
  107.             echo "                    <dl id=\"help_about_box__address\">
  108.                         <dt>
  109.                             <label class=\"ec-label\">";
  110.             // line 42
  111.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("住所"), "html"nulltrue);
  112.             echo "</label>
  113.                         </dt>
  114.                         <dd>";
  115.             // line 44
  116.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  117.             echo twig_escape_filter($this->envtwig_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.'44$this->source); })()), "postal_code", [], "any"falsefalsefalse44), "html"nulltrue);
  118.             echo "<br />
  119.                             ";
  120.             // line 45
  121.             echo twig_escape_filter($this->envtwig_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.'45$this->source); })()), "pref", [], "any"falsefalsefalse45), "html"nulltrue);
  122.             echo twig_escape_filter($this->envtwig_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.'45$this->source); })()), "addr01", [], "any"falsefalsefalse45), "html"nulltrue);
  123.             echo twig_escape_filter($this->envtwig_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.'45$this->source); })()), "addr02", [], "any"falsefalsefalse45), "html"nulltrue);
  124.             echo "
  125.                         </dd>
  126.                     </dl>
  127.                 ";
  128.         }
  129.         // line 49
  130.         echo "
  131.                 ";
  132.         // line 50
  133.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "phone_number", [], "any"truetruefalse50)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "phone_number", [], "any"falsefalsefalse50))) : ("")))) {
  134.             // line 51
  135.             echo "                    <dl id=\"help_about_box__phone_number\">
  136.                         <dt>
  137.                             <label class=\"ec-label\">";
  138.             // line 53
  139.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("電話番号"), "html"nulltrue);
  140.             echo "</label>
  141.                         </dt>
  142.                         <dd>";
  143.             // line 55
  144.             echo twig_escape_filter($this->envtwig_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.'55$this->source); })()), "phone_number", [], "any"falsefalsefalse55), "html"nulltrue);
  145.             echo "</dd>
  146.                     </dl>
  147.                 ";
  148.         }
  149.         // line 58
  150.         echo "
  151.                 ";
  152.         // line 59
  153.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "business_hour", [], "any"truetruefalse59)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "business_hour", [], "any"falsefalsefalse59))) : ("")))) {
  154.             // line 60
  155.             echo "                    <dl id=\"help_about_box__business_hour\">
  156.                         <dt>
  157.                             <label class=\"ec-label\">";
  158.             // line 62
  159.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("店舗営業時間"), "html"nulltrue);
  160.             echo "</label>
  161.                         </dt>
  162.                         <dd>";
  163.             // line 64
  164.             echo twig_escape_filter($this->envtwig_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.'64$this->source); })()), "business_hour", [], "any"falsefalsefalse64), "html"nulltrue);
  165.             echo "</dd>
  166.                     </dl>
  167.                 ";
  168.         }
  169.         // line 67
  170.         echo "
  171.                 ";
  172.         // line 68
  173.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "good_traded", [], "any"truetruefalse68)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "good_traded", [], "any"falsefalsefalse68))) : ("")))) {
  174.             // line 69
  175.             echo "                    <dl id=\"help_about_box__good_traded\">
  176.                         <dt>
  177.                             <label class=\"ec-label\">";
  178.             // line 71
  179.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("取り扱い商品"), "html"nulltrue);
  180.             echo "</label>
  181.                         </dt>
  182.                         <dd>";
  183.             // line 73
  184.             echo twig_nl2br(twig_escape_filter($this->envtwig_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.'73$this->source); })()), "good_traded", [], "any"falsefalsefalse73), "html"nulltrue));
  185.             echo "</dd>
  186.                     </dl>
  187.                 ";
  188.         }
  189.         // line 76
  190.         echo "
  191.                 ";
  192.         // line 77
  193.         if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "message", [], "any"truetruefalse77)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["BaseInfo"] ?? null), "message", [], "any"falsefalsefalse77))) : ("")))) {
  194.             // line 78
  195.             echo "                    <dl id=\"help_about_box__message\">
  196.                         <dt>
  197.                             <label class=\"ec-label\">";
  198.             // line 80
  199.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メッセージ"), "html"nulltrue);
  200.             echo "</label>
  201.                         </dt>
  202.                         <dd>";
  203.             // line 82
  204.             echo twig_nl2br(twig_escape_filter($this->envtwig_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.'82$this->source); })()), "message", [], "any"falsefalsefalse82), "html"nulltrue));
  205.             echo "</dd>
  206.                     </dl>
  207.                 ";
  208.         }
  209.         // line 85
  210.         echo "            </div>
  211.         </div>
  212.     </div>
  213. </div>
  214. ";
  215.         
  216.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  217.         
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  219.     }
  220.     public function getTemplateName()
  221.     {
  222.         return "Help/about.twig";
  223.     }
  224.     public function isTraitable()
  225.     {
  226.         return false;
  227.     }
  228.     public function getDebugInfo()
  229.     {
  230.         return array (  224 => 85,  218 => 82,  213 => 80,  209 => 78,  207 => 77,  204 => 76,  198 => 73,  193 => 71,  189 => 69,  187 => 68,  184 => 67,  178 => 64,  173 => 62,  169 => 60,  167 => 59,  164 => 58,  158 => 55,  153 => 53,  149 => 51,  147 => 50,  144 => 49,  135 => 45,  130 => 44,  125 => 42,  121 => 40,  119 => 39,  116 => 38,  110 => 35,  105 => 33,  101 => 31,  98 => 30,  92 => 27,  87 => 25,  83 => 23,  81 => 22,  73 => 17,  68 => 14,  58 => 13,  35 => 11,);
  231.     }
  232.     public function getSourceContext()
  233.     {
  234.         return new Source("{#
  235. This file is part of EC-CUBE
  236. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  237. http://www.ec-cube.co.jp/
  238. For the full copyright and license information, please view the LICENSE
  239. file that was distributed with this source code.
  240. #}
  241. {% extends 'default_frame.twig' %}
  242. {% block main %}
  243. <div class=\"ec-role\">
  244.     <div class=\"ec-pageHeader\">
  245.         <h1>{{ '当サイトについて'|trans }}</h1>
  246.     </div>
  247.     <div class=\"ec-off1Grid\">
  248.         <div class=\"ec-off1Grid__cell\">
  249.             <div class=\"ec-borderedDefs\">
  250.                 {% if BaseInfo.shop_name|default is not empty %}
  251.                     <dl id=\"help_about_box__shop_name\">
  252.                         <dt>
  253.                             <label class=\"ec-label\">{{ '店名'|trans }}</label>
  254.                         </dt>
  255.                         <dd>{{ BaseInfo.shop_name }}</dd>
  256.                     </dl>
  257.                 {% endif %}
  258.                 {% if BaseInfo.company_name|default is not empty %}
  259.                     <dl id=\"help_about_box__company_name\">
  260.                         <dt>
  261.                             <label class=\"ec-label\">{{ '会社名'|trans }}</label>
  262.                         </dt>
  263.                         <dd>{{ BaseInfo.company_name }}</dd>
  264.                     </dl>
  265.                 {% endif %}
  266.                 {% if BaseInfo.postal_code|default is not empty %}
  267.                     <dl id=\"help_about_box__address\">
  268.                         <dt>
  269.                             <label class=\"ec-label\">{{ '住所'|trans }}</label>
  270.                         </dt>
  271.                         <dd>{{ '〒'|trans }}{{ BaseInfo.postal_code }}<br />
  272.                             {{ BaseInfo.pref }}{{ BaseInfo.addr01 }}{{ BaseInfo.addr02 }}
  273.                         </dd>
  274.                     </dl>
  275.                 {% endif %}
  276.                 {% if BaseInfo.phone_number|default is not empty %}
  277.                     <dl id=\"help_about_box__phone_number\">
  278.                         <dt>
  279.                             <label class=\"ec-label\">{{ '電話番号'|trans }}</label>
  280.                         </dt>
  281.                         <dd>{{ BaseInfo.phone_number }}</dd>
  282.                     </dl>
  283.                 {% endif %}
  284.                 {% if BaseInfo.business_hour|default is not empty %}
  285.                     <dl id=\"help_about_box__business_hour\">
  286.                         <dt>
  287.                             <label class=\"ec-label\">{{ '店舗営業時間'|trans }}</label>
  288.                         </dt>
  289.                         <dd>{{ BaseInfo.business_hour }}</dd>
  290.                     </dl>
  291.                 {% endif %}
  292.                 {% if BaseInfo.good_traded|default is not empty %}
  293.                     <dl id=\"help_about_box__good_traded\">
  294.                         <dt>
  295.                             <label class=\"ec-label\">{{ '取り扱い商品'|trans }}</label>
  296.                         </dt>
  297.                         <dd>{{ BaseInfo.good_traded|nl2br }}</dd>
  298.                     </dl>
  299.                 {% endif %}
  300.                 {% if BaseInfo.message|default is not empty %}
  301.                     <dl id=\"help_about_box__message\">
  302.                         <dt>
  303.                             <label class=\"ec-label\">{{ 'メッセージ'|trans }}</label>
  304.                         </dt>
  305.                         <dd>{{ BaseInfo.message|nl2br }}</dd>
  306.                     </dl>
  307.                 {% endif %}
  308.             </div>
  309.         </div>
  310.     </div>
  311. </div>
  312. {% endblock %}
  313. ""Help/about.twig""/home/life-is-beautiful/public_html/src/Eccube/Resource/template/default/Help/about.twig");
  314.     }
  315. }