var/cache/dev/twig/c0/c04c3fec6fa25d4764ce48e390cd86ce.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_287e2f47968c68081ea3d7fa80c10a05 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 "<section class=\"p-lower-mv\">
  60.   <div class=\"inner\">
  61.     <h2 class=\"p-lower-mv-title\"><span>パスワードの再発行</span></h2>
  62.     <div class=\"under bread_wrap\">
  63.       <ol itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  64.         <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  65.           <a itemprop=\"item\" href=\"";
  66.         // line 22
  67.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  68.         echo "\">
  69.             <span class=\"freight-neo-pro\" itemprop=\"name\">TOP</span>
  70.           </a>
  71.           <meta itemprop=\"position\" content=\"1\" />
  72.         </li>
  73.         <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  74.           <a itemprop=\"item\" href=\"";
  75.         // line 28
  76.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  77.         echo "\">
  78.             <span class=\"freight-neo-pro\" itemprop=\"name\">パスワードの再発行</span>
  79.           </a>
  80.           <meta itemprop=\"position\" content=\"2\" />
  81.         </li>
  82.       </ol>
  83.     </div>
  84.     <!-- /.bread_wrap -->
  85.   </div>
  86. </section>
  87. <section class=\"forgot\">
  88.   <div class=\"inner\">
  89.     <div class=\"forgot-form\">
  90.       <form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
  91.         // line 42
  92.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  93.         echo "\">
  94.         ";
  95.         // line 43
  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.'43$this->source); })()), "_token", [], "any"falsefalsetrue43), 43$this->source), 'widget');
  97.         echo "
  98.         <p class=\"forgot-message\">";
  99.         // line 44
  100.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。"), "html"nulltrue);
  101.         echo "<br>";
  102.         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※パスワード再発行メールを送信します。<span class=ib>メールの内容をご確認の上、新しいパスワードを登録してください。</span>");
  103.         echo "</p>
  104.         <dl class=\"p-form-list\">
  105.           <dt>
  106.             ";
  107.         // line 47
  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.'47$this->source); })()), "login_email", [], "any"falsefalsetrue47), 47$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  109.         echo "
  110.           </dt>
  111.           <dd>
  112.             <div class=\"form-email";
  113.         // line 50
  114.         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.'50$this->source); })()), "login_email", [], "any"falsefalsetrue50), 50$this->source))) ? (" error") : (""));
  115.         echo "\">
  116.               ";
  117.         // line 51
  118.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'51$this->source); })()), "login_email", [], "any"falsefalsetrue51), 51$this->source), 'widget', ["attr" => ["placeholder" => "sample@mail.com"]]);
  119.         echo "
  120.               ";
  121.         // line 52
  122.         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.'52$this->source); })()), "login_email", [], "any"falsefalsetrue52), 52$this->source), 'errors');
  123.         echo "
  124.             </div>
  125.           </dd>
  126.         </dl>
  127.         <div class=\"p-button green form\">
  128.           <button type=\"submit\">";
  129.         // line 57
  130.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  131.         echo "</button>
  132.         </div>
  133.       </form>
  134.     </div>
  135.   </div>
  136. </section>
  137. ";
  138.         
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  140.         
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  142.     }
  143.     public function getTemplateName()
  144.     {
  145.         return "Forgot/index.twig";
  146.     }
  147.     public function isTraitable()
  148.     {
  149.         return false;
  150.     }
  151.     public function getDebugInfo()
  152.     {
  153.         return array (  145 => 57,  137 => 52,  133 => 51,  129 => 50,  123 => 47,  115 => 44,  111 => 43,  107 => 42,  90 => 28,  81 => 22,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  154.     }
  155.     public function getSourceContext()
  156.     {
  157.         return new Source("{#
  158. This file is part of EC-CUBE
  159. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  160. http://www.ec-cube.co.jp/
  161. For the full copyright and license information, please view the LICENSE
  162. file that was distributed with this source code.
  163. #}
  164. {% extends 'default_frame.twig' %}
  165. {% form_theme form 'Form/form_div_layout.twig' %}
  166. {% block main %}
  167. <section class=\"p-lower-mv\">
  168.   <div class=\"inner\">
  169.     <h2 class=\"p-lower-mv-title\"><span>パスワードの再発行</span></h2>
  170.     <div class=\"under bread_wrap\">
  171.       <ol itemscope itemtype=\"https://schema.org/BreadcrumbList\">
  172.         <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  173.           <a itemprop=\"item\" href=\"{{ url('homepage') }}\">
  174.             <span class=\"freight-neo-pro\" itemprop=\"name\">TOP</span>
  175.           </a>
  176.           <meta itemprop=\"position\" content=\"1\" />
  177.         </li>
  178.         <li itemprop=\"itemListElement\" itemscope itemtype=\"https://schema.org/ListItem\">
  179.           <a itemprop=\"item\" href=\"{{ url('forgot') }}\">
  180.             <span class=\"freight-neo-pro\" itemprop=\"name\">パスワードの再発行</span>
  181.           </a>
  182.           <meta itemprop=\"position\" content=\"2\" />
  183.         </li>
  184.       </ol>
  185.     </div>
  186.     <!-- /.bread_wrap -->
  187.   </div>
  188. </section>
  189. <section class=\"forgot\">
  190.   <div class=\"inner\">
  191.     <div class=\"forgot-form\">
  192.       <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('forgot') }}\">
  193.         {{ form_widget(form._token) }}
  194.         <p class=\"forgot-message\">{{ 'ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。'|trans }}<br>{{ '※パスワード再発行メールを送信します。<span class=ib>メールの内容をご確認の上、新しいパスワードを登録してください。</span>'|trans|raw }}</p>
  195.         <dl class=\"p-form-list\">
  196.           <dt>
  197.             {{ form_label(form.login_email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  198.           </dt>
  199.           <dd>
  200.             <div class=\"form-email{{ has_errors(form.login_email) ? ' error' }}\">
  201.               {{ form_widget(form.login_email, {'attr': {'placeholder' : 'sample@mail.com' }}) }}
  202.               {{ form_errors(form.login_email) }}
  203.             </div>
  204.           </dd>
  205.         </dl>
  206.         <div class=\"p-button green form\">
  207.           <button type=\"submit\">{{ '次へ'|trans }}</button>
  208.         </div>
  209.       </form>
  210.     </div>
  211.   </div>
  212. </section>
  213. {% endblock %}""Forgot/index.twig""/home/hirota-s.com/public_html/app/template/default/Forgot/index.twig");
  214.     }
  215.     
  216.     public function checkSecurity()
  217.     {
  218.         static $tags = array("form_theme" => 13);
  219.         static $filters = array("escape" => 44"trans" => 44"raw" => 44);
  220.         static $functions = array("url" => 22"form_widget" => 43"form_label" => 47"has_errors" => 50"form_errors" => 52);
  221.         try {
  222.             $this->sandbox->checkSecurity(
  223.                 ['form_theme'],
  224.                 ['escape''trans''raw'],
  225.                 ['url''form_widget''form_label''has_errors''form_errors']
  226.             );
  227.         } catch (SecurityError $e) {
  228.             $e->setSourceContext($this->source);
  229.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  230.                 $e->setTemplateLine($tags[$e->getTagName()]);
  231.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  232.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  233.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  234.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  235.             }
  236.             throw $e;
  237.         }
  238.     }
  239. }