var/cache/dev/twig/77/77964c66adab918692175a2b5c65bd09.php line 40

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_51a8f857065154768b1f8f1c3424594a 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Mypage/login.twig"));
  40.         // line 13
  41.         $context["body_class"] = "mypage";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Mypage/login.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_main($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  58.         // line 16
  59.         echo "\t<div class=\"mt-10 mb-[120px] px-4 md:mt-4 md:mb-10 animate-slideIn\">
  60. \t\t<div class=\"w-full max-w-[720px] flex flex-col gap-10 md:gap-5 mx-auto\">
  61. \t\t\t<h2 class=\"text-2xl md:text-lg font-extralight\">新規会員登録・ログイン</h2>
  62. \t\t\t";
  63.         // line 20
  64.         echo "\t\t\t<div class=\"bg-manakaBeige\">
  65. \t\t\t\t<h3 class=\"bg-[#A7A79B] text-white font-bold px-8 py-4 mb-10 md:mb-6\">新規会員登録</h3>
  66. \t\t\t\t<p class=\"text-sm text-center font-bold mb-5\">
  67. \t\t\t\t\t<span>●</span>
  68. \t\t\t\t\tはじめてのご利用はこちら
  69. \t\t\t\t</p>
  70. \t\t\t\t<a class=\"mb-10 md:mb-5 py-4 md:py-3 block text-lg text-white text-center bg-[#333] mx-auto w-[calc(100%-32px)] max-w-[300px] md:text-base hover\" href=\"";
  71.         // line 26
  72.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  73.         echo "\">会員登録</a>
  74. \t\t\t</div>
  75. \t\t\t";
  76.         // line 29
  77.         echo "\t\t\t<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"";
  78.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage_login");
  79.         echo "\">
  80. \t\t\t\t";
  81.         // line 30
  82.         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.'30$this->source); })()), "session", [], "any"falsefalsetrue30), "flashBag", [], "any"falsefalsetrue30), "has", [=> "eccube.login.target.path"], "method"falsefalsetrue30)) {
  83.             // line 31
  84.             echo "\t\t\t\t\t";
  85.             $context['_parent'] = $context;
  86.             $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.'31$this->source); })()), "session", [], "any"falsefalsetrue31), "flashBag", [], "any"falsefalsetrue31), "peek", [=> "eccube.login.target.path"], "method"falsefalsetrue31));
  87.             foreach ($context['_seq'] as $context["_key"] => $context["targetPath"]) {
  88.                 // line 32
  89.                 echo "\t\t\t\t\t\t<input type=\"hidden\" name=\"_target_path\" value=\"";
  90.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["targetPath"], 32$this->source), "html"nulltrue);
  91.                 echo "\"/>
  92. \t\t\t\t\t";
  93.             }
  94.             $_parent $context['_parent'];
  95.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['targetPath'], $context['_parent'], $context['loop']);
  96.             $context array_intersect_key($context$_parent) + $_parent;
  97.             // line 34
  98.             echo "\t\t\t\t";
  99.         }
  100.         // line 35
  101.         echo "\t\t\t\t<div class=\"flex flex-col items-center w-full bg-manakaBeige x\">
  102. \t\t\t\t\t<h3 class=\"bg-[#A7A79B] text-white font-bold px-8 py-4 mb-10 w-full md:mb-6\">ログイン</h3>
  103.                     ";
  104.         // line 37
  105.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'37$this->source); })())) {
  106.             // line 38
  107.             echo "                        <p class=\"my-2 text-[15px] text-[#be5255] font-bold text-center\">";
  108.             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.'38$this->source); })()), "messageKey", [], "any"falsefalsetrue38), 38$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.'38$this->source); })()), "messageData", [], "any"falsefalsetrue38), 38$this->source), "validators"), "html"nulltrue));
  109.             echo "</p>
  110.                     ";
  111.         }
  112.         // line 40
  113.         echo "\t\t\t\t\t<div class=\"w-full mb-6 md:mb-5 px-4 max-w-[576px] mx-auto\">
  114. \t\t\t\t\t\t<div class=\"flex flex-col gap-4 md:gap-3 w-full\">
  115. \t\t\t\t\t\t\t";
  116.         // line 42
  117.         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.'42$this->source); })()), "login_email", [], "any"falsefalsetrue42), 42$this->source), 'widget', ["attr" => ["class" => "w-full max-w-[576px] mx-auto px-4 py-2 border border-[#CCC] rounded-md""style" => "ime-mode: disabled;""placeholder" => "common.mail_address""autofocus" => true]]);
  118.         echo "
  119. \t\t\t\t\t\t\t";
  120.         // line 43
  121.         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.'43$this->source); })()), "login_pass", [], "any"falsefalsetrue43), 43$this->source), 'widget', ["attr" => ["class" => "w-full max-w-[576px] mx-auto px-4 py-2 border border-[#CCC] rounded-md""placeholder" => "common.password"]]);
  122.         echo "
  123. \t\t\t\t\t\t</div>
  124. \t\t\t\t\t\t";
  125.         // line 45
  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"falsefalsetrue45), "flashbag", [], "any"falsefalsetrue45), "get", [=> "password_reset_complete"], "method"falsefalsetrue45));
  128.         foreach ($context['_seq'] as $context["_key"] => $context["reset_complete"]) {
  129.             // line 46
  130.             echo "\t\t\t\t\t\t\t<p class=\"mt-2\">";
  131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["reset_complete"], 46$this->source)), "html"nulltrue);
  132.             echo "</p>
  133. \t\t\t\t\t\t";
  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 "\t\t\t\t\t</div>
  140. \t\t\t\t\t<button type=\"submit\" class=\"mb-3 text-lg bg-[#333] text-white w-[calc(100%-32px)] max-w-[300px] py-4 md:py-3 md:text-base hover\">";
  141.         // line 49
  142.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.login"), "html"nulltrue);
  143.         echo "</button>
  144. \t\t\t\t\t<a class=\"underline mb-10 md:mb-5 hover md:text-sm\" href=\"";
  145.         // line 50
  146.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("forgot");
  147.         echo "\">パスワードを忘れた方</a>
  148. \t\t\t\t</div>
  149. \t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"";
  150.         // line 52
  151.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  152.         echo "\">
  153. \t\t\t\t<div class=\"ec-login\"></div>
  154. \t\t\t</form>
  155. \t\t</div>
  156. \t</div>
  157. \t<div class=\"w-[calc(100%-32px)] max-w-[1120px] mx-auto\">
  158. \t\t";
  159.         // line 58
  160.         $context["breadcrumbs"] = [=> ["name" => "新規会員登録・ログイン"]];
  161.         // line 59
  162.         echo "\t\t";
  163.         $this->loadTemplate("Block/breadcrumbs.twig""Mypage/login.twig"59)->display($context);
  164.         // line 60
  165.         echo "\t</div>
  166. ";
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.         
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  171.     }
  172.     public function getTemplateName()
  173.     {
  174.         return "Mypage/login.twig";
  175.     }
  176.     public function isTraitable()
  177.     {
  178.         return false;
  179.     }
  180.     public function getDebugInfo()
  181.     {
  182.         return array (  179 => 60,  176 => 59,  174 => 58,  165 => 52,  160 => 50,  156 => 49,  153 => 48,  144 => 46,  140 => 45,  135 => 43,  131 => 42,  127 => 40,  121 => 38,  119 => 37,  115 => 35,  112 => 34,  103 => 32,  98 => 31,  96 => 30,  91 => 29,  86 => 26,  78 => 20,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  183.     }
  184.     public function getSourceContext()
  185.     {
  186.         return new Source("{#
  187. This file is part of EC-CUBE
  188. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  189. http://www.ec-cube.co.jp/
  190. For the full copyright and license information, please view the LICENSE
  191. file that was distributed with this source code.
  192. #}
  193. {% extends 'default_frame.twig' %}
  194. {% set body_class = 'mypage' %}
  195. {% block main %}
  196. \t<div class=\"mt-10 mb-[120px] px-4 md:mt-4 md:mb-10 animate-slideIn\">
  197. \t\t<div class=\"w-full max-w-[720px] flex flex-col gap-10 md:gap-5 mx-auto\">
  198. \t\t\t<h2 class=\"text-2xl md:text-lg font-extralight\">新規会員登録・ログイン</h2>
  199. \t\t\t{# 新規会員登録 #}
  200. \t\t\t<div class=\"bg-manakaBeige\">
  201. \t\t\t\t<h3 class=\"bg-[#A7A79B] text-white font-bold px-8 py-4 mb-10 md:mb-6\">新規会員登録</h3>
  202. \t\t\t\t<p class=\"text-sm text-center font-bold mb-5\">
  203. \t\t\t\t\t<span>●</span>
  204. \t\t\t\t\tはじめてのご利用はこちら
  205. \t\t\t\t</p>
  206. \t\t\t\t<a class=\"mb-10 md:mb-5 py-4 md:py-3 block text-lg text-white text-center bg-[#333] mx-auto w-[calc(100%-32px)] max-w-[300px] md:text-base hover\" href=\"{{ url('entry') }}\">会員登録</a>
  207. \t\t\t</div>
  208. \t\t\t{# ログイン #}
  209. \t\t\t<form name=\"login_mypage\" id=\"login_mypage\" method=\"post\" action=\"{{ url('mypage_login') }}\">
  210. \t\t\t\t{% if app.session.flashBag.has('eccube.login.target.path') %}
  211. \t\t\t\t\t{% for targetPath in app.session.flashBag.peek('eccube.login.target.path') %}
  212. \t\t\t\t\t\t<input type=\"hidden\" name=\"_target_path\" value=\"{{ targetPath }}\"/>
  213. \t\t\t\t\t{% endfor %}
  214. \t\t\t\t{% endif %}
  215. \t\t\t\t<div class=\"flex flex-col items-center w-full bg-manakaBeige x\">
  216. \t\t\t\t\t<h3 class=\"bg-[#A7A79B] text-white font-bold px-8 py-4 mb-10 w-full md:mb-6\">ログイン</h3>
  217.                     {% if error %}
  218.                         <p class=\"my-2 text-[15px] text-[#be5255] font-bold text-center\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</p>
  219.                     {% endif %}
  220. \t\t\t\t\t<div class=\"w-full mb-6 md:mb-5 px-4 max-w-[576px] mx-auto\">
  221. \t\t\t\t\t\t<div class=\"flex flex-col gap-4 md:gap-3 w-full\">
  222. \t\t\t\t\t\t\t{{ form_widget(form.login_email, {'attr': {'class':'w-full max-w-[576px] mx-auto px-4 py-2 border border-[#CCC] rounded-md','style' : 'ime-mode: disabled;', 'placeholder' : 'common.mail_address', 'autofocus': true}}) }}
  223. \t\t\t\t\t\t\t{{ form_widget(form.login_pass,  {'attr': {'class':'w-full max-w-[576px] mx-auto px-4 py-2 border border-[#CCC] rounded-md','placeholder' : 'common.password' }}) }}
  224. \t\t\t\t\t\t</div>
  225. \t\t\t\t\t\t{% for reset_complete in app.session.flashbag.get('password_reset_complete') %}
  226. \t\t\t\t\t\t\t<p class=\"mt-2\">{{ reset_complete|trans }}</p>
  227. \t\t\t\t\t\t{% endfor %}
  228. \t\t\t\t\t</div>
  229. \t\t\t\t\t<button type=\"submit\" class=\"mb-3 text-lg bg-[#333] text-white w-[calc(100%-32px)] max-w-[300px] py-4 md:py-3 md:text-base hover\">{{ 'common.login'|trans }}</button>
  230. \t\t\t\t\t<a class=\"underline mb-10 md:mb-5 hover md:text-sm\" href=\"{{ url('forgot') }}\">パスワードを忘れた方</a>
  231. \t\t\t\t</div>
  232. \t\t\t\t<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  233. \t\t\t\t<div class=\"ec-login\"></div>
  234. \t\t\t</form>
  235. \t\t</div>
  236. \t</div>
  237. \t<div class=\"w-[calc(100%-32px)] max-w-[1120px] mx-auto\">
  238. \t\t{% set breadcrumbs = [{'name': '新規会員登録・ログイン'}] %}
  239. \t\t{% include('Block/breadcrumbs.twig') %}
  240. \t</div>
  241. {% endblock %}
  242. ""Mypage/login.twig""/home/xs082386/manaka-store.com/public_html/stg-renewal.manaka-store.com/app/template/default/Mypage/login.twig");
  243.     }
  244.     
  245.     public function checkSecurity()
  246.     {
  247.         static $tags = array("set" => 13"if" => 30"for" => 31"include" => 59);
  248.         static $filters = array("escape" => 32"nl2br" => 38"trans" => 38);
  249.         static $functions = array("url" => 26"form_widget" => 42"csrf_token" => 52);
  250.         try {
  251.             $this->sandbox->checkSecurity(
  252.                 ['set''if''for''include'],
  253.                 ['escape''nl2br''trans'],
  254.                 ['url''form_widget''csrf_token']
  255.             );
  256.         } catch (SecurityError $e) {
  257.             $e->setSourceContext($this->source);
  258.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  259.                 $e->setTemplateLine($tags[$e->getTagName()]);
  260.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  261.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  262.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  263.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  264.             }
  265.             throw $e;
  266.         }
  267.     }
  268. }