var/cache/dev/twig/3c/3c1835efa60bb2d2b66aa6b2ab6f107f.php line 68

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. /* Contact/index.twig */
  14. class __TwigTemplate_df5e81ee163d147c854c5e6364282ed1 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.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 11
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  39.         $__eccube__gblobal $this->env->getGlobals();
  40.         $__eccube__eventDispatcher $__eccube__gblobal['event_dispatcher'];
  41.         $__eccube__source $this->env->getLoader()->getSourceContext($this->getTemplateName())->getCode();
  42.         $__eccube__event = new \Eccube\Event\TemplateEvent($this->getTemplateName(), $__eccube__source$context);
  43.         $__eccube__eventDispatcher->dispatch($__eccube__event$this->getTemplateName());
  44.         $context $__eccube__event->getParameters();
  45.         if ($__eccube__event->getSource() !== $__eccube__source) {
  46.             $__eccube__newTemplate $this->env->createTemplate($__eccube__event->getSource());
  47.             $__eccube__newTemplate->display($__eccube__event->getParameters(), $blocks);
  48.             return;
  49.         }
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Contact/index.twig"));
  52.         // line 13
  53.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  54.         // line 15
  55.         $context["body_class"] = "contact";
  56.         // line 11
  57.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.twig"11);
  58.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.     }
  64.     // line 17
  65.     public function block_javascript($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  72.         // line 18
  73.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  74. ";
  75.         
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  77.         
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  79.     }
  80.     // line 21
  81.     public function block_main($context, array $blocks = [])
  82.     {
  83.         $macros $this->macros;
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  88.         // line 22
  89.         echo "
  90.     <div class=\"ec-contactRole\">
  91.         <div class=\"ec-pageHeader\">
  92.             <h1>";
  93.         // line 25
  94.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  95.         echo "</h1>
  96.         </div>
  97.         <div class=\"ec-off1Grid\">
  98.             <div class=\"ec-off1Grid__cell\">
  99.                 <form method=\"post\" action=\"";
  100.         // line 29
  101.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  102.         echo "\" class=\"h-adr\" novalidate>
  103.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  104.                     ";
  105.         // line 31
  106.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'31$this->source); })()), "_token", [], "any"falsefalsetrue31), 31$this->source), 'widget');
  107.         echo "
  108.                     <p class=\"ec-para-normal\">";
  109.         // line 32
  110.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるのにお時間をいただくこともございます。
  111. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  112. "), "html"nulltrue));
  113.         // line 34
  114.         echo "</p>
  115.                     <div class=\"ec-borderedDefs\">
  116.                         <dl>
  117.                             <dt>
  118.                                 ";
  119.         // line 38
  120.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'38$this->source); })()), "name", [], "any"falsefalsetrue38), 38$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  121.         echo "
  122.                             </dt>
  123.                             <dd>
  124.                                 <div class=\"ec-halfInput";
  125.         // line 41
  126.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'41$this->source); })()), "name", [], "any"falsefalsetrue41), "name01", [], "any"falsefalsetrue41), 41$this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'41$this->source); })()), "name", [], "any"falsefalsetrue41), "name02", [], "any"falsefalsetrue41), 41$this->source))) ? (" error") : (""));
  127.         echo "\">
  128.                                     ";
  129.         // line 42
  130.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'42$this->source); })()), "name", [], "any"falsefalsetrue42), "name01", [], "any"falsefalsetrue42), 42$this->source), 'widget', ["attr" => ["placeholder" => "姓"]]);
  131.         echo "
  132.                                     ";
  133.         // line 43
  134.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "name", [], "any"falsefalsetrue43), "name02", [], "any"falsefalsetrue43), 43$this->source), 'widget', ["attr" => ["placeholder" => "名"]]);
  135.         echo "
  136.                                     ";
  137.         // line 44
  138.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'44$this->source); })()), "name", [], "any"falsefalsetrue44), "name01", [], "any"falsefalsetrue44), 44$this->source), 'errors');
  139.         echo "
  140.                                     ";
  141.         // line 45
  142.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'45$this->source); })()), "name", [], "any"falsefalsetrue45), "name02", [], "any"falsefalsetrue45), 45$this->source), 'errors');
  143.         echo "
  144.                                 </div>
  145.                             </dd>
  146.                         </dl>
  147.                         <dl>
  148.                             <dt>
  149.                                 ";
  150.         // line 51
  151.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'51$this->source); })()), "kana", [], "any"falsefalsetrue51), 51$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  152.         echo "
  153.                             </dt>
  154.                             <dd>
  155.                                 <div class=\"ec-halfInput";
  156.         // line 54
  157.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'54$this->source); })()), "kana", [], "any"falsefalsetrue54), "kana01", [], "any"falsefalsetrue54), 54$this->source), $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'54$this->source); })()), "kana", [], "any"falsefalsetrue54), "kana02", [], "any"falsefalsetrue54), 54$this->source))) ? (" error") : (""));
  158.         echo "\">
  159.                                     ";
  160.         // line 55
  161.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "kana", [], "any"falsefalsetrue55), "kana01", [], "any"falsefalsetrue55), 55$this->source), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  162.         echo "
  163.                                     ";
  164.         // line 56
  165.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "kana", [], "any"falsefalsetrue56), "kana02", [], "any"falsefalsetrue56), 56$this->source), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  166.         echo "
  167.                                     ";
  168.         // line 57
  169.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'57$this->source); })()), "kana", [], "any"falsefalsetrue57), "kana01", [], "any"falsefalsetrue57), 57$this->source), 'errors');
  170.         echo "
  171.                                     ";
  172.         // line 58
  173.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'58$this->source); })()), "kana", [], "any"falsefalsetrue58), "kana02", [], "any"falsefalsetrue58), 58$this->source), 'errors');
  174.         echo "
  175.                                 </div>
  176.                             </dd>
  177.                         </dl>
  178.                         <dl>
  179.                             <dt>
  180.                                 ";
  181.         // line 64
  182.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'64$this->source); })()), "address", [], "any"falsefalsetrue64), 64$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  183.         echo "
  184.                             </dt>
  185.                             <dd>
  186.                                 <div class=\"ec-zipInput";
  187.         // line 67
  188.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'67$this->source); })()), "postal_code", [], "any"falsefalsetrue67), 67$this->source))) ? (" error") : (""));
  189.         echo "\">
  190.                                     <span>";
  191.         // line 68
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  193.         echo "</span>
  194.                                     ";
  195.         // line 69
  196.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'69$this->source); })()), "postal_code", [], "any"falsefalsetrue69), 69$this->source), 'widget');
  197.         echo "
  198.                                     ";
  199.         // line 70
  200.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'70$this->source); })()), "postal_code", [], "any"falsefalsetrue70), 70$this->source), 'errors');
  201.         echo "
  202.                                 </div>
  203.                                 <div class=\"ec-zipInputHelp\">
  204.                                     <div class=\"ec-zipInputHelp__icon\">
  205.                                         <div class=\"ec-icon\"><img src=\"";
  206.         // line 74
  207.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  208.         echo "\" alt=\"\"></div>
  209.                                     </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  210.         // line 75
  211.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  212.         echo "</span></a>
  213.                                 </div>
  214.                                 ";
  215.         // line 77
  216.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'77$this->source); })()), "postal_code", [], "any"falsefalsetrue77), 77$this->source), 'errors');
  217.         echo "
  218.                                 <div class=\"ec-select";
  219.         // line 78
  220.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'78$this->source); })()), "address", [], "any"falsefalsetrue78), "pref", [], "any"falsefalsetrue78), 78$this->source))) ? (" error") : (""));
  221.         echo "\">
  222.                                     ";
  223.         // line 79
  224.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'79$this->source); })()), "address", [], "any"falsefalsetrue79), "pref", [], "any"falsefalsetrue79), 79$this->source), 'widget');
  225.         echo "
  226.                                     ";
  227.         // line 80
  228.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'80$this->source); })()), "address", [], "any"falsefalsetrue80), "pref", [], "any"falsefalsetrue80), 80$this->source), 'errors');
  229.         echo "
  230.                                 </div>
  231.                                 <div class=\"ec-input";
  232.         // line 82
  233.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'82$this->source); })()), "address", [], "any"falsefalsetrue82), "addr01", [], "any"falsefalsetrue82), 82$this->source))) ? (" error") : (""));
  234.         echo "\">
  235.                                     ";
  236.         // line 83
  237.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'83$this->source); })()), "address", [], "any"falsefalsetrue83), "addr01", [], "any"falsefalsetrue83), 83$this->source), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
  238.         echo "
  239.                                     ";
  240.         // line 84
  241.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'84$this->source); })()), "address", [], "any"falsefalsetrue84), "addr01", [], "any"falsefalsetrue84), 84$this->source), 'errors');
  242.         echo "
  243.                                 </div>
  244.                                 <div class=\"ec-input";
  245.         // line 86
  246.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'86$this->source); })()), "address", [], "any"falsefalsetrue86), "addr02", [], "any"falsefalsetrue86), 86$this->source))) ? (" error") : (""));
  247.         echo "\">
  248.                                     ";
  249.         // line 87
  250.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'87$this->source); })()), "address", [], "any"falsefalsetrue87), "addr02", [], "any"falsefalsetrue87), 87$this->source), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
  251.         echo "
  252.                                     ";
  253.         // line 88
  254.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'88$this->source); })()), "address", [], "any"falsefalsetrue88), "addr02", [], "any"falsefalsetrue88), 88$this->source), 'errors');
  255.         echo "
  256.                                 </div>
  257.                             </dd>
  258.                         </dl>
  259.                         <dl>
  260.                             <dt>
  261.                                 ";
  262.         // line 94
  263.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'94$this->source); })()), "phone_number", [], "any"falsefalsetrue94), 94$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
  264.         echo "
  265.                             </dt>
  266.                             <dd>
  267.                                 <div class=\"ec-telInput";
  268.         // line 97
  269.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'97$this->source); })()), "phone_number", [], "any"falsefalsetrue97), 97$this->source))) ? (" error") : (""));
  270.         echo "\">
  271.                                     ";
  272.         // line 98
  273.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'98$this->source); })()), "phone_number", [], "any"falsefalsetrue98), 98$this->source), 'widget');
  274.         echo "
  275.                                     ";
  276.         // line 99
  277.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'99$this->source); })()), "phone_number", [], "any"falsefalsetrue99), 99$this->source), 'errors');
  278.         echo "
  279.                                 </div>
  280.                             </dd>
  281.                         </dl>
  282.                         <dl>
  283.                             <dt>
  284.                                 ";
  285.         // line 105
  286.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'105$this->source); })()), "email", [], "any"falsefalsetrue105), 105$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  287.         echo "
  288.                             </dt>
  289.                             <dd>
  290.                                 <div class=\"ec-input";
  291.         // line 108
  292.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'108$this->source); })()), "email", [], "any"falsefalsetrue108), 108$this->source))) ? (" error") : (""));
  293.         echo "\">
  294.                                     ";
  295.         // line 109
  296.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'109$this->source); })()), "email", [], "any"falsefalsetrue109), 109$this->source), 'widget');
  297.         echo "
  298.                                     ";
  299.         // line 110
  300.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'110$this->source); })()), "email", [], "any"falsefalsetrue110), 110$this->source), 'errors');
  301.         echo "
  302.                                 </div>
  303.                             </dd>
  304.                         </dl>
  305.                         <dl>
  306.                             <dt>
  307.                                 ";
  308.         // line 116
  309.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'116$this->source); })()), "contents", [], "any"falsefalsetrue116), 116$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせ内容"]);
  310.         echo "
  311.                             </dt>
  312.                             <dd>
  313.                                 <div class=\"ec-input";
  314.         // line 119
  315.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'119$this->source); })()), "contents", [], "any"falsefalsetrue119), 119$this->source))) ? (" error") : (""));
  316.         echo "\">
  317.                                     ";
  318.         // line 120
  319.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'120$this->source); })()), "contents", [], "any"falsefalsetrue120), 120$this->source), 'widget');
  320.         echo "
  321.                                     ";
  322.         // line 121
  323.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'121$this->source); })()), "contents", [], "any"falsefalsetrue121), 121$this->source), 'errors');
  324.         echo "
  325.                                 </div>
  326.                                 <p>";
  327.         // line 123
  328.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。"), "html"nulltrue);
  329.         echo "</p>
  330.                             </dd>
  331.                         </dl>
  332.                         ";
  333.         // line 127
  334.         echo "                        ";
  335.         $context['_parent'] = $context;
  336.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'127$this->source); })()), function ($__f__) use ($context$macros) { $context["f"] = $__f__; return twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue127), "eccube_form_options", [], "any"falsefalsetrue127), "auto_render", [], "any"falsefalsetrue127); }));
  337.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  338.             // line 128
  339.             echo "                            ";
  340.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue128), "eccube_form_options", [], "any"falsefalsetrue128), "form_theme", [], "any"falsefalsetrue128)) {
  341.                 // line 129
  342.                 echo "                                ";
  343.                 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue129), "eccube_form_options", [], "any"falsefalsetrue129), "form_theme", [], "any"falsefalsetrue129)], true);
  344.                 // line 130
  345.                 echo "                                ";
  346.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 130$this->source), 'row');
  347.                 echo "
  348.                             ";
  349.             } else {
  350.                 // line 132
  351.                 echo "                                <dl>
  352.                                     <dt>
  353.                                         ";
  354.                 // line 134
  355.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 134$this->source), 'label');
  356.                 echo "
  357.                                     </dt>
  358.                                     <dd>
  359.                                         <div class=\"";
  360.                 // line 137
  361.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsetrue137), "eccube_form_options", [], "any"falsefalsetrue137), "style_class", [], "any"falsefalsetrue137), 137$this->source), "html"nulltrue);
  362.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed($context["f"], 137$this->source))) ? (" error") : (""));
  363.                 echo "\">
  364.                                             ";
  365.                 // line 138
  366.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 138$this->source), 'widget');
  367.                 echo "
  368.                                             ";
  369.                 // line 139
  370.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed($context["f"], 139$this->source), 'errors');
  371.                 echo "
  372.                                         </div>
  373.                                     </dd>
  374.                                 </dl>
  375.                             ";
  376.             }
  377.             // line 144
  378.             echo "                        ";
  379.         }
  380.         $_parent $context['_parent'];
  381.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  382.         $context array_intersect_key($context$_parent) + $_parent;
  383.         // line 145
  384.         echo "                    </div>
  385.                     <div class=\"ec-RegisterRole__actions\">
  386.                         <div class=\"ec-off4Grid\">
  387.                             <div class=\"ec-off4Grid__cell\">
  388.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  389.         // line 149
  390.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  391.         echo "
  392.                                 </button>
  393.                             </div>
  394.                         </div>
  395.                     </div>
  396.                 </form>
  397.             </div>
  398.         </div>
  399.     </div>
  400. ";
  401.         
  402.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  403.         
  404.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  405.     }
  406.     public function getTemplateName()
  407.     {
  408.         return "Contact/index.twig";
  409.     }
  410.     public function isTraitable()
  411.     {
  412.         return false;
  413.     }
  414.     public function getDebugInfo()
  415.     {
  416.         return array (  410 => 149,  404 => 145,  398 => 144,  390 => 139,  386 => 138,  381 => 137,  375 => 134,  371 => 132,  365 => 130,  362 => 129,  359 => 128,  354 => 127,  348 => 123,  343 => 121,  339 => 120,  335 => 119,  329 => 116,  320 => 110,  316 => 109,  312 => 108,  306 => 105,  297 => 99,  293 => 98,  289 => 97,  283 => 94,  274 => 88,  270 => 87,  266 => 86,  261 => 84,  257 => 83,  253 => 82,  248 => 80,  244 => 79,  240 => 78,  236 => 77,  231 => 75,  227 => 74,  220 => 70,  216 => 69,  212 => 68,  208 => 67,  202 => 64,  193 => 58,  189 => 57,  185 => 56,  181 => 55,  177 => 54,  171 => 51,  162 => 45,  158 => 44,  154 => 43,  150 => 42,  146 => 41,  140 => 38,  134 => 34,  130 => 32,  126 => 31,  121 => 29,  114 => 25,  109 => 22,  99 => 21,  88 => 18,  78 => 17,  67 => 11,  65 => 15,  63 => 13,  38 => 11,);
  417.     }
  418.     public function getSourceContext()
  419.     {
  420.         return new Source("{#
  421. This file is part of EC-CUBE
  422. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  423. http://www.ec-cube.co.jp/
  424. For the full copyright and license information, please view the LICENSE
  425. file that was distributed with this source code.
  426. #}
  427. {% extends 'default_frame.twig' %}
  428. {% form_theme form 'Form/form_div_layout.twig' %}
  429. {% set body_class = 'contact' %}
  430. {% block javascript %}
  431.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  432. {% endblock javascript %}
  433. {% block main %}
  434.     <div class=\"ec-contactRole\">
  435.         <div class=\"ec-pageHeader\">
  436.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  437.         </div>
  438.         <div class=\"ec-off1Grid\">
  439.             <div class=\"ec-off1Grid__cell\">
  440.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  441.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  442.                     {{ form_widget(form._token) }}
  443.                     <p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
  444. また、休業日は翌営業日以降の対応となりますのでご了承ください。
  445. '|trans|nl2br }}</p>
  446.                     <div class=\"ec-borderedDefs\">
  447.                         <dl>
  448.                             <dt>
  449.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  450.                             </dt>
  451.                             <dd>
  452.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  453.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  454.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  455.                                     {{ form_errors(form.name.name01) }}
  456.                                     {{ form_errors(form.name.name02) }}
  457.                                 </div>
  458.                             </dd>
  459.                         </dl>
  460.                         <dl>
  461.                             <dt>
  462.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  463.                             </dt>
  464.                             <dd>
  465.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  466.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  467.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  468.                                     {{ form_errors(form.kana.kana01) }}
  469.                                     {{ form_errors(form.kana.kana02) }}
  470.                                 </div>
  471.                             </dd>
  472.                         </dl>
  473.                         <dl>
  474.                             <dt>
  475.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  476.                             </dt>
  477.                             <dd>
  478.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  479.                                     <span>{{ '〒'|trans }}</span>
  480.                                     {{ form_widget(form.postal_code) }}
  481.                                     {{ form_errors(form.postal_code) }}
  482.                                 </div>
  483.                                 <div class=\"ec-zipInputHelp\">
  484.                                     <div class=\"ec-zipInputHelp__icon\">
  485.                                         <div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\"></div>
  486.                                     </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  487.                                 </div>
  488.                                 {{ form_errors(form.postal_code) }}
  489.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  490.                                     {{ form_widget(form.address.pref) }}
  491.                                     {{ form_errors(form.address.pref) }}
  492.                                 </div>
  493.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  494.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  495.                                     {{ form_errors(form.address.addr01) }}
  496.                                 </div>
  497.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  498.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  499.                                     {{ form_errors(form.address.addr02) }}
  500.                                 </div>
  501.                             </dd>
  502.                         </dl>
  503.                         <dl>
  504.                             <dt>
  505.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  506.                             </dt>
  507.                             <dd>
  508.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  509.                                     {{ form_widget(form.phone_number) }}
  510.                                     {{ form_errors(form.phone_number) }}
  511.                                 </div>
  512.                             </dd>
  513.                         </dl>
  514.                         <dl>
  515.                             <dt>
  516.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  517.                             </dt>
  518.                             <dd>
  519.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  520.                                     {{ form_widget(form.email) }}
  521.                                     {{ form_errors(form.email) }}
  522.                                 </div>
  523.                             </dd>
  524.                         </dl>
  525.                         <dl>
  526.                             <dt>
  527.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  528.                             </dt>
  529.                             <dd>
  530.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  531.                                     {{ form_widget(form.contents) }}
  532.                                     {{ form_errors(form.contents) }}
  533.                                 </div>
  534.                                 <p>{{ 'ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  535.                             </dd>
  536.                         </dl>
  537.                         {# エンティティ拡張の自動出力 #}
  538.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  539.                             {% if f.vars.eccube_form_options.form_theme %}
  540.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  541.                                 {{ form_row(f) }}
  542.                             {% else %}
  543.                                 <dl>
  544.                                     <dt>
  545.                                         {{ form_label(f) }}
  546.                                     </dt>
  547.                                     <dd>
  548.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  549.                                             {{ form_widget(f) }}
  550.                                             {{ form_errors(f) }}
  551.                                         </div>
  552.                                     </dd>
  553.                                 </dl>
  554.                             {% endif %}
  555.                         {% endfor %}
  556.                     </div>
  557.                     <div class=\"ec-RegisterRole__actions\">
  558.                         <div class=\"ec-off4Grid\">
  559.                             <div class=\"ec-off4Grid__cell\">
  560.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  561.                                 </button>
  562.                             </div>
  563.                         </div>
  564.                     </div>
  565.                 </form>
  566.             </div>
  567.         </div>
  568.     </div>
  569. {% endblock %}
  570. ""Contact/index.twig""/var/www/shop.temptu.co.jp/public_html/app/template/temptu/Contact/index.twig");
  571.     }
  572.     
  573.     public function checkSecurity()
  574.     {
  575.         static $tags = array("form_theme" => 13"set" => 15"for" => 127"if" => 128);
  576.         static $filters = array("escape" => 25"trans" => 25"nl2br" => 34"filter" => 127);
  577.         static $functions = array("url" => 29"form_widget" => 31"form_label" => 38"has_errors" => 41"form_errors" => 44"asset" => 74"form_row" => 130);
  578.         try {
  579.             $this->sandbox->checkSecurity(
  580.                 ['form_theme''set''for''if'],
  581.                 ['escape''trans''nl2br''filter'],
  582.                 ['url''form_widget''form_label''has_errors''form_errors''asset''form_row']
  583.             );
  584.         } catch (SecurityError $e) {
  585.             $e->setSourceContext($this->source);
  586.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  587.                 $e->setTemplateLine($tags[$e->getTagName()]);
  588.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  589.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  590.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  591.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  592.             }
  593.             throw $e;
  594.         }
  595.     }
  596. }