var/cache/dev/twig/0d/0de6786b054c14d55def397e4253dc3ccc0d6d2822c884c02aefdaf4a3fbc45c.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_6940c460bdea3548c882e8a1962bc9f3d69fda3d9f18378269f0237b19696ab9 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=\"mb-3\">
  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=\"mb-3\">
  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=\"mb-3\">
  95.                                 <span class=\"text-danger\">";
  96.             // line 33
  97.             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.'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 "                        <div class=\"d-grid gap-2\">
  104.                             <button type=\"submit\" class=\"btn btn-primary btn-lg w-100\">";
  105.         // line 37
  106.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.login.login"), "html"nulltrue);
  107.         echo "</button>
  108.                         </div>
  109.                         ";
  110.         // line 39
  111.         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.'39$this->source); })()), 'rest');
  112.         echo "
  113.                     </form>
  114.                 </div>
  115.             </div>
  116.             <!--<div class=\"col-12\">
  117.                 <p class=\"text-center mt-3\">
  118.                     <small>Copyright &copy; 2000-";
  119.         // line 45
  120.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  121.         echo " EC-CUBE CO.,LTD. All Rights Reserved.</small>
  122.                 </p>
  123.             </div>-->
  124.         </div>
  125.     </div>
  126. ";
  127.         
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     public function getTemplateName()
  133.     {
  134.         return "@admin/login.twig";
  135.     }
  136.     public function isTraitable()
  137.     {
  138.         return false;
  139.     }
  140.     public function getDebugInfo()
  141.     {
  142.         return array (  134 => 45,  125 => 39,  120 => 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,);
  143.     }
  144.     public function getSourceContext()
  145.     {
  146.         return new Source("{#
  147. This file is part of EC-CUBE
  148. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  149. http://www.ec-cube.co.jp/
  150. For the full copyright and license information, please view the LICENSE
  151. file that was distributed with this source code.
  152. #}
  153. {% extends '@admin/login_frame.twig' %}
  154. {% form_theme form '@admin/Form/bootstrap_4_horizontal_layout.html.twig' %}
  155. {% block main %}
  156.     <div class=\"container\" style=\"margin-top: 150px;\">
  157.         <div class=\"row\">
  158.             <div class=\"col-12 col-md-6 offset-md-3 col-lg-4 offset-lg-4\">
  159.                 <div class=\"text-center p-5 bg-white\">
  160.                     {{ include('@admin/alert.twig') }}
  161.                     <form name=\"form1\" id=\"form1\" method=\"post\" action=\"{{ path('admin_login') }}\">
  162.                         <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  163.                         <p><img src=\"{{ asset('assets/img/logo2.png', 'admin') }}\" width=\"106\"></p>
  164.                         <div class=\"mb-3\">
  165.                             {{ form_widget(form.login_id, {'id': 'login_id', 'attr': {'placeholder': 'admin.login.login_id', 'autofocus': true}}) }}
  166.                         </div>
  167.                         <div class=\"mb-3\">
  168.                             {{ form_widget(form.password, {'attr': {'placeholder': 'admin.login.password'}}) }}
  169.                         </div>
  170.                         {% if error %}
  171.                             <div class=\"mb-3\">
  172.                                 <span class=\"text-danger\">{{ error.messageKey|trans(error.messageData, 'validators')|nl2br }}</span>
  173.                             </div>
  174.                         {% endif %}
  175.                         <div class=\"d-grid gap-2\">
  176.                             <button type=\"submit\" class=\"btn btn-primary btn-lg w-100\">{{ 'admin.login.login'|trans }}</button>
  177.                         </div>
  178.                         {{ form_rest(form) }}
  179.                     </form>
  180.                 </div>
  181.             </div>
  182.             <!--<div class=\"col-12\">
  183.                 <p class=\"text-center mt-3\">
  184.                     <small>Copyright &copy; 2000-{{ \"now\"|date(\"Y\") }} EC-CUBE CO.,LTD. All Rights Reserved.</small>
  185.                 </p>
  186.             </div>-->
  187.         </div>
  188.     </div>
  189. {% endblock %}
  190. ""@admin/login.twig""/home/saika38/www/saika/shop/src/Eccube/Resource/template/admin/login.twig");
  191.     }
  192. }