var/cache/dev/twig/3e/3e1aacb478d65617b824997ae0616e93.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. /* Mypage/login.twig */
  14. class __TwigTemplate_42df12b43f8fdb4d667b5cb293c16d30 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.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 11
  29.         return "default_frame.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  38.         // line 13
  39.         $context["body_class"] = "mypage";
  40.         // line 14
  41.         $context["mypage_css"] = "ture";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Mypage/login.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\" data-aos=\"fade-up\">
  61.             <h2>";
  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 class=\"ec-role\">
  67.         <div class=\"ec-loginRole\">
  68.             <div class=\"ec-loginRole__inner standard-inner3\">
  69.                 <div class=\"ec-login\">
  70.                     <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  71.         // line 24
  72.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  73.         echo "\">
  74.                         ";
  75.         // line 25
  76.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'25$this->source); })()), "session", [], "any"falsefalsefalse25), "flashBag", [], "any"falsefalsefalse25), "has", [=> "eccube.login.target.path"], "method"falsefalsefalse25)) {
  77.             // line 26
  78.             echo "                            ";
  79.             $context['_parent'] = $context;
  80.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "session", [], "any"falsefalsefalse26), "flashBag", [], "any"falsefalsefalse26), "peek", [=> "eccube.login.target.path"], "method"falsefalsefalse26));
  81.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  82.                 // line 27
  83.                 echo "                                <input type=\"hidden\" name=\"_target_path\" value=\"";
  84.                 echo twig_escape_filter($this->env$context["targetPath"], "html"nulltrue);
  85.                 echo "\" />
  86.                             ";
  87.             }
  88.             $_parent $context['_parent'];
  89.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  90.             $context array_intersect_key($context$_parent) + $_parent;
  91.             // line 29
  92.             echo "                        ";
  93.         }
  94.         // line 30
  95.         echo "                        <div class=\"ec-login__text\" data-aos=\"fade-up\">
  96.                             会員の方は、登録時に入力されたE-mailとパスワードでログインしてください。<br>
  97.                             <a href=\"";
  98.         // line 32
  99.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  100.         echo "\">";
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録はこちら"), "html"nulltrue);
  102.         echo "</a>
  103.                         </div>
  104.                         <div class=\"ec-login__input\" data-aos=\"fade-up\">
  105.                             <div class=\"ec-login__input-row\">
  106.                                 ";
  107.         // line 36
  108.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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"falsefalsefalse36), 'label', (twig_test_empty($_label_ $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メールアドレス")) ? [] : ["label" => $_label_]));
  109.         echo "
  110.                                 ";
  111.         // line 37
  112.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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"falsefalsefalse37), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メールアドレス"), "autofocus" => true]]);
  113.         echo "
  114.                             </div>
  115.                             <div class=\"ec-login__input-row\">
  116.                                 ";
  117.         // line 40
  118.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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_pass", [], "any"falsefalsefalse40), 'label', (twig_test_empty($_label_ $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワード")) ? [] : ["label" => $_label_]));
  119.         echo "
  120.                                 ";
  121.         // line 41
  122.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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_pass", [], "any"falsefalsefalse41), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワード")]]);
  123.         echo "
  124.                             </div>
  125.                             ";
  126.         // line 43
  127.         if (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'43$this->source); })()), "option_remember_me", [], "any"falsefalsefalse43)) {
  128.             // line 44
  129.             echo "                            <div class=\"ec-checkbox\">
  130.                                 <label>
  131.                                     ";
  132.             // line 46
  133.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  134.                 // line 47
  135.                 echo "                                        <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  136.                                     ";
  137.             } else {
  138.                 // line 49
  139.                 echo "                                        ";
  140.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'49$this->source); })()), "login_memory", [], "any"falsefalsefalse49), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログインしたままにする")]);
  141.                 echo "
  142.                                     ";
  143.             }
  144.             // line 51
  145.             echo "                                </label>
  146.                             </div>
  147.                             ";
  148.         }
  149.         // line 54
  150.         echo "                        </div>
  151.                         ";
  152.         // line 55
  153.         $context['_parent'] = $context;
  154.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'55$this->source); })()), "session", [], "any"falsefalsefalse55), "flashbag", [], "any"falsefalsefalse55), "get", [=> "password_reset_complete"], "method"falsefalsefalse55));
  155.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  156.             // line 56
  157.             echo "                            <p>";
  158.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["reset_complete"]), "html"nulltrue);
  159.             echo "</p>
  160.                         ";
  161.         }
  162.         $_parent $context['_parent'];
  163.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
  164.         $context array_intersect_key($context$_parent) + $_parent;
  165.         // line 58
  166.         echo "                        ";
  167.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'58$this->source); })())) {
  168.             // line 59
  169.             echo "                            <p class=\"ec-errorMessage\">";
  170.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'59$this->source); })()), "messageKey", [], "any"falsefalsefalse59), twig_get_attribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'59$this->source); })()), "messageData", [], "any"falsefalsefalse59), "validators"), "html"nulltrue));
  171.             echo "</p>
  172.                         ";
  173.         }
  174.         // line 61
  175.         echo "                        <div class=\"ec-grid2\">
  176.                             <div class=\"ec-grid2__cell\" data-aos=\"fade-up\">
  177.                                 <div class=\"ec-login__actions\">
  178.                                     <button type=\"submit\" class=\"ec-blockBtn--cancel\">";
  179.         // line 64
  180.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  181.         echo "</button>
  182.                                 </div>
  183.                             </div>
  184.                             <div class=\"ec-grid2__cell\" data-aos=\"fade-up\">
  185.                                 <div class=\"ec-login__link\"><a class=\"ec-link\" href=\"";
  186.         // line 68
  187.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  188.         echo "\">";
  189.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("パスワードを忘れた方はこちら"), "html"nulltrue);
  190.         echo "</a></div>
  191.                             </div>
  192.                         </div>
  193.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  194.         // line 71
  195.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  196.         echo "\">
  197.                     </form>
  198.                 </div>
  199.             </div>
  200.         </div>
  201.     </div>
  202. ";
  203.         
  204.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  205.         
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  207.     }
  208.     public function getTemplateName()
  209.     {
  210.         return "Mypage/login.twig";
  211.     }
  212.     public function isTraitable()
  213.     {
  214.         return false;
  215.     }
  216.     public function getDebugInfo()
  217.     {
  218.         return array (  209 => 71,  201 => 68,  194 => 64,  189 => 61,  183 => 59,  180 => 58,  171 => 56,  167 => 55,  164 => 54,  159 => 51,  153 => 49,  149 => 47,  147 => 46,  143 => 44,  141 => 43,  136 => 41,  132 => 40,  126 => 37,  122 => 36,  113 => 32,  109 => 30,  106 => 29,  97 => 27,  92 => 26,  90 => 25,  86 => 24,  77 => 18,  73 => 16,  63 => 15,  52 => 11,  50 => 14,  48 => 13,  35 => 11,);
  219.     }
  220.     public function getSourceContext()
  221.     {
  222.         return new Source("{#
  223. This file is part of EC-CUBE
  224. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  225. http://www.ec-cube.co.jp/
  226. For the full copyright and license information, please view the LICENSE
  227. file that was distributed with this source code.
  228. #}
  229. {% extends 'default_frame.twig' %}
  230. {% set body_class = 'mypage' %}
  231. {% set mypage_css = 'ture' %}
  232. {% block main %}
  233.     <div class=\"ec-role\">
  234.         <div class=\"ec-pageHeader\" data-aos=\"fade-up\">
  235.             <h2>{{ 'ログイン'|trans }}</h2>
  236.         </div>
  237.     <div class=\"ec-role\">
  238.         <div class=\"ec-loginRole\">
  239.             <div class=\"ec-loginRole__inner standard-inner3\">
  240.                 <div class=\"ec-login\">
  241.                     <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  242.                         {% if app.session.flashBag.has('eccube.login.target.path') %}
  243.                             {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  244.                                 <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\" />
  245.                             {% endfor %}
  246.                         {% endif %}
  247.                         <div class=\"ec-login__text\" data-aos=\"fade-up\">
  248.                             会員の方は、登録時に入力されたE-mailとパスワードでログインしてください。<br>
  249.                             <a href=\"{{ url('entry') }}\">{{ '新規会員登録はこちら'|trans }}</a>
  250.                         </div>
  251.                         <div class=\"ec-login__input\" data-aos=\"fade-up\">
  252.                             <div class=\"ec-login__input-row\">
  253.                                 {{ form_label(form.login_email, 'メールアドレス'|trans) }}
  254.                                 {{ form_widget(form.login_email, { attr: { 'style' : 'ime-mode: disabled;', placeholder: 'メールアドレス'|trans, 'autofocus': true }}) }}
  255.                             </div>
  256.                             <div class=\"ec-login__input-row\">
  257.                                 {{ form_label(form.login_pass, 'パスワード'|trans) }}
  258.                                 {{ form_widget(form.login_pass, { attr: { placeholder: 'パスワード'|trans }}) }}
  259.                             </div>
  260.                             {% if BaseInfo.option_remember_me %}
  261.                             <div class=\"ec-checkbox\">
  262.                                 <label>
  263.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  264.                                         <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  265.                                     {% else %}
  266.                                         {{ form_widget(form.login_memory, { 'label': 'ログインしたままにする'|trans }) }}
  267.                                     {% endif %}
  268.                                 </label>
  269.                             </div>
  270.                             {% endif %}
  271.                         </div>
  272.                         {% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  273.                             <p>{{ reset_complete|trans }}</p>
  274.                         {% endfor %}
  275.                         {% if error %}
  276.                             <p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  277.                         {% endif %}
  278.                         <div class=\"ec-grid2\">
  279.                             <div class=\"ec-grid2__cell\" data-aos=\"fade-up\">
  280.                                 <div class=\"ec-login__actions\">
  281.                                     <button type=\"submit\" class=\"ec-blockBtn--cancel\">{{ 'ログイン'|trans}}</button>
  282.                                 </div>
  283.                             </div>
  284.                             <div class=\"ec-grid2__cell\" data-aos=\"fade-up\">
  285.                                 <div class=\"ec-login__link\"><a class=\"ec-link\" href=\"{{ url('forgot') }}\">{{ 'パスワードを忘れた方はこちら'|trans}}</a></div>
  286.                             </div>
  287.                         </div>
  288.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  289.                     </form>
  290.                 </div>
  291.             </div>
  292.         </div>
  293.     </div>
  294. {% endblock %}
  295. ""Mypage/login.twig""/home/daishi37x/dis61.work/public_html/shosen-east.dis61.work/shop/app/template/default/Mypage/login.twig");
  296.     }
  297. }