var/cache/dev/twig/2b/2b821cd7d392bbc228cb86ed54eb4dd6.php line 41

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