var/cache/dev/twig/2b/2bff1947e6e03a9f871a67e991d7456e.php line 54

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_de69f510596ab7297546f054036c0804 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.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 11
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  41.         // line 13
  42.         $context["body_class"] = "mypage";
  43.         // line 11
  44.         $this->parent $this->loadTemplate("default_frame.twig""Mypage/login.twig"11);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 15
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  59.         // line 16
  60.         echo "
  61. <script>
  62. // トグルアイコンをクリックしたときの制御(パスワード視覚化)
  63. \$(document).on('click', '.toggle-password', function () {
  64. \$(this).toggleClass(\"fa-eye fa-eye-slash\");
  65. \tvar input = \$(\$(this).attr(\"toggle\"));
  66. \tif (input.attr(\"type\") == \"password\") {
  67. \t\tinput.attr(\"type\", \"text\");
  68. \t} else {
  69. \t\tinput.attr(\"type\", \"password\");
  70. \t}
  71. });
  72. </script>
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.     }
  79.     // line 31
  80.     public function block_main($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  87.         // line 32
  88.         echo "\t<div class=\"ec-role\">
  89. \t\t<div class=\"ec-pageHeader\">
  90. \t\t\t<h1>";
  91.         // line 34
  92.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.title"), "html"nulltrue);
  93.         echo "</h1>
  94. \t\t</div>
  95. \t\t<div class=\"ec-off2Grid\">
  96. \t\t\t<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  97.         // line 37
  98.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  99.         echo "\" class=\"login_mypage_home\">
  100. \t\t\t\t";
  101.         // line 38
  102.         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.'38$this->source); })()), "session", [], "any"falsefalsetrue38), "flashBag", [], "any"falsefalsetrue38), "has", [=> "eccube.login.target.path"], "method"falsefalsetrue38)) {
  103.             // line 39
  104.             echo "\t\t\t\t\t";
  105.             $context['_parent'] = $context;
  106.             $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.'39$this->source); })()), "session", [], "any"falsefalsetrue39), "flashBag", [], "any"falsefalsetrue39), "peek", [=> "eccube.login.target.path"], "method"falsefalsetrue39));
  107.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  108.                 // line 40
  109.                 echo "\t\t\t\t\t\t<input type=\"hidden\" name=\"_target_path\" value=\"";
  110.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["targetPath"], 40$this->source), "html"nulltrue);
  111.                 echo "\"/>
  112. \t\t\t\t\t";
  113.             }
  114.             $_parent $context['_parent'];
  115.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  116.             $context array_intersect_key($context$_parent) + $_parent;
  117.             // line 42
  118.             echo "\t\t\t\t";
  119.         }
  120.         // line 43
  121.         echo "\t\t\t\t<div class=\"customize_login_display ec-off2Grid__cell\">
  122. \t\t\t\t\t<div class=\"customize_login_first customize_login_first-active\">
  123. \t\t\t\t\t\t<div class=\"ec-login\">
  124. \t\t\t\t\t\t\t<div class=\"ec-login__icon\">
  125. \t\t\t\t\t\t\t\t<div class=\"ec-icon\"><img src=\"";
  126.         // line 47
  127.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/user.svg"), "html"nulltrue);
  128.         echo "\" alt=\"\"></div>
  129. \t\t\t\t\t\t\t</div>
  130. \t\t\t\t\t\t\t<div class=\"ec-login__input\">
  131. \t\t\t\t\t\t\t\t<div class=\"ec-input\">
  132. \t\t\t\t\t\t\t\t\t";
  133.         // line 51
  134.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'51$this->source); })()), "login_email", [], "any"falsefalsetrue51), 51$this->source), 'widget', ["attr" => ["style" => "ime-mode: disabled;""placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.mail"), "autofocus" => true]]);
  135.         echo "
  136. \t\t\t\t\t\t\t\t\t<div class=\"password-field\">
  137. \t\t\t\t\t\t\t\t\t\t";
  138.         // line 53
  139.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'53$this->source); })()), "login_pass", [], "any"falsefalsetrue53), 53$this->source), 'widget', ["attr" => ["placeholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.password"), "class" => "password-input"]]);
  140.         echo "
  141. \t\t\t\t\t\t\t\t\t\t<span toggle=\".password-input\" class=\"fa fa-fw fa-eye field-icon toggle-password\"></span>
  142. \t\t\t\t\t\t\t\t\t</div>
  143. \t\t\t\t\t\t\t\t</div>
  144. \t\t\t\t\t\t\t\t";
  145.         // line 57
  146.         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.'57$this->source); })()), "option_remember_me", [], "any"falsefalsetrue57)) {
  147.             // line 58
  148.             echo "\t\t\t\t\t\t\t\t\t<div class=\"ec-checkbox\" style=\"margin-top:6px;\">
  149. \t\t\t\t\t\t\t\t\t\t<label>
  150. \t\t\t\t\t\t\t\t\t\t\t";
  151.             // line 60
  152.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  153.                 // line 61
  154.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"login_memory\" value=\"1\">
  155. \t\t\t\t\t\t\t\t\t\t\t";
  156.             } else {
  157.                 // line 63
  158.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  159.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'63$this->source); })()), "login_memory", [], "any"falsefalsetrue63), 63$this->source), 'widget', ["label" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.remember_me")]);
  160.                 echo "
  161. \t\t\t\t\t\t\t\t\t\t\t";
  162.             }
  163.             // line 65
  164.             echo "\t\t\t\t\t\t\t\t\t\t</label>
  165. \t\t\t\t\t\t\t\t\t</div>
  166. \t\t\t\t\t\t\t\t";
  167.         }
  168.         // line 68
  169.         echo "\t\t\t\t\t\t\t\t";
  170.         $context['_parent'] = $context;
  171.         $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.'68$this->source); })()), "session", [], "any"falsefalsetrue68), "flashbag", [], "any"falsefalsetrue68), "get", [=> "password_reset_complete"], "method"falsefalsetrue68));
  172.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  173.             // line 69
  174.             echo "\t\t\t\t\t\t\t\t\t<p>";
  175.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["reset_complete"], 69$this->source)), "html"nulltrue);
  176.             echo "</p>
  177. \t\t\t\t\t\t\t\t";
  178.         }
  179.         $_parent $context['_parent'];
  180.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reset_complete'], $context['_parent'], $context['loop']);
  181.         $context array_intersect_key($context$_parent) + $_parent;
  182.         // line 71
  183.         echo "\t\t\t\t\t\t\t\t";
  184.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'71$this->source); })())) {
  185.             // line 72
  186.             echo "\t\t\t\t\t\t\t\t\t<p class=\"ec-errorMessage\">";
  187.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed(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.'72$this->source); })()), "messageKey", [], "any"falsefalsetrue72), 72$this->source), $this->sandbox->ensureToStringAllowed(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.'72$this->source); })()), "messageData", [], "any"falsefalsetrue72), 72$this->source), "validators"), "html"nulltrue));
  188.             echo "</p>
  189. \t\t\t\t\t\t\t\t";
  190.         }
  191.         // line 74
  192.         echo "
  193. \t\t\t\t\t\t\t\t";
  194.         // line 76
  195.         echo "\t\t\t\t\t\t\t\t<div class=\"ec-grid2__cell\">
  196. \t\t\t\t\t\t\t\t\t<div class=\"ec-login__actions\">
  197. \t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"ec-blockBtn--action\">";
  198.         // line 78
  199.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.login"), "html"nulltrue);
  200.         echo "</button>
  201. \t\t\t\t\t\t\t\t\t</div>
  202. \t\t\t\t\t\t\t\t\t<div class=\"ec-login__link\">
  203. \t\t\t\t\t\t\t\t\t\t<a class=\"ec-link\" href=\"";
  204.         // line 81
  205.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  206.         echo "\">";
  207.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.forgot_login"), "html"nulltrue);
  208.         echo "</a>
  209. \t\t\t\t\t\t\t\t\t</div>
  210. \t\t\t\t\t\t\t\t</div>
  211. \t\t\t\t\t\t\t</div>
  212. \t\t\t\t\t\t\t<div class=\"ec-grid2\">
  213. \t\t\t\t\t\t\t\t";
  214.         // line 87
  215.         echo "\t\t\t\t\t\t\t\t";
  216.         // line 88
  217.         echo "\t\t\t\t\t\t\t\t";
  218.         // line 89
  219.         echo "\t\t\t\t\t\t\t\t";
  220.         // line 90
  221.         echo "\t\t\t\t\t\t\t\t";
  222.         // line 91
  223.         echo "\t\t\t\t\t\t\t\t";
  224.         // line 92
  225.         echo "\t\t\t\t\t\t\t\t";
  226.         // line 93
  227.         echo "\t\t\t\t\t\t\t\t";
  228.         // line 98
  229.         echo "\t\t\t\t\t\t\t</div>
  230. \t\t\t\t\t\t</div>
  231. \t\t\t\t\t\t<div class=\"ec-grid3__cell\" style=\"display:block;\">
  232. \t\t\t\t\t\t\t<div class=\"ec-guest\">
  233. \t\t\t\t\t\t\t\t<div class=\"ec-guest__inner\">
  234. \t\t\t\t\t\t\t\t\t<h3>";
  235.         // line 103
  236.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.not_a_registered_member_1"), "html"nulltrue);
  237.         echo "<br>";
  238.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.not_a_registered_member_2"), "html"nulltrue);
  239.         echo "</h3>
  240. \t\t\t\t\t\t\t\t\t<p>
  241. \t\t\t\t\t\t\t\t\t\t";
  242.         // line 105
  243.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.required_to_use"), "html"nulltrue);
  244.         echo "<br>
  245. \t\t\t\t\t\t\t\t\t\t";
  246.         // line 106
  247.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.proceed_to_the_new_member"), "html"nulltrue);
  248.         echo "
  249. \t\t\t\t\t\t\t\t\t</p>
  250. \t\t\t\t\t\t\t\t\t<div class=\"ec-guest__actions\">
  251. \t\t\t\t\t\t\t\t\t\t<a class=\"entry_by_qr ec-link ec-blackBtn--custom ec-blockBtn--cancel \" href=\"";
  252.         // line 109
  253.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry", ["ref" => ""]);
  254.         echo "\">";
  255.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.block.login.new_member_registration"), "html"nulltrue);
  256.         echo "</a>
  257. \t\t\t\t\t\t\t\t\t</div>
  258. \t\t\t\t\t\t\t\t</div>
  259. \t\t\t\t\t\t\t</div>
  260. \t\t\t\t\t\t</div>
  261. \t\t\t\t\t</div>
  262. \t\t\t\t</div>
  263. \t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"";
  264.         // line 117
  265.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  266.         echo "\">
  267. \t\t\t</form>
  268. \t\t</div>
  269. \t</div>
  270. ";
  271.         
  272.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  273.         
  274.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275.     }
  276.     public function getTemplateName()
  277.     {
  278.         return "Mypage/login.twig";
  279.     }
  280.     public function isTraitable()
  281.     {
  282.         return false;
  283.     }
  284.     public function getDebugInfo()
  285.     {
  286.         return array (  285 => 117,  272 => 109,  266 => 106,  262 => 105,  255 => 103,  248 => 98,  246 => 93,  244 => 92,  242 => 91,  240 => 90,  238 => 89,  236 => 88,  234 => 87,  224 => 81,  218 => 78,  214 => 76,  211 => 74,  205 => 72,  202 => 71,  193 => 69,  188 => 68,  183 => 65,  177 => 63,  173 => 61,  171 => 60,  167 => 58,  165 => 57,  158 => 53,  153 => 51,  146 => 47,  140 => 43,  137 => 42,  128 => 40,  123 => 39,  121 => 38,  117 => 37,  111 => 34,  107 => 32,  97 => 31,  74 => 16,  64 => 15,  53 => 11,  51 => 13,  38 => 11,);
  287.     }
  288.     public function getSourceContext()
  289.     {
  290.         return new Source("{#
  291. This file is part of EC-CUBE
  292. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  293. http://www.ec-cube.co.jp/
  294. For the full copyright and license information, please view the LICENSE
  295. file that was distributed with this source code.
  296. #}
  297. {% extends 'default_frame.twig' %}
  298. {% set body_class = 'mypage' %}
  299. {% block javascript %}
  300. <script>
  301. // トグルアイコンをクリックしたときの制御(パスワード視覚化)
  302. \$(document).on('click', '.toggle-password', function () {
  303. \$(this).toggleClass(\"fa-eye fa-eye-slash\");
  304. \tvar input = \$(\$(this).attr(\"toggle\"));
  305. \tif (input.attr(\"type\") == \"password\") {
  306. \t\tinput.attr(\"type\", \"text\");
  307. \t} else {
  308. \t\tinput.attr(\"type\", \"password\");
  309. \t}
  310. });
  311. </script>
  312. {% endblock javascript %}
  313. {% block main %}
  314. \t<div class=\"ec-role\">
  315. \t\t<div class=\"ec-pageHeader\">
  316. \t\t\t<h1>{{ 'front.block.login.title'|trans }}</h1>
  317. \t\t</div>
  318. \t\t<div class=\"ec-off2Grid\">
  319. \t\t\t<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\" class=\"login_mypage_home\">
  320. \t\t\t\t{% if app.session.flashBag.has('eccube.login.target.path') %}
  321. \t\t\t\t\t{% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  322. \t\t\t\t\t\t<input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\"/>
  323. \t\t\t\t\t{% endfor %}
  324. \t\t\t\t{% endif %}
  325. \t\t\t\t<div class=\"customize_login_display ec-off2Grid__cell\">
  326. \t\t\t\t\t<div class=\"customize_login_first customize_login_first-active\">
  327. \t\t\t\t\t\t<div class=\"ec-login\">
  328. \t\t\t\t\t\t\t<div class=\"ec-login__icon\">
  329. \t\t\t\t\t\t\t\t<div class=\"ec-icon\"><img src=\"{{ asset('assets/icon/user.svg') }}\" alt=\"\"></div>
  330. \t\t\t\t\t\t\t</div>
  331. \t\t\t\t\t\t\t<div class=\"ec-login__input\">
  332. \t\t\t\t\t\t\t\t<div class=\"ec-input\">
  333. \t\t\t\t\t\t\t\t\t{{ form_widget(form.login_email, {'attr': {'style' : 'ime-mode: disabled;', 'placeholder' : 'front.block.login.mail'|trans, 'autofocus': true}}) }}
  334. \t\t\t\t\t\t\t\t\t<div class=\"password-field\">
  335. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.login_pass,  {'attr': {'placeholder' : 'front.block.login.password'|trans, 'class': 'password-input'}}) }}
  336. \t\t\t\t\t\t\t\t\t\t<span toggle=\".password-input\" class=\"fa fa-fw fa-eye field-icon toggle-password\"></span>
  337. \t\t\t\t\t\t\t\t\t</div>
  338. \t\t\t\t\t\t\t\t</div>
  339. \t\t\t\t\t\t\t\t{% if BaseInfo.option_remember_me %}
  340. \t\t\t\t\t\t\t\t\t<div class=\"ec-checkbox\" style=\"margin-top:6px;\">
  341. \t\t\t\t\t\t\t\t\t\t<label>
  342. \t\t\t\t\t\t\t\t\t\t\t{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  343. \t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"login_memory\" value=\"1\">
  344. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  345. \t\t\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.login_memory, { 'label': 'common.remember_me'|trans }) }}
  346. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  347. \t\t\t\t\t\t\t\t\t\t</label>
  348. \t\t\t\t\t\t\t\t\t</div>
  349. \t\t\t\t\t\t\t\t{% endif %}
  350. \t\t\t\t\t\t\t\t{% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  351. \t\t\t\t\t\t\t\t\t<p>{{ reset_complete|trans }}</p>
  352. \t\t\t\t\t\t\t\t{% endfor %}
  353. \t\t\t\t\t\t\t\t{% if error %}
  354. \t\t\t\t\t\t\t\t\t<p class=\"ec-errorMessage\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  355. \t\t\t\t\t\t\t\t{% endif %}
  356. \t\t\t\t\t\t\t\t{# ログインボタン #}
  357. \t\t\t\t\t\t\t\t<div class=\"ec-grid2__cell\">
  358. \t\t\t\t\t\t\t\t\t<div class=\"ec-login__actions\">
  359. \t\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"ec-blockBtn--action\">{{ 'common.login'|trans }}</button>
  360. \t\t\t\t\t\t\t\t\t</div>
  361. \t\t\t\t\t\t\t\t\t<div class=\"ec-login__link\">
  362. \t\t\t\t\t\t\t\t\t\t<a class=\"ec-link\" href=\"{{ url('forgot') }}\">{{ 'common.forgot_login'|trans }}</a>
  363. \t\t\t\t\t\t\t\t\t</div>
  364. \t\t\t\t\t\t\t\t</div>
  365. \t\t\t\t\t\t\t</div>
  366. \t\t\t\t\t\t\t<div class=\"ec-grid2\">
  367. \t\t\t\t\t\t\t\t{# 新規会員登録 (招待コードあり)#}
  368. \t\t\t\t\t\t\t\t{#<div class=\"ec-grid2__cell\">#}
  369. \t\t\t\t\t\t\t\t{#\t<div class=\"ec-login__actions\">#}
  370. \t\t\t\t\t\t\t\t{#\t\t<a class=\"entry_by_qr ec-link ec-blackBtn--custom ec-blockBtn--cancel \" href=\"{{ url('entry', {'ref':''}) }}\">{{ '会員登録'|trans }}</a>#}
  371. \t\t\t\t\t\t\t\t{#\t</div>#}
  372. \t\t\t\t\t\t\t\t{#</div>#}
  373. \t\t\t\t\t\t\t\t{# 新規会員登録 (招待コードなし)#}
  374. \t\t\t\t\t\t\t\t{# <div class=\"ec-grid2__cell\">
  375. \t\t\t\t\t\t\t\t\t<div class=\"ec-login__actions\">
  376. \t\t\t\t\t\t\t\t\t\t<a class=\"ec-link non_coad_entry ec-blackBtn--custom ec-blockBtn--cancel\" href=\"{{ url('entry') }}\">{{ '招待QR・招待コードをお持ちでない'|trans }}<br>{{ '初めての方はこちら'|trans }}</a>
  377. \t\t\t\t\t\t\t\t\t</div>
  378. \t\t\t\t\t\t\t\t</div> #}
  379. \t\t\t\t\t\t\t</div>
  380. \t\t\t\t\t\t</div>
  381. \t\t\t\t\t\t<div class=\"ec-grid3__cell\" style=\"display:block;\">
  382. \t\t\t\t\t\t\t<div class=\"ec-guest\">
  383. \t\t\t\t\t\t\t\t<div class=\"ec-guest__inner\">
  384. \t\t\t\t\t\t\t\t\t<h3>{{ 'front.block.login.not_a_registered_member_1' |trans }}<br>{{ 'front.block.login.not_a_registered_member_2' |trans }}</h3>
  385. \t\t\t\t\t\t\t\t\t<p>
  386. \t\t\t\t\t\t\t\t\t\t{{'front.block.login.required_to_use' |trans}}<br>
  387. \t\t\t\t\t\t\t\t\t\t{{'front.block.login.proceed_to_the_new_member' |trans}}
  388. \t\t\t\t\t\t\t\t\t</p>
  389. \t\t\t\t\t\t\t\t\t<div class=\"ec-guest__actions\">
  390. \t\t\t\t\t\t\t\t\t\t<a class=\"entry_by_qr ec-link ec-blackBtn--custom ec-blockBtn--cancel \" href=\"{{ url('entry', {'ref':''}) }}\">{{ 'front.block.login.new_member_registration'|trans }}</a>
  391. \t\t\t\t\t\t\t\t\t</div>
  392. \t\t\t\t\t\t\t\t</div>
  393. \t\t\t\t\t\t\t</div>
  394. \t\t\t\t\t\t</div>
  395. \t\t\t\t\t</div>
  396. \t\t\t\t</div>
  397. \t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  398. \t\t\t</form>
  399. \t\t</div>
  400. \t</div>
  401. {% endblock %}
  402. ""Mypage/login.twig""/home/aonchappy/aonchappy.xsrv.jp/public_html/app/template/default/Mypage/login.twig");
  403.     }
  404.     
  405.     public function checkSecurity()
  406.     {
  407.         static $tags = array("set" => 13"if" => 38"for" => 39);
  408.         static $filters = array("escape" => 34"trans" => 34"nl2br" => 72);
  409.         static $functions = array("url" => 37"asset" => 47"form_widget" => 51"is_granted" => 60"csrf_token" => 117);
  410.         try {
  411.             $this->sandbox->checkSecurity(
  412.                 ['set''if''for'],
  413.                 ['escape''trans''nl2br'],
  414.                 ['url''asset''form_widget''is_granted''csrf_token']
  415.             );
  416.         } catch (SecurityError $e) {
  417.             $e->setSourceContext($this->source);
  418.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  419.                 $e->setTemplateLine($tags[$e->getTagName()]);
  420.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  421.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  422.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  423.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  424.             }
  425.             throw $e;
  426.         }
  427.     }
  428. }