var/cache/test/twig/17/1795877f3a31966ed94a705d11aeff5c.php line 36

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. /* @PlatformSecurity/Login/base2.html.twig */
  14. class __TwigTemplate_907ab05d5c730d32c54cd0de44e91f0e 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->parent false;
  23.         $this->blocks = [
  24.             'header' => [$this'block_header'],
  25.             'body' => [$this'block_body'],
  26.             'footer' => [$this'block_footer'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PlatformSecurity/Login/base2.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PlatformSecurity/Login/base2.html.twig"));
  36.         // line 1
  37.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedScript($this->extensions['Cms\AssetsBundle\Service\AssetsTwigExtension']->assett("jquery1::/dist/jquery.min.js"), nullnull"top");
  38.         echo "
  39. ";
  40.         // line 3
  41.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle("//fonts.googleapis.com/css?family=Open+Sans:400,500,700|Montserrat:400,700");
  42.         echo "
  43. ";
  44.         // line 5
  45.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle(("/ui/css/ui.css?bust=" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cms"]) || array_key_exists("cms"$context) ? $context["cms"] : (function () { throw new RuntimeError('Variable "cms" does not exist.'5$this->source); })()), "params", [], "any"falsefalsefalse5), "get", [=> "version.hash"], "method"falsefalsefalse5)));
  46.         echo "
  47. ";
  48.         // line 6
  49.         echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedStyle(("/ui/css/login.css?bust=" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cms"]) || array_key_exists("cms"$context) ? $context["cms"] : (function () { throw new RuntimeError('Variable "cms" does not exist.'6$this->source); })()), "params", [], "any"falsefalsefalse6), "get", [=> "version.hash"], "method"falsefalsefalse6)));
  50.         echo "
  51. ";
  52.         // line 8
  53.         if ((array_key_exists("titles"$context) && (twig_length_filter($this->env, (isset($context["titles"]) || array_key_exists("titles"$context) ? $context["titles"] : (function () { throw new RuntimeError('Variable "titles" does not exist.'8$this->source); })())) > 0))) {
  54.             // line 9
  55.             echo "    ";
  56.             $context['_parent'] = $context;
  57.             $context['_seq'] = twig_ensure_traversable((isset($context["titles"]) || array_key_exists("titles"$context) ? $context["titles"] : (function () { throw new RuntimeError('Variable "titles" does not exist.'9$this->source); })()));
  58.             foreach ($context['_seq'] as $context["_key"] => $context["title"]) {
  59.                 // line 10
  60.                 echo "        ";
  61.                 if (twig_get_attribute($this->env$this->source$context["title"], "title", [], "any"truetruefalse10)) {
  62.                     // line 11
  63.                     echo "            ";
  64.                     echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedTitle(twig_get_attribute($this->env$this->source$context["title"], "title", [], "any"falsefalsefalse11), ((twig_get_attribute($this->env$this->source$context["title"], "rank", [], "any"truetruefalse11)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["title"], "rank", [], "any"falsefalsefalse11), null)) : (null)));
  65.                     echo "
  66.         ";
  67.                 }
  68.                 // line 13
  69.                 echo "    ";
  70.             }
  71.             $_parent $context['_parent'];
  72.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['title'], $context['_parent'], $context['loop']);
  73.             $context array_intersect_key($context$_parent) + $_parent;
  74.         }
  75.         // line 15
  76.         echo "
  77. ";
  78.         // line 16
  79.         if (array_key_exists("body_attrs"$context)) {
  80.             // line 17
  81.             echo "    ";
  82.             $context['_parent'] = $context;
  83.             $context['_seq'] = twig_ensure_traversable((isset($context["body_attrs"]) || array_key_exists("body_attrs"$context) ? $context["body_attrs"] : (function () { throw new RuntimeError('Variable "body_attrs" does not exist.'17$this->source); })()));
  84.             foreach ($context['_seq'] as $context["_key"] => $context["body_attr"]) {
  85.                 // line 18
  86.                 echo "        ";
  87.                 if (twig_get_attribute($this->env$this->source$context["body_attr"], "action", [], "any"truetruefalse18)) {
  88.                     // line 19
  89.                     echo "            ";
  90.                     echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->bodyAttrs(twig_get_attribute($this->env$this->source$context["body_attr"], "action", [], "any"falsefalsefalse19), ((twig_get_attribute($this->env$this->source$context["body_attr"], "arg1", [], "any"truetruefalse19)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["body_attr"], "arg1", [], "any"falsefalsefalse19), null)) : (null)), ((twig_get_attribute($this->env$this->source$context["body_attr"], "arg2", [], "any"truetruefalse19)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["body_attr"], "arg2", [], "any"falsefalsefalse19), null)) : (null)), ((twig_get_attribute($this->env$this->source$context["body_attr"], "arg3", [], "any"truetruefalse19)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["body_attr"], "arg3", [], "any"falsefalsefalse19), null)) : (null)));
  91.                     echo "
  92.         ";
  93.                 }
  94.                 // line 21
  95.                 echo "    ";
  96.             }
  97.             $_parent $context['_parent'];
  98.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['body_attr'], $context['_parent'], $context['loop']);
  99.             $context array_intersect_key($context$_parent) + $_parent;
  100.         }
  101.         // line 23
  102.         echo "
  103. <div class=\"wrapper\">
  104.     <div class=\"login-panel-container\">
  105.         <div class=\"login-panel-row\">
  106.             <!-- Left Column -->
  107.             <div class=\"col-sm-6 panel-block\">
  108.                 <div class=\"login-panel\">
  109.                     <!-- Login Header -->
  110.                     <div class=\"login-panel__header text-center\">
  111.                         ";
  112.         // line 32
  113.         $this->displayBlock('header'$context$blocks);
  114.         // line 33
  115.         echo "                    </div>
  116.                     <div class=\"login-panel__body\">
  117.                         ";
  118.         // line 35
  119.         $this->displayBlock('body'$context$blocks);
  120.         // line 36
  121.         echo "                    </div>
  122.                     <!-- Login Footer -->
  123.                     <div class=\"login-panel__footer text-center\">
  124.                         ";
  125.         // line 39
  126.         $this->displayBlock('footer'$context$blocks);
  127.         // line 42
  128.         echo "                    </div>
  129.                 </div>
  130.             </div>
  131.             <!-- Right Column -->
  132.             <div class=\"col-sm-6 login-panel-right-container\">
  133.                 <div class=\"login-panel-right-inner-container\"></div>
  134.             </div>
  135.         </div>
  136.     </div>
  137. </div>
  138. ";
  139.         
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  141.         
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143.     }
  144.     // line 32
  145.     public function block_header($context, array $blocks = [])
  146.     {
  147.         $macros $this->macros;
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  151.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  152.         
  153.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  154.         
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  156.     }
  157.     // line 35
  158.     public function block_body($context, array $blocks = [])
  159.     {
  160.         $macros $this->macros;
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  165.         
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  167.         
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  169.     }
  170.     // line 39
  171.     public function block_footer($context, array $blocks = [])
  172.     {
  173.         $macros $this->macros;
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  178.         // line 40
  179.         echo "                            <p>&copy;";
  180.         echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  181.         echo " SchoolNow. All Rights Reserved. <a href=\"https://www.schoolnow.com/support\" target=\"_blank\">Need help?</a></p>
  182.                         ";
  183.         
  184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  185.         
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  187.     }
  188.     public function getTemplateName()
  189.     {
  190.         return "@PlatformSecurity/Login/base2.html.twig";
  191.     }
  192.     public function isTraitable()
  193.     {
  194.         return false;
  195.     }
  196.     public function getDebugInfo()
  197.     {
  198.         return array (  206 => 40,  196 => 39,  178 => 35,  160 => 32,  140 => 42,  138 => 39,  133 => 36,  131 => 35,  127 => 33,  125 => 32,  114 => 23,  107 => 21,  101 => 19,  98 => 18,  93 => 17,  91 => 16,  88 => 15,  81 => 13,  75 => 11,  72 => 10,  67 => 9,  65 => 8,  60 => 6,  56 => 5,  51 => 3,  46 => 1,);
  199.     }
  200.     public function getSourceContext()
  201.     {
  202.         return new Source("{{ embed_script(assett('jquery1::/dist/jquery.min.js'), null, null, 'top') }}
  203. {{ embed_style('//fonts.googleapis.com/css?family=Open+Sans:400,500,700|Montserrat:400,700') }}
  204. {{ embed_style('/ui/css/ui.css?bust=' ~ cms.params.get('version.hash')) }}
  205. {{ embed_style('/ui/css/login.css?bust=' ~ cms.params.get('version.hash')) }}
  206. {% if titles is defined and titles|length > 0 %}
  207.     {% for title in titles %}
  208.         {% if title.title is defined %}
  209.             {{ embed_title(title.title, title.rank|default(null)) }}
  210.         {% endif %}
  211.     {% endfor %}
  212. {% endif %}
  213. {% if body_attrs is defined %}
  214.     {% for body_attr in body_attrs %}
  215.         {% if body_attr.action is defined %}
  216.             {{ body_attrs(body_attr.action, body_attr.arg1|default(null), body_attr.arg2|default(null), body_attr.arg3|default(null)) }}
  217.         {% endif %}
  218.     {% endfor %}
  219. {% endif %}
  220. <div class=\"wrapper\">
  221.     <div class=\"login-panel-container\">
  222.         <div class=\"login-panel-row\">
  223.             <!-- Left Column -->
  224.             <div class=\"col-sm-6 panel-block\">
  225.                 <div class=\"login-panel\">
  226.                     <!-- Login Header -->
  227.                     <div class=\"login-panel__header text-center\">
  228.                         {% block header %}{% endblock %}
  229.                     </div>
  230.                     <div class=\"login-panel__body\">
  231.                         {% block body %}{% endblock %}
  232.                     </div>
  233.                     <!-- Login Footer -->
  234.                     <div class=\"login-panel__footer text-center\">
  235.                         {% block footer %}
  236.                             <p>&copy;{{ 'now'|date('Y') }} SchoolNow. All Rights Reserved. <a href=\"https://www.schoolnow.com/support\" target=\"_blank\">Need help?</a></p>
  237.                         {% endblock %}
  238.                     </div>
  239.                 </div>
  240.             </div>
  241.             <!-- Right Column -->
  242.             <div class=\"col-sm-6 login-panel-right-container\">
  243.                 <div class=\"login-panel-right-inner-container\"></div>
  244.             </div>
  245.         </div>
  246.     </div>
  247. </div>
  248. ""@PlatformSecurity/Login/base2.html.twig""/var/www/campussuite/src/Platform/SecurityBundle/Resources/views/Login/base2.html.twig");
  249.     }
  250. }