var/cache/dev/twig/4d/4df3fd9a9bd4f17b062e04ed2c4cc388ae605d88e0b4c638031e3fc5d76e3c3f.php line 16

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_e7a3fa435fbb8986936d8496946b67191a71ac736231ac06bf50f00864b96ffc 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 "noheader_frame.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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("noheader_frame.twig""Mypage/login.twig"11);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 15
  49.     public function block_main($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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.                         ";
  93.         // line 34
  94.         echo "                        <div class=\"ec-login__input\">
  95.                             <div class=\"ec-input\">
  96.                                 ";
  97.         // line 36
  98.         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), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => "会員番号""autofocus" => true]]);
  99.         echo "
  100.                                 ";
  101.         // line 37
  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.'37$this->source); })()), "login_pass", [], "any"falsefalsefalse37), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
  103.         echo "
  104.                             </div>
  105.                             ";
  106.         // line 39
  107.         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.'39$this->source); })()), "option_remember_me", [], "any"falsefalsefalse39)) {
  108.             // line 40
  109.             echo "                            <div class=\"ec-checkbox\">
  110.                                 <label>
  111.                                     ";
  112.             // line 42
  113.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  114.                 // line 43
  115.                 echo "                                        <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  116.                                     ";
  117.             } else {
  118.                 // line 45
  119.                 echo "                                        ";
  120.                 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.'45$this->source); })()), "login_memory", [], "any"falsefalsefalse45), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次回から自動的にログインする")]);
  121.                 echo "
  122.                                     ";
  123.             }
  124.             // line 47
  125.             echo "                                </label>
  126.                             </div>
  127.                             ";
  128.         }
  129.         // line 50
  130.         echo "                            ";
  131.         $context['_parent'] = $context;
  132.         $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.'50$this->source); })()), "session", [], "any"falsefalsefalse50), "flashbag", [], "any"falsefalsefalse50), "get", [=> "password_reset_complete"], "method"falsefalsefalse50));
  133.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  134.             // line 51
  135.             echo "                                <p>";
  136.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["reset_complete"]), "html"nulltrue);
  137.             echo "</p>
  138.                             ";
  139.         }
  140.         $_parent $context['_parent'];
  141.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
  142.         $context array_intersect_key($context$_parent) + $_parent;
  143.         // line 53
  144.         echo "                            ";
  145.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'53$this->source); })())) {
  146.             // line 54
  147.             echo "                                <p class=\"ec-errorMessage\">";
  148.             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.'54$this->source); })()), "messageKey", [], "any"falsefalsefalse54), 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.'54$this->source); })()), "messageData", [], "any"falsefalsefalse54), "validators"), "html"nulltrue));
  149.             echo "</p>
  150.                             ";
  151.         }
  152.         // line 56
  153.         echo "                        </div>
  154.                         <div class=\"ec-grid2\">
  155.                             <div class=\"ec-grid2__cell\">
  156.                                 <div class=\"ec-login__actions\">
  157.                                     <button type=\"submit\"
  158.                                             class=\"ec-blockBtn--cancel\">";
  159.         // line 61
  160.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  161.         echo "</button>
  162.                                 </div>
  163.                             </div>
  164.                             <div class=\"ec-grid2__cell\">
  165.                                 <div class=\"ec-login__link\"><a class=\"ec-link\"
  166.                                                                href=\"";
  167.         // line 66
  168.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  169.         echo "\">";
  170.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン情報をお忘れですか?"), "html"nulltrue);
  171.         echo "</a>
  172.                                 </div>
  173.                                 <div class=\"ec-login__link\"><a class=\"ec-link\"
  174.                                                                href=\"";
  175.         // line 69
  176.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  177.         echo "\">";
  178.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html"nulltrue);
  179.         echo "</a><br />
  180.                                 ※登録にはキャンペーンコードが必要です。
  181.                                 </div>
  182.                             </div>
  183.                         </div>
  184.                     </div>
  185.                     <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  186.         // line 75
  187.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  188.         echo "\">
  189.                 </form>
  190.             </div>
  191.         </div>
  192.     </div>
  193. ";
  194.         
  195.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  196.         
  197.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  198.     }
  199.     public function getTemplateName()
  200.     {
  201.         return "Mypage/login.twig";
  202.     }
  203.     public function isTraitable()
  204.     {
  205.         return false;
  206.     }
  207.     public function getDebugInfo()
  208.     {
  209.         return array (  201 => 75,  190 => 69,  182 => 66,  174 => 61,  167 => 56,  161 => 54,  158 => 53,  149 => 51,  144 => 50,  139 => 47,  133 => 45,  129 => 43,  127 => 42,  123 => 40,  121 => 39,  116 => 37,  112 => 36,  108 => 34,  105 => 28,  102 => 27,  93 => 25,  88 => 24,  86 => 23,  82 => 22,  75 => 18,  71 => 16,  61 => 15,  50 => 11,  48 => 13,  35 => 11,);
  210.     }
  211.     public function getSourceContext()
  212.     {
  213.         return new Source("{#
  214. This file is part of EC-CUBE
  215. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  216. http://www.ec-cube.co.jp/
  217. For the full copyright and license information, please view the LICENSE
  218. file that was distributed with this source code.
  219. #}
  220. {% extends 'noheader_frame.twig' %}
  221. {% set body_class = 'mypage' %}
  222. {% block main %}
  223.     <div class=\"ec-role\">
  224.         <div class=\"ec-pageHeader\">
  225.             <h1>{{ 'ログイン'|trans }}</h1>
  226.         </div>
  227.         <div class=\"ec-off2Grid\">
  228.             <div class=\"ec-off2Grid__cell\">
  229.                 <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  230.                     {% if app.session.flashBag.has('eccube.login.target.path') %}
  231.                         {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  232.                             <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\" />
  233.                         {% endfor %}
  234.                     {% endif %}
  235.                     <div class=\"ec-login\">
  236.                         {# ユーザーマークは不要なので非表示
  237.                         <div class=\"ec-login__icon\">
  238.                             <div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/user.svg') }}\" alt=\"\"></div>
  239.                         </div>
  240.                         #}
  241.                         <div class=\"ec-login__input\">
  242.                             <div class=\"ec-input\">
  243.                                 {{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : '会員番号', 'autofocus': true}}) }}
  244.                                 {{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'パスワード' }}) }}
  245.                             </div>
  246.                             {% if BaseInfo.option_remember_me %}
  247.                             <div class=\"ec-checkbox\">
  248.                                 <label>
  249.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  250.                                         <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  251.                                     {% else %}
  252.                                         {{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
  253.                                     {% endif %}
  254.                                 </label>
  255.                             </div>
  256.                             {% endif %}
  257.                             {% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  258.                                 <p>{{ reset_complete|trans }}</p>
  259.                             {% endfor %}
  260.                             {% if error %}
  261.                                 <p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  262.                             {% endif %}
  263.                         </div>
  264.                         <div class=\"ec-grid2\">
  265.                             <div class=\"ec-grid2__cell\">
  266.                                 <div class=\"ec-login__actions\">
  267.                                     <button type=\"submit\"
  268.                                             class=\"ec-blockBtn--cancel\">{{ 'ログイン'|trans }}</button>
  269.                                 </div>
  270.                             </div>
  271.                             <div class=\"ec-grid2__cell\">
  272.                                 <div class=\"ec-login__link\"><a class=\"ec-link\"
  273.                                                                href=\"{{ url('forgot') }}\">{{ 'ログイン情報をお忘れですか?'|trans }}</a>
  274.                                 </div>
  275.                                 <div class=\"ec-login__link\"><a class=\"ec-link\"
  276.                                                                href=\"{{ url('entry') }}\">{{ '新規会員登録'|trans }}</a><br />
  277.                                 ※登録にはキャンペーンコードが必要です。
  278.                                 </div>
  279.                             </div>
  280.                         </div>
  281.                     </div>
  282.                     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  283.                 </form>
  284.             </div>
  285.         </div>
  286.     </div>
  287. {% endblock %}""Mypage/login.twig""/home/xs813364/ooki-g.com/public_html/partnerclubtest/ec/app/template/dtJEIA4011/Mypage/login.twig");
  288.     }
  289. }