var/cache/dev/twig/cf/cfd86d3fc44bdfb169b2f610033f57d9.php line 40

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_88709650a2649e91e93f97a65ab6cd31 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.         $__eccube__gblobal $this->env->getGlobals();
  39.         $__eccube__eventDispatcher $__eccube__gblobal['event_dispatcher'];
  40.         $__eccube__source $this->env->getLoader()->getSourceContext($this->getTemplateName())->getCode();
  41.         $__eccube__event = new \Eccube\Event\TemplateEvent($this->getTemplateName(), $__eccube__source$context);
  42.         $__eccube__eventDispatcher->dispatch($__eccube__event$this->getTemplateName());
  43.         $context $__eccube__event->getParameters();
  44.         if ($__eccube__event->getSource() !== $__eccube__source) {
  45.             $__eccube__newTemplate $this->env->createTemplate($__eccube__event->getSource());
  46.             $__eccube__newTemplate->display($__eccube__event->getParameters(), $blocks);
  47.             return;
  48.         }
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Forgot/index.twig"));
  51.         // line 13
  52.         $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);
  53.         // line 15
  54.         $context["body_class"] = "forgot";
  55.         // line 11
  56.         $this->parent $this->loadTemplate("default_frame.twig""Forgot/index.twig"11);
  57.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.     }
  63.     // line 17
  64.     public function block_main($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  71.         // line 18
  72.         echo "    <div class=\"ec-role\">
  73.         <div class=\"ec-pageHeader\">
  74.             <h1>";
  75.         // line 20
  76.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワードの再発行"), "html"nulltrue);
  77.         echo "</h1>
  78.         </div>
  79.     </div>
  80.     <div class=\"ec-forgotRole\">
  81.         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
  82.         // line 24
  83.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  84.         echo "\">
  85.             ";
  86.         // line 25
  87.         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.'25$this->source); })()), "_token", [], "any"falsefalsetrue25), 25$this->source), 'widget');
  88.         echo "
  89.             <div class=\"ec-off1Grid\">
  90.                 <div class=\"ec-off1Grid__cell\">
  91.                     <div class=\"ec-forgotRole__form\">
  92.                         <div class=\"ec-forgotRole__intro\">
  93.                             <p class=\"ec-para-normal\">";
  94.         // line 30
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。"), "html"nulltrue);
  96.         echo "</p>
  97.                             <p class=\"ec-para-normal\">";
  98.         // line 31
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※パスワード再発行メールを送信します。メールの内容をご確認の上、新しいパスワードを登録してください。"), "html"nulltrue);
  100.         echo "</p>
  101.                         </div>
  102.                         <div class=\"ec-borderedDefs\">
  103.                             <dl>
  104.                                 <dt>
  105.                                     ";
  106.         // line 36
  107.         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), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  108.         echo "
  109.                                 </dt>
  110.                                 <dd>
  111.                                     <div class=\"ec-input";
  112.         // line 39
  113.         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.'39$this->source); })()), "login_email", [], "any"falsefalsetrue39), 39$this->source))) ? (" error") : (""));
  114.         echo "\">
  115.                                         ";
  116.         // line 40
  117.         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); })()), "login_email", [], "any"falsefalsetrue40), 40$this->source), 'widget');
  118.         echo "
  119.                                         ";
  120.         // line 41
  121.         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.'41$this->source); })()), "login_email", [], "any"falsefalsetrue41), 41$this->source), 'errors');
  122.         echo "
  123.                                     </div>
  124.                                 </dd>
  125.                             </dl>
  126.                         </div>
  127.                     </div>
  128.                 </div>
  129.             </div>
  130.             <div class=\"ec-off4Grid\">
  131.                 <div class=\"ec-off4Grid__cell\">
  132.                     <button type=\"submit\" class=\"ec-blockBtn--action\">";
  133.         // line 51
  134.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  135.         echo "</button>
  136.                 </div>
  137.             </div>
  138.         </form>
  139.     </div>
  140. ";
  141.         
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143.         
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  145.     }
  146.     public function getTemplateName()
  147.     {
  148.         return "Forgot/index.twig";
  149.     }
  150.     public function isTraitable()
  151.     {
  152.         return false;
  153.     }
  154.     public function getDebugInfo()
  155.     {
  156.         return array (  149 => 51,  136 => 41,  132 => 40,  128 => 39,  122 => 36,  114 => 31,  110 => 30,  102 => 25,  98 => 24,  91 => 20,  87 => 18,  77 => 17,  66 => 11,  64 => 15,  62 => 13,  37 => 11,);
  157.     }
  158.     public function getSourceContext()
  159.     {
  160.         return new Source("{#
  161. This file is part of EC-CUBE
  162. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  163. http://www.ec-cube.co.jp/
  164. For the full copyright and license information, please view the LICENSE
  165. file that was distributed with this source code.
  166. #}
  167. {% extends 'default_frame.twig' %}
  168. {% form_theme form 'Form/form_div_layout.twig' %}
  169. {% set body_class = 'forgot' %}
  170. {% block main %}
  171.     <div class=\"ec-role\">
  172.         <div class=\"ec-pageHeader\">
  173.             <h1>{{ 'パスワードの再発行'|trans }}</h1>
  174.         </div>
  175.     </div>
  176.     <div class=\"ec-forgotRole\">
  177.         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('forgot') }}\">
  178.             {{ form_widget(form._token) }}
  179.             <div class=\"ec-off1Grid\">
  180.                 <div class=\"ec-off1Grid__cell\">
  181.                     <div class=\"ec-forgotRole__form\">
  182.                         <div class=\"ec-forgotRole__intro\">
  183.                             <p class=\"ec-para-normal\">{{ 'ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。'|trans }}</p>
  184.                             <p class=\"ec-para-normal\">{{ '※パスワード再発行メールを送信します。メールの内容をご確認の上、新しいパスワードを登録してください。'|trans }}</p>
  185.                         </div>
  186.                         <div class=\"ec-borderedDefs\">
  187.                             <dl>
  188.                                 <dt>
  189.                                     {{ form_label(form.login_email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  190.                                 </dt>
  191.                                 <dd>
  192.                                     <div class=\"ec-input{{ has_errors(form.login_email) ? ' error' }}\">
  193.                                         {{ form_widget(form.login_email) }}
  194.                                         {{ form_errors(form.login_email) }}
  195.                                     </div>
  196.                                 </dd>
  197.                             </dl>
  198.                         </div>
  199.                     </div>
  200.                 </div>
  201.             </div>
  202.             <div class=\"ec-off4Grid\">
  203.                 <div class=\"ec-off4Grid__cell\">
  204.                     <button type=\"submit\" class=\"ec-blockBtn--action\">{{ '次へ'|trans }}</button>
  205.                 </div>
  206.             </div>
  207.         </form>
  208.     </div>
  209. {% endblock %}
  210. ""Forgot/index.twig""/var/www/shop.temptu.co.jp/public_html/app/template/temptu/Forgot/index.twig");
  211.     }
  212.     
  213.     public function checkSecurity()
  214.     {
  215.         static $tags = array("form_theme" => 13"set" => 15);
  216.         static $filters = array("escape" => 20"trans" => 20);
  217.         static $functions = array("url" => 24"form_widget" => 25"form_label" => 36"has_errors" => 39"form_errors" => 41);
  218.         try {
  219.             $this->sandbox->checkSecurity(
  220.                 ['form_theme''set'],
  221.                 ['escape''trans'],
  222.                 ['url''form_widget''form_label''has_errors''form_errors']
  223.             );
  224.         } catch (SecurityError $e) {
  225.             $e->setSourceContext($this->source);
  226.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  227.                 $e->setTemplateLine($tags[$e->getTagName()]);
  228.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  229.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  230.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  231.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  232.             }
  233.             throw $e;
  234.         }
  235.     }
  236. }