var/cache/dev/twig/7a/7ab5998a5b66ff18f8697d0582073c8b83d2b9336a553f30016f8b5c444db520.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. /* __string_template__08ffb39048adb20121ce82190c7e4376787f6309e63f2e2b65f427d16345b417 */
  14. class __TwigTemplate_7250ef335fc1e0998ba821ceb6142ba7bd2cf8152d6cb497b4c9f719c720514b 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""__string_template__08ffb39048adb20121ce82190c7e4376787f6309e63f2e2b65f427d16345b417"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__08ffb39048adb20121ce82190c7e4376787f6309e63f2e2b65f427d16345b417"));
  38.         // line 13
  39.         $context["body_class"] = "mypage";
  40.         // line 11
  41.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__08ffb39048adb20121ce82190c7e4376787f6309e63f2e2b65f427d16345b417"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 "    <ul class=\"breadcrumb w-p\">
  58.         <li class=\"breadcrumb__item\">
  59.             <a href=\"";
  60.         // line 18
  61.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  62.         echo "\" class=\"breadcrumb__item__link\">
  63.                 ホーム
  64.             </a>
  65.         </li>
  66.         <li class=\"breadcrumb__item\">
  67.             <p class=\"breadcrumb__item__arrow\">></p>
  68.         </li>
  69.         <li class=\"breadcrumb__item\">
  70.             <p class=\"breadcrumb__item__text\">ログイン</p>
  71.         </li>
  72.     </ul>
  73.     <div class=\"ec-role\">
  74.         <div class=\"ec-pageHeader\">
  75.             <h1 class=\"text-center\">";
  76.         // line 31
  77.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  78.         echo "</h1>
  79.         </div>
  80.         <div class=\"login-layout\">
  81.             <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  82.         // line 34
  83.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  84.         echo "\">
  85.                 ";
  86.         // line 35
  87.         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.'35$this->source); })()), "session", [], "any"falsefalsefalse35), "flashBag", [], "any"falsefalsefalse35), "has", [=> "eccube.login.target.path"], "method"falsefalsefalse35)) {
  88.             // line 36
  89.             echo "                    ";
  90.             $context['_parent'] = $context;
  91.             $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.'36$this->source); })()), "session", [], "any"falsefalsefalse36), "flashBag", [], "any"falsefalsefalse36), "peek", [=> "eccube.login.target.path"], "method"falsefalsefalse36));
  92.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  93.                 // line 37
  94.                 echo "                        <input type=\"hidden\" name=\"_target_path\" value=\"";
  95.                 echo twig_escape_filter($this->env$context["targetPath"], "html"nulltrue);
  96.                 echo "\" />
  97.                     ";
  98.             }
  99.             $_parent $context['_parent'];
  100.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  101.             $context array_intersect_key($context$_parent) + $_parent;
  102.             // line 39
  103.             echo "                ";
  104.         }
  105.         // line 40
  106.         echo "                <div class=\"ec-login\">
  107.                     <div class=\"ec-login__inner\">
  108.                         <div class=\"ec-login__icon\">
  109.                             <div class=\"ec-icon\"><img src=\"";
  110.         // line 43
  111.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/kagi.svg"), "html"nulltrue);
  112.         echo "\" alt=\"\"></div>
  113.                         </div>
  114.                         <div class=\"ec-login__input\">
  115.                             <div class=\"ec-input\">
  116.                                 ";
  117.         // line 47
  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.'47$this->source); })()), "login_email", [], "any"falsefalsefalse47), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => "メールアドレス""autofocus" => true]]);
  119.         echo "
  120.                                 <div class=\"password-content space\">
  121.                                     ";
  122.         // line 49
  123.         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_pass", [], "any"falsefalsefalse49), 'widget', ["attr" => ["placeholder" => "パスワード"]]);
  124.         echo "
  125.                                     <button type=\"button\" class=\"eye\" />
  126.                                 </div>
  127.                             </div>
  128.                             ";
  129.         // line 53
  130.         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.'53$this->source); })()), "option_remember_me", [], "any"falsefalsefalse53)) {
  131.             // line 54
  132.             echo "                            <div class=\"ec-checkbox\">
  133.                                 <label>
  134.                                     ";
  135.             // line 56
  136.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  137.                 // line 57
  138.                 echo "                                        <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  139.                                     ";
  140.             } else {
  141.                 // line 59
  142.                 echo "                                        ";
  143.                 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.'59$this->source); })()), "login_memory", [], "any"falsefalsefalse59), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次回から自動的にログインする")]);
  144.                 echo "
  145.                                     ";
  146.             }
  147.             // line 61
  148.             echo "                                </label>
  149.                             </div>
  150.                             ";
  151.         }
  152.         // line 64
  153.         echo "                            ";
  154.         $context['_parent'] = $context;
  155.         $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.'64$this->source); })()), "session", [], "any"falsefalsefalse64), "flashbag", [], "any"falsefalsefalse64), "get", [=> "password_reset_complete"], "method"falsefalsefalse64));
  156.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  157.             // line 65
  158.             echo "                                <p>";
  159.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["reset_complete"]), "html"nulltrue);
  160.             echo "</p>
  161.                             ";
  162.         }
  163.         $_parent $context['_parent'];
  164.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
  165.         $context array_intersect_key($context$_parent) + $_parent;
  166.         // line 67
  167.         echo "                            ";
  168.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'67$this->source); })())) {
  169.             // line 68
  170.             echo "                                <p class=\"ec-errorMessage\">";
  171.             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.'68$this->source); })()), "messageKey", [], "any"falsefalsefalse68), 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.'68$this->source); })()), "messageData", [], "any"falsefalsefalse68), "validators"), "html"nulltrue));
  172.             echo "</p>
  173.                             ";
  174.         }
  175.         // line 70
  176.         echo "                        </div>
  177.                         <div class=\"ec-login__actions\">
  178.                                     <button type=\"submit\"
  179.                                             class=\"ec-blockBtn--cancel\">";
  180.         // line 73
  181.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン"), "html"nulltrue);
  182.         echo "</button>
  183.                         </div>
  184.                         <div class=\"lineLogin\"><div class=\"lineLogin__btn\" style=\"\"><a href=\"https://bravers.xbiz.jp/plugin_line_login\" class=\"line-button\"><img src=\"https://bravers.xbiz.jp/html/plugin/line_integration/assets/img/btn_login_base.png\" alt=\"LINEログイン\"></a></div>
  185. </div>
  186.                         <div class=\"ec-login__links\">
  187.                             <div class=\"ec-login__link\"><a class=\"ec-link\"
  188.                                                             href=\"";
  189.         // line 79
  190.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  191.         echo "\">";
  192.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ログイン情報をお忘れですか?"), "html"nulltrue);
  193.         echo "</a>
  194.                             </div>
  195.                             <div class=\"ec-login__link\"><a class=\"ec-link\"
  196.                                                             href=\"";
  197.         // line 82
  198.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_contact");
  199.         echo "\">";
  200.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新規会員登録"), "html"nulltrue);
  201.         echo "</a>
  202.                             </div>
  203.                         </div>
  204.                     </div>
  205.                 </div>
  206.                 <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  207.         // line 87
  208.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  209.         echo "\">
  210.             </form>
  211.         </div>
  212.     </div>
  213. ";
  214.         
  215.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  216.         
  217.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  218.     }
  219.     public function getTemplateName()
  220.     {
  221.         return "__string_template__08ffb39048adb20121ce82190c7e4376787f6309e63f2e2b65f427d16345b417";
  222.     }
  223.     public function isTraitable()
  224.     {
  225.         return false;
  226.     }
  227.     public function getDebugInfo()
  228.     {
  229.         return array (  222 => 87,  212 => 82,  204 => 79,  195 => 73,  190 => 70,  184 => 68,  181 => 67,  172 => 65,  167 => 64,  162 => 61,  156 => 59,  152 => 57,  150 => 56,  146 => 54,  144 => 53,  137 => 49,  132 => 47,  125 => 43,  120 => 40,  117 => 39,  108 => 37,  103 => 36,  101 => 35,  97 => 34,  91 => 31,  75 => 18,  71 => 16,  61 => 15,  50 => 11,  48 => 13,  35 => 11,);
  230.     }
  231.     public function getSourceContext()
  232.     {
  233.         return new Source("{#
  234. This file is part of EC-CUBE
  235. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  236. http://www.ec-cube.co.jp/
  237. For the full copyright and license information, please view the LICENSE
  238. file that was distributed with this source code.
  239. #}
  240. {% extends 'default_frame.twig' %}
  241. {% set body_class = 'mypage' %}
  242. {% block main %}
  243.     <ul class=\"breadcrumb w-p\">
  244.         <li class=\"breadcrumb__item\">
  245.             <a href=\"{{ url('homepage') }}\" class=\"breadcrumb__item__link\">
  246.                 ホーム
  247.             </a>
  248.         </li>
  249.         <li class=\"breadcrumb__item\">
  250.             <p class=\"breadcrumb__item__arrow\">></p>
  251.         </li>
  252.         <li class=\"breadcrumb__item\">
  253.             <p class=\"breadcrumb__item__text\">ログイン</p>
  254.         </li>
  255.     </ul>
  256.     <div class=\"ec-role\">
  257.         <div class=\"ec-pageHeader\">
  258.             <h1 class=\"text-center\">{{ 'ログイン'|trans }}</h1>
  259.         </div>
  260.         <div class=\"login-layout\">
  261.             <form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  262.                 {% if app.session.flashBag.has('eccube.login.target.path') %}
  263.                     {% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  264.                         <input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\" />
  265.                     {% endfor %}
  266.                 {% endif %}
  267.                 <div class=\"ec-login\">
  268.                     <div class=\"ec-login__inner\">
  269.                         <div class=\"ec-login__icon\">
  270.                             <div class=\"ec-icon\"><img src=\"{{ asset('assets/img/common/kagi.svg') }}\" alt=\"\"></div>
  271.                         </div>
  272.                         <div class=\"ec-login__input\">
  273.                             <div class=\"ec-input\">
  274.                                 {{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'メールアドレス', 'autofocus': true}}) }}
  275.                                 <div class=\"password-content space\">
  276.                                     {{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'パスワード' }}) }}
  277.                                     <button type=\"button\" class=\"eye\" />
  278.                                 </div>
  279.                             </div>
  280.                             {% if BaseInfo.option_remember_me %}
  281.                             <div class=\"ec-checkbox\">
  282.                                 <label>
  283.                                     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  284.                                         <input type=\"hidden\" name=\"login_memory\" value=\"1\">
  285.                                     {% else %}
  286.                                         {{ form_widget(form.login_memory, { 'label': '次回から自動的にログインする'|trans }) }}
  287.                                     {% endif %}
  288.                                 </label>
  289.                             </div>
  290.                             {% endif %}
  291.                             {% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  292.                                 <p>{{ reset_complete|trans }}</p>
  293.                             {% endfor %}
  294.                             {% if error %}
  295.                                 <p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  296.                             {% endif %}
  297.                         </div>
  298.                         <div class=\"ec-login__actions\">
  299.                                     <button type=\"submit\"
  300.                                             class=\"ec-blockBtn--cancel\">{{ 'ログイン'|trans }}</button>
  301.                         </div>
  302.                         <div class=\"lineLogin\"><div class=\"lineLogin__btn\" style=\"\"><a href=\"https://bravers.xbiz.jp/plugin_line_login\" class=\"line-button\"><img src=\"https://bravers.xbiz.jp/html/plugin/line_integration/assets/img/btn_login_base.png\" alt=\"LINEログイン\"></a></div>
  303. </div>
  304.                         <div class=\"ec-login__links\">
  305.                             <div class=\"ec-login__link\"><a class=\"ec-link\"
  306.                                                             href=\"{{ url('forgot') }}\">{{ 'ログイン情報をお忘れですか?'|trans }}</a>
  307.                             </div>
  308.                             <div class=\"ec-login__link\"><a class=\"ec-link\"
  309.                                                             href=\"{{ url('entry_contact') }}\">{{ '新規会員登録'|trans }}</a>
  310.                             </div>
  311.                         </div>
  312.                     </div>
  313.                 </div>
  314.                 <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  315.             </form>
  316.         </div>
  317.     </div>
  318. {% endblock %}
  319. ""__string_template__08ffb39048adb20121ce82190c7e4376787f6309e63f2e2b65f427d16345b417""");
  320.     }
  321. }