var/cache/dev/twig/68/686945ca5de3d68f9b2b380a017fb7ee.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_4f1a28fe224c22251f799f1dde995d3c 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 "    ";
  60.         $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.'16$this->source); })()), [=> "Form/form_custom_theme.twig"], true);
  61.         // line 17
  62.         echo "
  63.     <div class=\"ec-role narrow-contents\">
  64.         <div class=\"ec-pageHeader\">
  65.             <h1>";
  66.         // line 20
  67.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワードの再発行"), "html"nulltrue);
  68.         echo "</h1>
  69.         </div>
  70.         <div class=\"content-inner\">
  71.             <div class=\"content-forgot\">
  72.                 <form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
  73.         // line 24
  74.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  75.         echo "\">
  76.                     ";
  77.         // line 25
  78.         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');
  79.         echo "
  80.                     <div class=\"form-container\">
  81.                         <p class=\"confirm-text\">";
  82.         // line 27
  83.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。
  84. ※パスワード再発行メールを送信します。メールの内容をご確認の上、新しいパスワードを登録してください。"), "html"nulltrue));
  85.         echo "</p>
  86.                         <dl class=\"required-field\">
  87.                             <dt>";
  88.         // line 29
  89.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メールアドレス"), "html"nulltrue);
  90.         echo "</dt>
  91.                             <dd>
  92.                                 <div class=\"form-unit__input\">
  93.                                     ";
  94.         // line 32
  95.         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), 'widget');
  96.         echo "
  97.                                     <label for=\"";
  98.         // line 33
  99.         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, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'33$this->source); })()), "login_email", [], "any"falsefalsetrue33), "vars", [], "any"falsefalsetrue33), "id", [], "any"falsefalsetrue33), 33$this->source), "html"nulltrue);
  100.         echo "\" class=\"placeholder\">";
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("xxxxx@example.co.jp"), "html"nulltrue);
  102.         echo "</label>
  103.                                 </div>
  104.                                 <span class=\"";
  105.         // line 35
  106.         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") : (""));
  107.         echo "\">";
  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.'35$this->source); })()), "login_email", [], "any"falsefalsetrue35), 35$this->source), 'errors');
  109.         echo "</span>
  110.                             </dd>
  111.                         </dl>
  112.                     </div>
  113.                     <div class=\"form-unit__actions\">
  114.                         <button type=\"submit\" class=\"ec-blockBtn--action\">";
  115.         // line 40
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  117.         echo "</button>
  118.                     </div>
  119.                 </form>
  120.             </div>
  121.         </div>
  122.     </div>
  123. ";
  124.         
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  126.         
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  128.     }
  129.     public function getTemplateName()
  130.     {
  131.         return "Forgot/index.twig";
  132.     }
  133.     public function isTraitable()
  134.     {
  135.         return false;
  136.     }
  137.     public function getDebugInfo()
  138.     {
  139.         return array (  130 => 40,  120 => 35,  113 => 33,  109 => 32,  103 => 29,  97 => 27,  92 => 25,  88 => 24,  81 => 20,  76 => 17,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  140.     }
  141.     public function getSourceContext()
  142.     {
  143.         return new Source("{#
  144. This file is part of EC-CUBE
  145. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  146. http://www.ec-cube.co.jp/
  147. For the full copyright and license information, please view the LICENSE
  148. file that was distributed with this source code.
  149. #}
  150. {% extends 'default_frame.twig' %}
  151. {% form_theme form 'Form/form_div_layout.twig' %}
  152. {% block main %}
  153.     {% form_theme form 'Form/form_custom_theme.twig' %}
  154.     <div class=\"ec-role narrow-contents\">
  155.         <div class=\"ec-pageHeader\">
  156.             <h1>{{ 'パスワードの再発行'|trans }}</h1>
  157.         </div>
  158.         <div class=\"content-inner\">
  159.             <div class=\"content-forgot\">
  160.                 <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ url('forgot') }}\">
  161.                     {{ form_widget(form._token) }}
  162.                     <div class=\"form-container\">
  163.                         <p class=\"confirm-text\">{{ 'ご登録時のメールアドレスを入力して「次へ」ボタンをクリックしてください。\\n※パスワード再発行メールを送信します。メールの内容をご確認の上、新しいパスワードを登録してください。'|trans|nl2br }}</p>
  164.                         <dl class=\"required-field\">
  165.                             <dt>{{ 'メールアドレス'|trans }}</dt>
  166.                             <dd>
  167.                                 <div class=\"form-unit__input\">
  168.                                     {{ form_widget(form.login_email) }}
  169.                                     <label for=\"{{ form.login_email.vars.id }}\" class=\"placeholder\">{{ 'xxxxx@example.co.jp'|trans }}</label>
  170.                                 </div>
  171.                                 <span class=\"{{ has_errors(form.login_email) ? ' error' }}\">{{ form_errors(form.login_email) }}</span>
  172.                             </dd>
  173.                         </dl>
  174.                     </div>
  175.                     <div class=\"form-unit__actions\">
  176.                         <button type=\"submit\" class=\"ec-blockBtn--action\">{{ '次へ'|trans }}</button>
  177.                     </div>
  178.                 </form>
  179.             </div>
  180.         </div>
  181.     </div>
  182. {% endblock %}
  183. ""Forgot/index.twig""/home/xs362797/magamar.jp/public_html/app/template/magamar/Forgot/index.twig");
  184.     }
  185.     
  186.     public function checkSecurity()
  187.     {
  188.         static $tags = array("form_theme" => 13);
  189.         static $filters = array("escape" => 20"trans" => 20"nl2br" => 27);
  190.         static $functions = array("url" => 24"form_widget" => 25"has_errors" => 35"form_errors" => 35);
  191.         try {
  192.             $this->sandbox->checkSecurity(
  193.                 ['form_theme'],
  194.                 ['escape''trans''nl2br'],
  195.                 ['url''form_widget''has_errors''form_errors']
  196.             );
  197.         } catch (SecurityError $e) {
  198.             $e->setSourceContext($this->source);
  199.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  200.                 $e->setTemplateLine($tags[$e->getTagName()]);
  201.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  202.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  203.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  204.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  205.             }
  206.             throw $e;
  207.         }
  208.     }
  209. }