var/cache/dev/twig/d4/d4ffe95ea08eaab99c6b634aa726008531a1cb49b4e9421d24024ebe714cf079.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. /* @admin/login.twig */
  14. class __TwigTemplate_180e3594caa4701d7fc2f20a09569744b614dd5836dfdadda40faee559ffeac6 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 "@admin/login_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""@admin/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""@admin/login.twig"));
  38.         // line 13
  39.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), [=> "@admin/Form/bootstrap_4_horizontal_layout.html.twig"], true);
  40.         // line 11
  41.         $this->parent $this->loadTemplate("@admin/login_frame.twig""@admin/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 "
  58.     <div class=\"container\" style=\"margin-top: 150px;\">
  59.         <div class=\"row\">
  60.             <div class=\"col-12 col-md-6 offset-md-3 col-lg-4 offset-lg-4\">
  61.                 <div class=\"text-center p-5 bg-white\">
  62.                     ";
  63.         // line 21
  64.         echo twig_include($this->env$context"@admin/alert.twig");
  65.         echo "
  66.                     <form name=\"form1\" id=\"form1\" method=\"post\" action=\"";
  67.         // line 22
  68.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_login");
  69.         echo "\">
  70.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  71.         // line 23
  72.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  73.         echo "\">
  74.                         <p><img src=\"";
  75.         // line 24
  76.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo2.png""admin"), "html"nulltrue);
  77.         echo "\" width=\"106\"></p>
  78.                         <div class=\"form-group\">
  79.                             ";
  80.         // line 26
  81.         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.'26$this->source); })()), "login_id", [], "any"falsefalsefalse26), 'widget', ["id" => "login_id""attr" => ["placeholder" => "admin.login.login_id""autofocus" => true]]);
  82.         echo "
  83.                         </div>
  84.                         <div class=\"form-group\">
  85.                             ";
  86.         // line 29
  87.         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.'29$this->source); })()), "password", [], "any"falsefalsefalse29), 'widget', ["attr" => ["placeholder" => "admin.login.password"]]);
  88.         echo "
  89.                         </div>
  90.                         ";
  91.         // line 31
  92.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'31$this->source); })())) {
  93.             // line 32
  94.             echo "                            <div class=\"form-group\">
  95.                                 <span class=\"text-danger\">";
  96.             // line 33
  97.             echo 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.'33$this->source); })()), "messageKey", [], "any"falsefalsefalse33), 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.'33$this->source); })()), "messageData", [], "any"falsefalsefalse33), "validators"), "html"nulltrue));
  98.             echo "</span>
  99.                             </div>
  100.                         ";
  101.         }
  102.         // line 36
  103.         echo "                        <button type=\"submit\" class=\"btn btn-primary btn-lg btn-block\">";
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.login.login"), "html"nulltrue);
  105.         echo "</button>
  106.                         ";
  107.         // line 37
  108.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'37$this->source); })()), 'rest');
  109.         echo "
  110.                     </form>
  111.                 </div>
  112.             </div>
  113.             <div class=\"col-12\">
  114.                 <p class=\"text-center mt-3\">
  115.                     <small>Copyright &copy; 2000-";
  116.         // line 43
  117.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  118.         echo " EC-CUBE CO.,LTD. All Rights Reserved.</small>
  119.                 </p>
  120.             </div>
  121.         </div>
  122.     </div>
  123. ";
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.     }
  129.     public function getTemplateName()
  130.     {
  131.         return "@admin/login.twig";
  132.     }
  133.     public function isTraitable()
  134.     {
  135.         return false;
  136.     }
  137.     public function getDebugInfo()
  138.     {
  139.         return array (  131 => 43,  122 => 37,  117 => 36,  111 => 33,  108 => 32,  106 => 31,  101 => 29,  95 => 26,  90 => 24,  86 => 23,  82 => 22,  78 => 21,  71 => 16,  61 => 15,  50 => 11,  48 => 13,  35 => 11,);
  140.     }
  141.     public function getSourceContext()
  142.     {
  143.         return new Source("{#
  144. This file is part of EC-CUBE
  145. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  146. http://www.ec-cube.co.jp/
  147. For the full copyright and license information, please view the LICENSE
  148. file that was distributed with this source code.
  149. #}
  150. {% extends '@admin/login_frame.twig' %}
  151. {% form_theme form '@admin/Form/bootstrap_4_horizontal_layout.html.twig' %}
  152. {% block main %}
  153.     <div class=\"container\" style=\"margin-top: 150px;\">
  154.         <div class=\"row\">
  155.             <div class=\"col-12 col-md-6 offset-md-3 col-lg-4 offset-lg-4\">
  156.                 <div class=\"text-center p-5 bg-white\">
  157.                     {{ include('@admin/alert.twig') }}
  158.                     <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ path('admin_login') }}\">
  159.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  160.                         <p><img src=\"{{ asset('assets/img/logo2.png', 'admin') }}\" width=\"106\"></p>
  161.                         <div class=\"form-group\">
  162.                             {{ form_widget(form.login_id, {'id': 'login_id', 'attr': {'placeholder': 'admin.login.login_id', 'autofocus': true}}) }}
  163.                         </div>
  164.                         <div class=\"form-group\">
  165.                             {{ form_widget(form.password, {'attr': {'placeholder': 'admin.login.password'}}) }}
  166.                         </div>
  167.                         {% if error %}
  168.                             <div class=\"form-group\">
  169.                                 <span class=\"text-danger\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</span>
  170.                             </div>
  171.                         {% endif %}
  172.                         <button type=\"submit\" class=\"btn btn-primary btn-lg btn-block\">{{ 'admin.login.login'|trans }}</button>
  173.                         {{ form_rest(form) }}
  174.                     </form>
  175.                 </div>
  176.             </div>
  177.             <div class=\"col-12\">
  178.                 <p class=\"text-center mt-3\">
  179.                     <small>Copyright &copy; 2000-{{ \"now\"|date(\"Y\") }} EC-CUBE CO.,LTD. All Rights Reserved.</small>
  180.                 </p>
  181.             </div>
  182.         </div>
  183.     </div>
  184. {% endblock %}
  185. ""@admin/login.twig""/home/offshore2022/test-darcys-factory.xyz/public_html/src/Eccube/Resource/template/admin/login.twig");
  186.     }
  187. }