var/cache/dev/twig/f6/f6363fb31b5ba747c3b01ab06e26a5c1.php line 54

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