var/cache/dev/twig/cd/cde4cc689c41df9bfb8b0a1977577132.php line 38

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_d00783f3f12474ee338ad008074a1dd8 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 11
  41.         $this->parent $this->loadTemplate("default_frame.twig""Mypage/login.twig"11);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 15
  49.     public function block_main($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         // line 16
  57.         echo "    <div class=\"ec-role\">
  58.         <div class=\"ec-pageHeader\">
  59.             <h1>";
  60.         // line 18
  61.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  62.         echo "</h1>
  63.         </div>
  64.         <div class=\"ec-off2Grid\">
  65.             <div class=\"ec-off2Grid__cell\">
  66.                 <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  67.         // line 22
  68.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  69.         echo "\">
  70.                     ";
  71.         // line 23
  72.         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.'23$this->source); })()), "session", [], "any"falsefalsefalse23), "flashBag", [], "any"falsefalsefalse23), "has", [=> "eccube.login.target.path"], "method"falsefalsefalse23)) {
  73.             // line 24
  74.             echo "                        ";
  75.             $context['_parent'] = $context;
  76.             $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.'24$this->source); })()), "session", [], "any"falsefalsefalse24), "flashBag", [], "any"falsefalsefalse24), "peek", [=> "eccube.login.target.path"], "method"falsefalsefalse24));
  77.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  78.                 // line 25
  79.                 echo "                            <input type=\"hidden\" name=\"_target_path\" value=\"";
  80.                 echo twig_escape_filter($this->env$context["targetPath"], "html"nulltrue);
  81.                 echo "\" />
  82.                         ";
  83.             }
  84.             $_parent $context['_parent'];
  85.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  86.             $context array_intersect_key($context$_parent) + $_parent;
  87.             // line 27
  88.             echo "                    ";
  89.         }
  90.         // line 28
  91.         echo "                    <div class=\"ec-login\">
  92.                         <div class=\"ec-login__icon\">
  93.                             <div class=\"ec-icon\"><img src=\"";
  94.         // line 30
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/user.svg"), "html"nulltrue);
  96.         echo "\" alt=\"\"></div>
  97.                         </div>
  98.                         <div class=\"ec-login__input\">
  99.                             <div class=\"ec-input\">
  100.                                 ";
  101.         // line 34
  102.         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.'34$this->source); })()), "login_email", [], "any"falsefalsefalse34), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => "メールアドレス""autofocus" => true]]);
  103.         echo "
  104.                                 ";
  105.         // line 35
  106.         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.'35$this->source); })()), "login_pass", [], "any"falsefalsefalse35), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
  107.         echo "
  108.                             </div>
  109.                             ";
  110.         // line 37
  111.         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.'37$this->source); })()), "option_remember_me", [], "any"falsefalsefalse37)) {
  112.             // line 38
  113.             echo "                            <div class=\"ec-checkbox\">
  114.                                 <label>
  115.                                     ";
  116.             // line 40
  117.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  118.                 // line 41
  119.                 echo "                                        <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  120.                                     ";
  121.             } else {
  122.                 // line 43
  123.                 echo "                                        ";
  124.                 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.'43$this->source); })()), "login_memory", [], "any"falsefalsefalse43), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次回から自動的にログインする")]);
  125.                 echo "
  126.                                     ";
  127.             }
  128.             // line 45
  129.             echo "                                </label>
  130.                             </div>
  131.                             ";
  132.         }
  133.         // line 48
  134.         echo "                            ";
  135.         $context['_parent'] = $context;
  136.         $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.'48$this->source); })()), "session", [], "any"falsefalsefalse48), "flashbag", [], "any"falsefalsefalse48), "get", [=> "password_reset_complete"], "method"falsefalsefalse48));
  137.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  138.             // line 49
  139.             echo "                                <p>";
  140.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["reset_complete"]), "html"nulltrue);
  141.             echo "</p>
  142.                             ";
  143.         }
  144.         $_parent $context['_parent'];
  145.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
  146.         $context array_intersect_key($context$_parent) + $_parent;
  147.         // line 51
  148.         echo "                            ";
  149.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'51$this->source); })())) {
  150.             // line 52
  151.             echo "                                <p class=\"ec-errorMessage\">";
  152.             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.'52$this->source); })()), "messageKey", [], "any"falsefalsefalse52), 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.'52$this->source); })()), "messageData", [], "any"falsefalsefalse52), "validators"), "html"nulltrue));
  153.             echo "</p>
  154.                             ";
  155.         }
  156.         // line 54
  157.         echo "                        </div>
  158.                         <div class=\"ec-grid2\">
  159.                             <div class=\"ec-grid2__cell\">
  160.                                 <div class=\"ec-login__actions\">
  161.                                     <button type=\"submit\"
  162.                                             class=\"ec-blockBtn--cancel\">";
  163.         // line 59
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  165.         echo "</button>
  166.                                 </div>
  167.                             </div>
  168.                             <div class=\"ec-grid2__cell\">
  169.                                 <div class=\"ec-login__link\">・<a class=\"ec-link\" href=\"";
  170.         // line 63
  171.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  172.         echo "\">";
  173.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン情報をお忘れの方"), "html"nulltrue);
  174.         echo "</a>
  175.                                 </div>
  176. ";
  177.         // line 70
  178.         echo "                                <div class=\"ec-login__link\">・<a class=\"ec-link\" href=\"";
  179.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  180.         echo "\">";
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("リニューアル前に会員登録されていた方でリニューアル後に初めてログインされる方"), "html"nulltrue);
  182.         echo "</a>
  183.                                 </div>
  184.                                 <div class=\"ec-login__link\">・<a class=\"ec-link fc_black\" href=\"";
  185.         // line 72
  186.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  187.         echo "\">";
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html"nulltrue);
  189.         echo "</a>
  190.                                 </div>
  191. ";
  192.         // line 75
  193.         echo "                            </div>
  194.                         </div>
  195.                     </div>
  196.                     <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  197.         // line 78
  198.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  199.         echo "\">
  200.                 </form>
  201.             </div>
  202.         </div>
  203.     </div>
  204. ";
  205.         
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  207.         
  208.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  209.     }
  210.     public function getTemplateName()
  211.     {
  212.         return "Mypage/login.twig";
  213.     }
  214.     public function isTraitable()
  215.     {
  216.         return false;
  217.     }
  218.     public function getDebugInfo()
  219.     {
  220.         return array (  212 => 78,  207 => 75,  200 => 72,  192 => 70,  185 => 63,  178 => 59,  171 => 54,  165 => 52,  162 => 51,  153 => 49,  148 => 48,  143 => 45,  137 => 43,  133 => 41,  131 => 40,  127 => 38,  125 => 37,  120 => 35,  116 => 34,  109 => 30,  105 => 28,  102 => 27,  93 => 25,  88 => 24,  86 => 23,  82 => 22,  75 => 18,  71 => 16,  61 => 15,  50 => 11,  48 => 13,  35 => 11,);
  221.     }
  222.     public function getSourceContext()
  223.     {
  224.         return new Source("{#
  225. This file is part of EC-CUBE
  226. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  227. http://www.ec-cube.co.jp/
  228. For the full copyright and license information, please view the LICENSE
  229. file that was distributed with this source code.
  230. #}
  231. {% extends 'default_frame.twig' %}
  232. {% set body_class = 'mypage' %}
  233. {% block main %}
  234.     <div class=\"ec-role\">
  235.         <div class=\"ec-pageHeader\">
  236.             <h1>{{ 'ログイン'|trans }}</h1>
  237.         </div>
  238.         <div class=\"ec-off2Grid\">
  239.             <div class=\"ec-off2Grid__cell\">
  240.                 <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  241.                     {% if app.session.flashBag.has('eccube.login.target.path') %}
  242.                         {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  243.                             <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\" />
  244.                         {% endfor %}
  245.                     {% endif %}
  246.                     <div class=\"ec-login\">
  247.                         <div class=\"ec-login__icon\">
  248.                             <div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/user.svg') }}\" alt=\"\"></div>
  249.                         </div>
  250.                         <div class=\"ec-login__input\">
  251.                             <div class=\"ec-input\">
  252.                                 {{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
  253.                                 {{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'パスワード' }}) }}
  254.                             </div>
  255.                             {% if BaseInfo.option_remember_me %}
  256.                             <div class=\"ec-checkbox\">
  257.                                 <label>
  258.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  259.                                         <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  260.                                     {% else %}
  261.                                         {{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
  262.                                     {% endif %}
  263.                                 </label>
  264.                             </div>
  265.                             {% endif %}
  266.                             {% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  267.                                 <p>{{ reset_complete|trans }}</p>
  268.                             {% endfor %}
  269.                             {% if error %}
  270.                                 <p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  271.                             {% endif %}
  272.                         </div>
  273.                         <div class=\"ec-grid2\">
  274.                             <div class=\"ec-grid2__cell\">
  275.                                 <div class=\"ec-login__actions\">
  276.                                     <button type=\"submit\"
  277.                                             class=\"ec-blockBtn--cancel\">{{ 'ログイン'|trans }}</button>
  278.                                 </div>
  279.                             </div>
  280.                             <div class=\"ec-grid2__cell\">
  281.                                 <div class=\"ec-login__link\">・<a class=\"ec-link\" href=\"{{ url('forgot') }}\">{{ 'ログイン情報をお忘れの方'|trans }}</a>
  282.                                 </div>
  283. {#▼RZ 2023.07.02 ADD 文言追加▼#}
  284. {#
  285.                                 <div class=\"ec-login__link\">・<a class=\"ec-link\" href=\"{{ url('entry') }}\">{{ '新規会員登録'|trans }}</a>
  286.                                 </div>
  287. #}
  288.                                 <div class=\"ec-login__link\">・<a class=\"ec-link\" href=\"{{ url('forgot') }}\">{{ 'リニューアル前に会員登録されていた方でリニューアル後に初めてログインされる方'|trans }}</a>
  289.                                 </div>
  290.                                 <div class=\"ec-login__link\">・<a class=\"ec-link fc_black\" href=\"{{ url('entry') }}\">{{ '新規会員登録'|trans }}</a>
  291.                                 </div>
  292. {#▲RZ 2023.07.02 ADD 文言追加▲#}
  293.                             </div>
  294.                         </div>
  295.                     </div>
  296.                     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  297.                 </form>
  298.             </div>
  299.         </div>
  300.     </div>
  301. {% endblock %}""Mypage/login.twig""/home/xs031638/hieiyuba.xyz/public_html/shop/app/template/default/Mypage/login.twig");
  302.     }
  303. }