var/cache/dev/twig/f0/f00602223e4d5cac024cfdc1ee2fb37b.php line 48

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. /* @PimcoreAdmin/Admin/Login/lostpassword.html.twig */
  14. class __TwigTemplate_2d74757752d9633d739b5d511fc4a81a extends 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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "@PimcoreAdmin/Admin/Login/layout.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PimcoreAdmin/Admin/Login/lostpassword.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PimcoreAdmin/Admin/Login/lostpassword.html.twig"));
  38.         $this->parent $this->loadTemplate("@PimcoreAdmin/Admin/Login/layout.html.twig""@PimcoreAdmin/Admin/Login/lostpassword.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 3
  46.     public function block_content($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         // line 4
  54.         echo "
  55.     ";
  56.         // line 5
  57.         if ((twig_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.'5$this->source); })()), "request", [], "any"falsefalsefalse5), "method", [], "any"falsefalsefalse5) == "POST")) {
  58.             // line 6
  59.             echo "        <div class=\"text error\">
  60.             ";
  61.             // line 7
  62.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("A temporary login link has been sent to your email address.", [], "admin"), "html"nulltrue);
  63.             echo "
  64.             <br/>
  65.             ";
  66.             // line 9
  67.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please check your mailbox.", [], "admin"), "html"nulltrue);
  68.             echo "
  69.         </div>
  70.     ";
  71.         } else {
  72.             // line 12
  73.             echo "        <div class=\"text info\">
  74.             ";
  75.             // line 13
  76.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enter your username and pimcore will send a login link to your email address", [], "admin"), "html"nulltrue);
  77.             echo "
  78.         </div>
  79.         <form method=\"post\" action=\"";
  80.             // line 16
  81.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pimcore_admin_login_lostpassword");
  82.             echo "\">
  83.             <input type=\"text\" name=\"username\" autocomplete=\"username\" placeholder=\"";
  84.             // line 17
  85.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("username", [], "admin"), "html"nulltrue);
  86.             echo "\" required autofocus>
  87.             <input type=\"hidden\" name=\"csrfToken\" value=\"";
  88.             // line 18
  89.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["pimcore_csrf"]) || array_key_exists("pimcore_csrf"$context) ? $context["pimcore_csrf"] : (function () { throw new RuntimeError('Variable "pimcore_csrf" does not exist.'18$this->source); })()), "getCsrfToken", [], "method"falsefalsefalse18), "html"nulltrue);
  90.             echo "\">
  91.             <button type=\"submit\" name=\"submit\">";
  92.             // line 20
  93.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("submit", [], "admin"), "html"nulltrue);
  94.             echo "</button>
  95.         </form>
  96.     ";
  97.         }
  98.         // line 23
  99.         echo "
  100.     <a href=\"";
  101.         // line 24
  102.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pimcore_admin_login");
  103.         echo "\">";
  104.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back to Login", [], "admin"), "html"nulltrue);
  105.         echo "</a>
  106.     ";
  107.         // line 26
  108.         echo $this->extensions['Pimcore\Twig\Extension\HelpersExtension']->breachAttackRandomContent();
  109.         echo "
  110. ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     public function getTemplateName()
  117.     {
  118.         return "@PimcoreAdmin/Admin/Login/lostpassword.html.twig";
  119.     }
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  125 => 26,  118 => 24,  115 => 23,  109 => 20,  104 => 18,  100 => 17,  96 => 16,  90 => 13,  87 => 12,  81 => 9,  76 => 7,  73 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 1,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("{% extends '@PimcoreAdmin/Admin/Login/layout.html.twig' %}
  131. {% block content %}
  132.     {% if app.request.method == 'POST' %}
  133.         <div class=\"text error\">
  134.             {{ 'A temporary login link has been sent to your email address.'|trans([],'admin') }}
  135.             <br/>
  136.             {{ 'Please check your mailbox.'|trans([],'admin') }}
  137.         </div>
  138.     {% else %}
  139.         <div class=\"text info\">
  140.             {{ 'Enter your username and pimcore will send a login link to your email address'|trans([],'admin') }}
  141.         </div>
  142.         <form method=\"post\" action=\"{{ path('pimcore_admin_login_lostpassword') }}\">
  143.             <input type=\"text\" name=\"username\" autocomplete=\"username\" placeholder=\"{{ 'username'|trans([], 'admin') }}\" required autofocus>
  144.             <input type=\"hidden\" name=\"csrfToken\" value=\"{{ pimcore_csrf.getCsrfToken() }}\">
  145.             <button type=\"submit\" name=\"submit\">{{ 'submit'|trans([],'admin') }}</button>
  146.         </form>
  147.     {% endif %}
  148.     <a href=\"{{ path('pimcore_admin_login') }}\">{{ 'Back to Login'|trans([],'admin') }}</a>
  149.     {{ pimcore_breach_attack_random_content() }}
  150. {% endblock %}
  151. ""@PimcoreAdmin/Admin/Login/lostpassword.html.twig""/home/pimcore/pim10cars/vendor/pimcore/pimcore/bundles/AdminBundle/Resources/views/Admin/Login/lostpassword.html.twig");
  152.     }
  153. }