var/cache/dev/twig/95/951c11246201ada202a6aa0ba1ef7691da07a8651a0f90344c04eb3c85a90046.php line 39

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. /* @GlobunetUser/Security/login.html.twig */
  14. class __TwigTemplate_2e17bbb6b5a5a78a12fd4ae75768eb09839c5e71bf272eb033a3fdf074e04901 extends \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.             'container' => [$this'block_container'],
  24.             'footer_scripts' => [$this'block_footer_scripts'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@GlobunetUser/Security/login.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@GlobunetUser/Security/login.html.twig"));
  39.         // line 2
  40.         $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] = (isset($context["admin_bundle_trans"]) || array_key_exists("admin_bundle_trans"$context) ? $context["admin_bundle_trans"] : (function () { throw new RuntimeError('Variable "admin_bundle_trans" does not exist.'2$this->source); })());
  41.         // line 1
  42.         $this->parent $this->loadTemplate("base.html.twig""@GlobunetUser/Security/login.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 4
  50.     public function block_container($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""container"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""container"));
  57.         // line 5
  58.         echo "\t<div class=\"row\">
  59. \t\t<div class=\"main-login col-xs-8 col-xs-offset-1 col-sm-6 col-sm-offset-2 col-md-3 col-md-offset-4\">
  60. \t\t\t<!-- start: LOGIN BOX -->
  61. \t\t\t<div class=\"box-login\">
  62. \t\t\t\t<div class=\"row\">
  63. \t\t\t\t\t<div class=\"logo col-xs-10\">
  64. \t\t\t\t\t\t<img src=\"";
  65.         // line 11
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/knitink-logo.svg"), "html"nulltrue);
  67.         echo "\" alt=\"Knitink\"/>
  68. \t\t\t\t\t</div>
  69. \t\t\t\t</div>
  70. \t\t\t\t<form role=\"form\" id=\"formRemember\" action=\"";
  71.         // line 14
  72.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("globunet_user_security_check");
  73.         echo "\" method=\"post\">
  74.                     ";
  75.         // line 16
  76.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'16$this->source); })())) {
  77.             // line 17
  78.             echo "                        ";
  79.             // line 18
  80.             echo "                        ";
  81.             echo 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.'18$this->source); })()), "messageKey", [], "any"falsefalsefalse18), 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.'18$this->source); })()), "messageData", [], "any"falsefalsefalse18), "security"), "html"nulltrue);
  82.             echo "
  83.                     ";
  84.         }
  85.         // line 20
  86.         echo "
  87. \t\t\t\t\t<div class=\"form-group\">
  88. \t\t\t\t\t\t<i class=\"fa fa-envelope-o\"></i><label for=\"_username\">  ";
  89.         // line 22
  90.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email", [],         // line 2
  91. (isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"$context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.'2$this->source); })())), "html"nulltrue);
  92.         // line 22
  93.         echo "</label>
  94. \t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"_username\">
  95. \t\t\t\t\t</div>
  96. \t\t\t\t\t<div class=\"form-group\">
  97. \t\t\t\t\t\t<i class=\"ti-lock\"></i><label for=\"_password\">";
  98.         // line 27
  99.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password", [],         // line 2
  100. (isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"$context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.'2$this->source); })())), "html"nulltrue);
  101.         // line 27
  102.         echo "</label>
  103. \t\t\t\t\t\t<input type=\"password\" class=\"form-control password\" name=\"_password\">
  104. \t\t\t\t\t</div>
  105. \t\t\t\t\t<div class=\"form-actions\">
  106. \t\t\t\t\t\t<div class=\"checkbox clip-check check-primary\">
  107. \t\t\t\t\t\t\t<input type=\"checkbox\" name=\"_remember_me\" id=\"remember\" value=\"1\" checked=\"checked\">
  108. \t\t\t\t\t\t\t<label for=\"remember\">
  109. \t\t\t\t\t\t\t\t";
  110.         // line 35
  111.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remember_me", [],         // line 2
  112. (isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"$context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.'2$this->source); })())), "html"nulltrue);
  113.         // line 35
  114.         echo "
  115. \t\t\t\t\t\t\t</label>
  116. \t\t\t\t\t\t</div>
  117. \t\t\t\t\t\t<span class=\"login-remember\">
  118. \t\t\t\t\t\t\t<i class=\"ti-help-alt text-primary\"></i>
  119. \t\t\t\t\t\t\t<a class=\"text-primary\" href=\"";
  120.         // line 41
  121.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_resetting_request");
  122.         echo "\">";
  123.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("STR_RESSETING", [],         // line 2
  124. (isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"$context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.'2$this->source); })())), "html"nulltrue);
  125.         // line 41
  126.         echo "</a>
  127. \t\t\t\t\t\t</span>
  128. \t\t\t\t\t</div>
  129. \t\t\t\t\t<div class=\"form-actions\">
  130. \t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary btn-block\" name=\"_submit\" data-loading-text=\"Accediendo...\" autocomplete=\"off\">
  131. \t\t\t\t\t\t\t";
  132.         // line 46
  133.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("STR_SUBMIT", [],         // line 2
  134. (isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"$context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.'2$this->source); })())), "html"nulltrue);
  135.         // line 46
  136.         echo " ";
  137.         // line 47
  138.         echo "\t\t\t\t\t\t</button>
  139. \t\t\t\t\t</div>
  140. \t\t\t\t\t<input type=\"hidden\" id=\"timezone\" name=\"_timezone\" value=\"\">
  141. \t\t\t\t</form>
  142. \t\t\t\t";
  143.         // line 58
  144.         echo "
  145. \t\t\t</div>
  146. \t\t\t<!-- end: LOGIN BOX -->
  147. \t\t</div>
  148. \t</div>
  149. ";
  150.         
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  152.         
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  154.     }
  155.     // line 66
  156.     public function block_footer_scripts($context, array $blocks = [])
  157.     {
  158.         $macros $this->macros;
  159.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  160.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer_scripts"));
  161.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  162.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer_scripts"));
  163.         // line 67
  164.         echo "\t";
  165.         $this->displayParentBlock("footer_scripts"$context$blocks);
  166.         echo "
  167. \t<script>
  168.         \$(function(){
  169.             // Detectar el timezone para enviar
  170.             if(typeof jstz != \"undefined\") {
  171.                 var tz = jstz.determine();
  172.                 \$(\"#timezone\").val(tz.name());
  173.             }
  174.         });
  175. \t</script>
  176. ";
  177.         
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  179.         
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  181.     }
  182.     public function getTemplateName()
  183.     {
  184.         return "@GlobunetUser/Security/login.html.twig";
  185.     }
  186.     public function isTraitable()
  187.     {
  188.         return false;
  189.     }
  190.     public function getDebugInfo()
  191.     {
  192.         return array (  189 => 67,  179 => 66,  164 => 58,  156 => 47,  154 => 46,  152 => 2,  151 => 46,  144 => 41,  142 => 2,  139 => 41,  131 => 35,  129 => 2,  128 => 35,  118 => 27,  116 => 2,  115 => 27,  108 => 22,  106 => 2,  105 => 22,  101 => 20,  95 => 18,  93 => 17,  91 => 16,  86 => 14,  80 => 11,  72 => 5,  62 => 4,  51 => 1,  49 => 2,  36 => 1,);
  193.     }
  194.     public function getSourceContext()
  195.     {
  196.         return new Source("{% extends 'base.html.twig' %}
  197. {% trans_default_domain admin_bundle_trans %}
  198. {% block container %}
  199. \t<div class=\"row\">
  200. \t\t<div class=\"main-login col-xs-8 col-xs-offset-1 col-sm-6 col-sm-offset-2 col-md-3 col-md-offset-4\">
  201. \t\t\t<!-- start: LOGIN BOX -->
  202. \t\t\t<div class=\"box-login\">
  203. \t\t\t\t<div class=\"row\">
  204. \t\t\t\t\t<div class=\"logo col-xs-10\">
  205. \t\t\t\t\t\t<img src=\"{{ asset('images/knitink-logo.svg')}}\" alt=\"Knitink\"/>
  206. \t\t\t\t\t</div>
  207. \t\t\t\t</div>
  208. \t\t\t\t<form role=\"form\" id=\"formRemember\" action=\"{{ path(\"globunet_user_security_check\") }}\" method=\"post\">
  209.                     {% if error %}
  210.                         {#<div>{{ error|trans({}, 'FOSUserBundle') }}</div>#}
  211.                         {{ error.messageKey|trans(error.messageData, 'security') }}
  212.                     {% endif %}
  213. \t\t\t\t\t<div class=\"form-group\">
  214. \t\t\t\t\t\t<i class=\"fa fa-envelope-o\"></i><label for=\"_username\">  {{ 'email' | trans }}</label>
  215. \t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"_username\">
  216. \t\t\t\t\t</div>
  217. \t\t\t\t\t<div class=\"form-group\">
  218. \t\t\t\t\t\t<i class=\"ti-lock\"></i><label for=\"_password\">{{ 'password' | trans }}</label>
  219. \t\t\t\t\t\t<input type=\"password\" class=\"form-control password\" name=\"_password\">
  220. \t\t\t\t\t</div>
  221. \t\t\t\t\t<div class=\"form-actions\">
  222. \t\t\t\t\t\t<div class=\"checkbox clip-check check-primary\">
  223. \t\t\t\t\t\t\t<input type=\"checkbox\" name=\"_remember_me\" id=\"remember\" value=\"1\" checked=\"checked\">
  224. \t\t\t\t\t\t\t<label for=\"remember\">
  225. \t\t\t\t\t\t\t\t{{ 'remember_me' | trans }}
  226. \t\t\t\t\t\t\t</label>
  227. \t\t\t\t\t\t</div>
  228. \t\t\t\t\t\t<span class=\"login-remember\">
  229. \t\t\t\t\t\t\t<i class=\"ti-help-alt text-primary\"></i>
  230. \t\t\t\t\t\t\t<a class=\"text-primary\" href=\"{{ path('fos_user_resetting_request') }}\">{{ 'STR_RESSETING' | trans }}</a>
  231. \t\t\t\t\t\t</span>
  232. \t\t\t\t\t</div>
  233. \t\t\t\t\t<div class=\"form-actions\">
  234. \t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary btn-block\" name=\"_submit\" data-loading-text=\"Accediendo...\" autocomplete=\"off\">
  235. \t\t\t\t\t\t\t{{ 'STR_SUBMIT' | trans }} {#<i class=\"fa fa-arrow-circle-right\"></i>#}
  236. \t\t\t\t\t\t</button>
  237. \t\t\t\t\t</div>
  238. \t\t\t\t\t<input type=\"hidden\" id=\"timezone\" name=\"_timezone\" value=\"\">
  239. \t\t\t\t</form>
  240. \t\t\t\t{#
  241. \t\t\t\t<div class=\"copyright\">
  242. \t\t\t\t\t&copy; <span class=\"current-year\"></span><span class=\"text-bold text-uppercase\"> Knitink</span>. <span>All rights reserved</span>
  243. \t\t\t\t</div>
  244. \t\t\t\t#}
  245. \t\t\t</div>
  246. \t\t\t<!-- end: LOGIN BOX -->
  247. \t\t</div>
  248. \t</div>
  249. {% endblock container %}
  250. {% block footer_scripts %}
  251. \t{{ parent() }}
  252. \t<script>
  253.         \$(function(){
  254.             // Detectar el timezone para enviar
  255.             if(typeof jstz != \"undefined\") {
  256.                 var tz = jstz.determine();
  257.                 \$(\"#timezone\").val(tz.name());
  258.             }
  259.         });
  260. \t</script>
  261. {% endblock footer_scripts %}
  262. ""@GlobunetUser/Security/login.html.twig""/var/www/vhosts/knitink.com/dev.universe.knitink.com/templates/bundles/GlobunetUserBundle/Security/login.html.twig");
  263.     }
  264. }