var/cache/dev/twig/4e/4e5193fa33d034a725ec29f95ead9b52.php line 53

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. /* Forgot/index.twig */
  14. class __TwigTemplate_1013a2a220555d6c63392650739db7b7 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Forgot/index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Forgot/index.twig"));
  40.         // line 13
  41.         $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);
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Forgot/index.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_main($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  58.         // line 16
  59.         echo "    <div class=\"ec-role\">
  60.         <div class=\"ec-pageHeader\">
  61.             <h2 class=\"title\">";
  62.         // line 18
  63.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワードの再発行"), "html"nulltrue);
  64.         echo "</h2>
  65.         </div>
  66.     </div>
  67.     <div class=\"ec-forgotRole\" id=\"window_area\">
  68.         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
  69.         // line 22
  70.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  71.         echo "\">
  72.             ";
  73.         // line 23
  74.         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.'23$this->source); })()), "_token", [], "any"falsefalsetrue23), 23$this->source), 'widget');
  75.         echo "
  76.             <div class=\"ec-forgotRole__form\">
  77.                 <div class=\"ec-forgotRole__intro\">
  78.                     <p class=\"ec-para-normal\">ご登録時のメールアドレスと、ご登録されたお名前を入力して「次へ」ボタンをクリックしてください。</p>
  79.                     <p class=\"ec-para-normal attention\">※新しくパスワードを発行いたしますので、お忘れになったパスワードはご利用できなくなります。</p>
  80.                 </div>
  81.                 <div class=\"ec-borderedDefs\" id=\"forgot\">
  82.                     <dl>
  83.                         <dt>
  84.                             ";
  85.         // line 32
  86.         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.'32$this->source); })()), "login_email", [], "any"falsefalsetrue32), 32$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  87.         echo ":
  88.                         </dt>
  89.                         <dd>
  90.                             <div class=\"ec-input";
  91.         // line 35
  92.         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.'35$this->source); })()), "login_email", [], "any"falsefalsetrue35), 35$this->source))) ? (" error") : (""));
  93.         echo "\">
  94.                                 ";
  95.         // line 36
  96.         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.'36$this->source); })()), "login_email", [], "any"falsefalsetrue36), 36$this->source), 'widget');
  97.         echo "
  98.                                 ";
  99.         // line 37
  100.         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); })()), "login_email", [], "any"falsefalsetrue37), 37$this->source), 'errors');
  101.         echo "
  102.                             </div>
  103.                         </dd>
  104.                     </dl>
  105.                 </div>
  106.             </div>
  107.             <p class=\"btn-area one-btn\">
  108.             <button type=\"submit\" class=\"ec-blockBtn--action orange-btn\">";
  109.         // line 44
  110.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  111.         echo "</button>
  112.             </p>
  113.         </form>
  114.     </div>
  115. ";
  116.         
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  118.         
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  120.     }
  121.     public function getTemplateName()
  122.     {
  123.         return "Forgot/index.twig";
  124.     }
  125.     public function isTraitable()
  126.     {
  127.         return false;
  128.     }
  129.     public function getDebugInfo()
  130.     {
  131.         return array (  124 => 44,  114 => 37,  110 => 36,  106 => 35,  100 => 32,  88 => 23,  84 => 22,  77 => 18,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  132.     }
  133.     public function getSourceContext()
  134.     {
  135.         return new Source("{#
  136. This file is part of EC-CUBE
  137. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  138. http://www.ec-cube.co.jp/
  139. For the full copyright and license information, please view the LICENSE
  140. file that was distributed with this source code.
  141. #}
  142. {% extends 'default_frame.twig' %}
  143. {% form_theme form 'Form/form_div_layout.twig' %}
  144. {% block main %}
  145.     <div class=\"ec-role\">
  146.         <div class=\"ec-pageHeader\">
  147.             <h2 class=\"title\">{{ 'パスワードの再発行'|trans }}</h2>
  148.         </div>
  149.     </div>
  150.     <div class=\"ec-forgotRole\" id=\"window_area\">
  151.         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('forgot') }}\">
  152.             {{ form_widget(form._token) }}
  153.             <div class=\"ec-forgotRole__form\">
  154.                 <div class=\"ec-forgotRole__intro\">
  155.                     <p class=\"ec-para-normal\">ご登録時のメールアドレスと、ご登録されたお名前を入力して「次へ」ボタンをクリックしてください。</p>
  156.                     <p class=\"ec-para-normal attention\">※新しくパスワードを発行いたしますので、お忘れになったパスワードはご利用できなくなります。</p>
  157.                 </div>
  158.                 <div class=\"ec-borderedDefs\" id=\"forgot\">
  159.                     <dl>
  160.                         <dt>
  161.                             {{ form_label(form.login_email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}:
  162.                         </dt>
  163.                         <dd>
  164.                             <div class=\"ec-input{{ has_errors(form.login_email) ? ' error' }}\">
  165.                                 {{ form_widget(form.login_email) }}
  166.                                 {{ form_errors(form.login_email) }}
  167.                             </div>
  168.                         </dd>
  169.                     </dl>
  170.                 </div>
  171.             </div>
  172.             <p class=\"btn-area one-btn\">
  173.             <button type=\"submit\" class=\"ec-blockBtn--action orange-btn\">{{ '次へ'|trans }}</button>
  174.             </p>
  175.         </form>
  176.     </div>
  177. {% endblock %}
  178. ""Forgot/index.twig""/home/higashiyamashobo/www/higashiyamashobo.jpn.org/ec-cube/app/template/default/Forgot/index.twig");
  179.     }
  180.     
  181.     public function checkSecurity()
  182.     {
  183.         static $tags = array("form_theme" => 13);
  184.         static $filters = array("escape" => 18"trans" => 18);
  185.         static $functions = array("url" => 22"form_widget" => 23"form_label" => 32"has_errors" => 35"form_errors" => 37);
  186.         try {
  187.             $this->sandbox->checkSecurity(
  188.                 ['form_theme'],
  189.                 ['escape''trans'],
  190.                 ['url''form_widget''form_label''has_errors''form_errors']
  191.             );
  192.         } catch (SecurityError $e) {
  193.             $e->setSourceContext($this->source);
  194.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  195.                 $e->setTemplateLine($tags[$e->getTagName()]);
  196.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  197.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  198.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  199.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  200.             }
  201.             throw $e;
  202.         }
  203.     }
  204. }