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