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