var/cache/dev/twig/78/781f9d817dc2eccf3f149fd5810453a80aca5f2d93363f3b14852c7db54747ba.php line 51

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_e9549dca0820b66da4e05f8d7c930c24905bd19cf406d4f8e5d683f9559dd039 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_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("default_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 class=\"page-title-en\" data-title=\"Login\">ログイン</h1>
  60.         </div>
  61.         <div class=\"ec-off2Grid\">
  62.             <div class=\"ec-off2Grid__cell\">
  63.                 <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  64.         // line 22
  65.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  66.         echo "\">
  67.                     ";
  68.         // line 23
  69.         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)) {
  70.             // line 24
  71.             echo "                        ";
  72.             $context['_parent'] = $context;
  73.             $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));
  74.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  75.                 // line 25
  76.                 echo "                            <input type=\"hidden\" name=\"_target_path\" value=\"";
  77.                 echo twig_escape_filter($this->env$context["targetPath"], "html"nulltrue);
  78.                 echo "\" />
  79.                         ";
  80.             }
  81.             $_parent $context['_parent'];
  82.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  83.             $context array_intersect_key($context$_parent) + $_parent;
  84.             // line 27
  85.             echo "                    ";
  86.         }
  87.         // line 28
  88.         echo "                    <div class=\"ec-login\">
  89.                         <div class=\"ec-login__input\">
  90.                             <div class=\"ec-input\">
  91.                                 ";
  92.         // line 31
  93.         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.'31$this->source); })()), "login_email", [], "any"falsefalsefalse31), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => "メールアドレス""autofocus" => true]]);
  94.         echo "
  95.                                 ";
  96.         // line 32
  97.         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.'32$this->source); })()), "login_pass", [], "any"falsefalsefalse32), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
  98.         echo "
  99.                             </div>
  100.                             ";
  101.         // line 34
  102.         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.'34$this->source); })()), "option_remember_me", [], "any"falsefalsefalse34)) {
  103.             // line 35
  104.             echo "                            <div class=\"ec-checkbox\">
  105.                                 <label>
  106.                                     ";
  107.             // line 37
  108.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  109.                 // line 38
  110.                 echo "                                        <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  111.                                     ";
  112.             } else {
  113.                 // line 40
  114.                 echo "                                        ";
  115.                 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_memory", [], "any"falsefalsefalse40), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次回から自動的にログインする")]);
  116.                 echo "
  117.                                     ";
  118.             }
  119.             // line 42
  120.             echo "                                </label>
  121.                             </div>
  122.                             ";
  123.         }
  124.         // line 45
  125.         echo "                            ";
  126.         $context['_parent'] = $context;
  127.         $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.'45$this->source); })()), "session", [], "any"falsefalsefalse45), "flashbag", [], "any"falsefalsefalse45), "get", [=> "password_reset_complete"], "method"falsefalsefalse45));
  128.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  129.             // line 46
  130.             echo "                                <p>";
  131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["reset_complete"]), "html"nulltrue);
  132.             echo "</p>
  133.                             ";
  134.         }
  135.         $_parent $context['_parent'];
  136.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
  137.         $context array_intersect_key($context$_parent) + $_parent;
  138.         // line 48
  139.         echo "                            ";
  140.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'48$this->source); })())) {
  141.             // line 49
  142.             echo "                                <p class=\"ec-errorMessage\">";
  143.             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.'49$this->source); })()), "messageKey", [], "any"falsefalsefalse49), 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.'49$this->source); })()), "messageData", [], "any"falsefalsefalse49), "validators"), "html"nulltrue));
  144.             echo "</p>
  145.                             ";
  146.         }
  147.         // line 51
  148.         echo "                        </div>
  149.                     </div>
  150.                         <div class=\"mt-5\">
  151.                             <div class=\"text-center mb-5\">
  152.                                 <div class=\"ec-login__actions text-center\">
  153.                                     <button type=\"submit\"
  154.                                             class=\"ec-inlineBtn px-5\">";
  155.         // line 58
  156.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  157.         echo "</button>
  158.                                 </div>
  159.                             </div>
  160.                             <div class=\"text-center\">
  161.                                 <div class=\"ec-login__link mb-3\"><a class=\"ec-link\"
  162.                                                                href=\"";
  163.         // line 63
  164.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  165.         echo "\">";
  166.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン情報をお忘れですか?"), "html"nulltrue);
  167.         echo "</a>
  168.                                 </div>
  169.                                 <div class=\"ec-login__link mb-3\"><a class=\"ec-link\"
  170.                                                                href=\"";
  171.         // line 66
  172.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  173.         echo "\">";
  174.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html"nulltrue);
  175.         echo "</a>
  176.                                 </div>
  177.                             </div>
  178.                         </div>
  179.                     <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  180.         // line 70
  181.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  182.         echo "\">
  183.                 </form>
  184.             </div>
  185.         </div>
  186.     </div>
  187. ";
  188.         
  189.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  190.         
  191.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  192.     }
  193.     public function getTemplateName()
  194.     {
  195.         return "Mypage/login.twig";
  196.     }
  197.     public function isTraitable()
  198.     {
  199.         return false;
  200.     }
  201.     public function getDebugInfo()
  202.     {
  203.         return array (  196 => 70,  187 => 66,  179 => 63,  171 => 58,  162 => 51,  156 => 49,  153 => 48,  144 => 46,  139 => 45,  134 => 42,  128 => 40,  124 => 38,  122 => 37,  118 => 35,  116 => 34,  111 => 32,  107 => 31,  102 => 28,  99 => 27,  90 => 25,  85 => 24,  83 => 23,  79 => 22,  71 => 16,  61 => 15,  50 => 11,  48 => 13,  35 => 11,);
  204.     }
  205.     public function getSourceContext()
  206.     {
  207.         return new Source("{#
  208. This file is part of EC-CUBE
  209. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  210. http://www.ec-cube.co.jp/
  211. For the full copyright and license information, please view the LICENSE
  212. file that was distributed with this source code.
  213. #}
  214. {% extends 'default_frame.twig' %}
  215. {% set body_class = 'mypage' %}
  216. {% block main %}
  217.     <div class=\"ec-role\">
  218.         <div class=\"ec-pageHeader\">
  219.             <h1 class=\"page-title-en\" data-title=\"Login\">ログイン</h1>
  220.         </div>
  221.         <div class=\"ec-off2Grid\">
  222.             <div class=\"ec-off2Grid__cell\">
  223.                 <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  224.                     {% if app.session.flashBag.has('eccube.login.target.path') %}
  225.                         {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  226.                             <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\" />
  227.                         {% endfor %}
  228.                     {% endif %}
  229.                     <div class=\"ec-login\">
  230.                         <div class=\"ec-login__input\">
  231.                             <div class=\"ec-input\">
  232.                                 {{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
  233.                                 {{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'パスワード' }}) }}
  234.                             </div>
  235.                             {% if BaseInfo.option_remember_me %}
  236.                             <div class=\"ec-checkbox\">
  237.                                 <label>
  238.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  239.                                         <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  240.                                     {% else %}
  241.                                         {{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
  242.                                     {% endif %}
  243.                                 </label>
  244.                             </div>
  245.                             {% endif %}
  246.                             {% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  247.                                 <p>{{ reset_complete|trans }}</p>
  248.                             {% endfor %}
  249.                             {% if error %}
  250.                                 <p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  251.                             {% endif %}
  252.                         </div>
  253.                     </div>
  254.                         <div class=\"mt-5\">
  255.                             <div class=\"text-center mb-5\">
  256.                                 <div class=\"ec-login__actions text-center\">
  257.                                     <button type=\"submit\"
  258.                                             class=\"ec-inlineBtn px-5\">{{ 'ログイン'|trans }}</button>
  259.                                 </div>
  260.                             </div>
  261.                             <div class=\"text-center\">
  262.                                 <div class=\"ec-login__link mb-3\"><a class=\"ec-link\"
  263.                                                                href=\"{{ url('forgot') }}\">{{ 'ログイン情報をお忘れですか?'|trans }}</a>
  264.                                 </div>
  265.                                 <div class=\"ec-login__link mb-3\"><a class=\"ec-link\"
  266.                                                                href=\"{{ url('entry') }}\">{{ '新規会員登録'|trans }}</a>
  267.                                 </div>
  268.                             </div>
  269.                         </div>
  270.                     <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  271.                 </form>
  272.             </div>
  273.         </div>
  274.     </div>
  275. {% endblock %}""Mypage/login.twig""/home/mieuree/neomieuree.com/public_html/stg.neomieuree.com/app/template/mieuree/Mypage/login.twig");
  276.     }
  277. }