var/cache/dev/twig/35/35a4cf951d205c34977f9a86022a2ec6.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_7442d35afc19bef01fc8f0fad503962a 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.             <h1>";
  62.         // line 18
  63.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワードの再発行"), "html"nulltrue);
  64.         echo "</h1>
  65.         </div>
  66.     </div>
  67.     <div class=\"ec-forgotRole\">
  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-off1Grid\">
  77.                 <div class=\"ec-off1Grid__cell\">
  78.                     <div class=\"ec-forgotRole__form\">
  79.                         <div class=\"ec-forgotRole__intro\">
  80.                             <p class=\"ec-para-normal\">";
  81.         // line 28
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。"), "html"nulltrue);
  83.         echo "</p>
  84.                             <p class=\"ec-para-normal\">";
  85.         // line 29
  86.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("※パスワード再発行メールを送信します。メールの内容をご確認の上、新しいパスワードを登録してください。"), "html"nulltrue);
  87.         echo "</p>
  88.                         </div>
  89.                         <div class=\"ec-borderedDefs\">
  90.                             <dl>
  91.                                 <dt>
  92.                                     ";
  93.         // line 34
  94.         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.'34$this->source); })()), "login_email", [], "any"falsefalsetrue34), 34$this->source), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  95.         echo "
  96.                                 </dt>
  97.                                 <dd>
  98.                                     <div class=\"ec-input";
  99.         // line 37
  100.         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.'37$this->source); })()), "login_email", [], "any"falsefalsetrue37), 37$this->source))) ? (" error") : (""));
  101.         echo "\">
  102.                                         ";
  103.         // line 38
  104.         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.'38$this->source); })()), "login_email", [], "any"falsefalsetrue38), 38$this->source), 'widget');
  105.         echo "
  106.                                         ";
  107.         // line 39
  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.'39$this->source); })()), "login_email", [], "any"falsefalsetrue39), 39$this->source), 'errors');
  109.         echo "
  110.                                     </div>
  111.                                 </dd>
  112.                             </dl>
  113.                         </div>
  114.                     </div>
  115.                 </div>
  116.             </div>
  117.             <div class=\"ec-off4Grid\">
  118.                 <div class=\"ec-off4Grid__cell\">
  119.                     <button type=\"submit\" class=\"ec-blockBtn--action\">";
  120.         // line 49
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  122.         echo "</button>
  123.                 </div>
  124.             </div>
  125.         </form>
  126.     </div>
  127. ";
  128.         
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.     }
  133.     public function getTemplateName()
  134.     {
  135.         return "Forgot/index.twig";
  136.     }
  137.     public function isTraitable()
  138.     {
  139.         return false;
  140.     }
  141.     public function getDebugInfo()
  142.     {
  143.         return array (  135 => 49,  122 => 39,  118 => 38,  114 => 37,  108 => 34,  100 => 29,  96 => 28,  88 => 23,  84 => 22,  77 => 18,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  144.     }
  145.     public function getSourceContext()
  146.     {
  147.         return new Source("{#
  148. This file is part of EC-CUBE
  149. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  150. http://www.ec-cube.co.jp/
  151. For the full copyright and license information, please view the LICENSE
  152. file that was distributed with this source code.
  153. #}
  154. {% extends 'default_frame.twig' %}
  155. {% form_theme form 'Form/form_div_layout.twig' %}
  156. {% block main %}
  157.     <div class=\"ec-role\">
  158.         <div class=\"ec-pageHeader\">
  159.             <h1>{{ 'パスワードの再発行'|trans }}</h1>
  160.         </div>
  161.     </div>
  162.     <div class=\"ec-forgotRole\">
  163.         <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('forgot') }}\">
  164.             {{ form_widget(form._token) }}
  165.             <div class=\"ec-off1Grid\">
  166.                 <div class=\"ec-off1Grid__cell\">
  167.                     <div class=\"ec-forgotRole__form\">
  168.                         <div class=\"ec-forgotRole__intro\">
  169.                             <p class=\"ec-para-normal\">{{ 'ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。'|trans }}</p>
  170.                             <p class=\"ec-para-normal\">{{ '※パスワード再発行メールを送信します。メールの内容をご確認の上、新しいパスワードを登録してください。'|trans }}</p>
  171.                         </div>
  172.                         <div class=\"ec-borderedDefs\">
  173.                             <dl>
  174.                                 <dt>
  175.                                     {{ form_label(form.login_email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  176.                                 </dt>
  177.                                 <dd>
  178.                                     <div class=\"ec-input{{ has_errors(form.login_email) ? ' error' }}\">
  179.                                         {{ form_widget(form.login_email) }}
  180.                                         {{ form_errors(form.login_email) }}
  181.                                     </div>
  182.                                 </dd>
  183.                             </dl>
  184.                         </div>
  185.                     </div>
  186.                 </div>
  187.             </div>
  188.             <div class=\"ec-off4Grid\">
  189.                 <div class=\"ec-off4Grid__cell\">
  190.                     <button type=\"submit\" class=\"ec-blockBtn--action\">{{ '次へ'|trans }}</button>
  191.                 </div>
  192.             </div>
  193.         </form>
  194.     </div>
  195. {% endblock %}
  196. ""Forgot/index.twig""/home/meihansl/meihan-sl.com/public_html/src/Eccube/Resource/template/default/Forgot/index.twig");
  197.     }
  198.     
  199.     public function checkSecurity()
  200.     {
  201.         static $tags = array("form_theme" => 13);
  202.         static $filters = array("escape" => 18"trans" => 18);
  203.         static $functions = array("url" => 22"form_widget" => 23"form_label" => 34"has_errors" => 37"form_errors" => 39);
  204.         try {
  205.             $this->sandbox->checkSecurity(
  206.                 ['form_theme'],
  207.                 ['escape''trans'],
  208.                 ['url''form_widget''form_label''has_errors''form_errors']
  209.             );
  210.         } catch (SecurityError $e) {
  211.             $e->setSourceContext($this->source);
  212.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  213.                 $e->setTemplateLine($tags[$e->getTagName()]);
  214.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  215.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  216.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  217.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  218.             }
  219.             throw $e;
  220.         }
  221.     }
  222. }