var/cache/dev/twig/aa/aad98973555c7a164be64ee5b9c74d98.php line 112

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. /* content/footer.html.twig */
  14. class __TwigTemplate_af7cabd41d010d4e4480de7630b8b9fa 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->parent false;
  23.         $this->blocks = [
  24.             'head_stylesheets' => [$this'block_head_stylesheets'],
  25.             'scripts' => [$this'block_scripts'],
  26.         ];
  27.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  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""content/footer.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""content/footer.html.twig"));
  36.         // line 1
  37.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  38.             // line 2
  39.             echo "
  40.     ";
  41.             // line 3
  42.             ob_start();
  43.             // line 4
  44.             echo "
  45.     ";
  46.             // line 6
  47.             echo "    ";
  48.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/main.css")], "method"falsefalsefalse6);
  49.             // line 7
  50.             echo "
  51.     ";
  52.             // line 9
  53.             echo "    ";
  54.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/assets/dist/main.js")], "method"falsefalsefalse9);
  55.             // line 10
  56.             echo "
  57.     ";
  58.             $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  59.             // line 3
  60.             echo twig_spaceless($___internal_parse_1_);
  61.             // line 12
  62.             echo "
  63.     <!DOCTYPE html>
  64.     <html class=\"no-js\" lang=\"";
  65.             // line 14
  66.             echo twig_escape_filter($this->envtwig_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.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "locale", [], "any"falsefalsefalse14), "html"nulltrue);
  67.             echo "\">
  68.     <head>
  69.         <meta charset=\"utf-8\">
  70.         <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
  71.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
  72.         ";
  73.             // line 22
  74.             echo "        ";
  75.             $this->displayBlock('head_stylesheets'$context$blocks);
  76.             // line 25
  77.             echo "
  78.     </head>
  79.     <body>
  80.         ";
  81.             // line 29
  82.             echo twig_include($this->env$context"layout/components/footer.html.twig");
  83.             echo "
  84.         ";
  85.             // line 32
  86.             echo "        ";
  87.             $this->displayBlock('scripts'$context$blocks);
  88.             // line 35
  89.             echo "
  90.     </body>
  91.     </html>
  92. ";
  93.         } else {
  94.             // line 40
  95.             echo "
  96.     ";
  97.             // line 41
  98.             echo twig_include($this->env$context"layout/components/footer.html.twig");
  99.             echo "
  100.     
  101. ";
  102.         }
  103.         $this->deferred->resolve($this$context$blocks);
  104.         
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  106.         
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108.     }
  109.     public function block_head_stylesheets($context, array $blocks = [])
  110.     {
  111.         $this->deferred->defer($this'head_stylesheets');
  112.     }
  113.     // line 22
  114.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  115.     {
  116.         $macros $this->macros;
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  121.         // line 23
  122.         echo "            ";
  123.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  124.         echo "
  125.         ";
  126.         
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  128.         
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  130.         $this->deferred->resolve($this$context$blocks);
  131.     }
  132.     public function block_scripts($context, array $blocks = [])
  133.     {
  134.         $this->deferred->defer($this'scripts');
  135.     }
  136.     // line 32
  137.     public function block_scripts_deferred($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  144.         // line 33
  145.         echo "            ";
  146.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  147.         echo "
  148.         ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         $this->deferred->resolve($this$context$blocks);
  154.     }
  155.     public function getTemplateName()
  156.     {
  157.         return "content/footer.html.twig";
  158.     }
  159.     public function isTraitable()
  160.     {
  161.         return false;
  162.     }
  163.     public function getDebugInfo()
  164.     {
  165.         return array (  171 => 33,  161 => 32,  142 => 23,  132 => 22,  112 => 41,  109 => 40,  102 => 35,  99 => 32,  94 => 29,  88 => 25,  85 => 22,  75 => 14,  71 => 12,  69 => 3,  65 => 10,  62 => 9,  59 => 7,  56 => 6,  53 => 4,  51 => 3,  48 => 2,  46 => 1,);
  166.     }
  167.     public function getSourceContext()
  168.     {
  169.         return new Source("{% if editmode %}
  170.     {% apply spaceless %}
  171.     {# css #}
  172.     {% do pimcore_head_link().appendStylesheet(asset('/assets/dist/main.css')) %}
  173.     {# js #}
  174.     {% do pimcore_head_script().appendFile(asset('/assets/dist/main.js')) %}
  175.     {% endapply %}
  176.     <!DOCTYPE html>
  177.     <html class=\"no-js\" lang=\"{{ app.request.locale }}\">
  178.     <head>
  179.         <meta charset=\"utf-8\">
  180.         <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">
  181.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\">
  182.         {# css #}
  183.         {% block head_stylesheets deferred %}
  184.             {{ pimcore_head_link() }}
  185.         {% endblock %}
  186.     </head>
  187.     <body>
  188.         {{ include('layout/components/footer.html.twig') }}
  189.         {# js #}
  190.         {% block scripts deferred %}
  191.             {{ pimcore_head_script() }}
  192.         {% endblock %}
  193.     </body>
  194.     </html>
  195. {% else %}
  196.     {{ include('layout/components/footer.html.twig') }}
  197.     
  198. {% endif %}""content/footer.html.twig""/home/httpd/vhosts/a4interactive.ch/httpdocs/lutisbach.a4interactive.ch/templates/content/footer.html.twig");
  199.     }
  200. }