var/cache/dev/twig/a9/a905cb4f802f63a28f1b1c76c1bb61de.php line 78

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. /* front/page.html.twig */
  14. class __TwigTemplate_fb091c4a76dd607352534693c864d29f 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.             'body' => [$this'block_body'],
  24.             'page_content' => [$this'block_page_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "front/base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/page.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/page.html.twig"));
  39.         $this->parent $this->loadTemplate("front/base.html.twig""front/page.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 4
  55.         echo "
  56.     ";
  57.         // line 5
  58.         $this->loadTemplate("front/_shared/header.html.twig""front/page.html.twig"5)->display(twig_array_merge($context, ["header_class" =>         $this->renderBlock("header_class"$context$blocks), "header_content" =>         $this->renderBlock("header_content"$context$blocks)]));
  59.         // line 6
  60.         echo "
  61.     <div id=\"swup\">
  62.         ";
  63.         // line 8
  64.         $this->displayBlock('page_content'$context$blocks);
  65.         // line 9
  66.         echo "    </div>
  67.     ";
  68.         // line 11
  69.         $this->loadTemplate("front/_shared/footer.html.twig""front/page.html.twig"11)->display($context);
  70.         // line 12
  71.         echo "
  72.     ";
  73.         // line 13
  74.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_IMPERSONATOR")) {
  75.             // line 14
  76.             echo "        <a href=\"";
  77.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->getImpersonateExitPath($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms_exit_impersonate")), "html"nulltrue);
  78.             echo "\" data-no-swup class=\"exit-impersonation\">
  79.             <i class=\"fa fa-sign-out-alt fa-flip-horizontal\"></i> &nbsp; Quitter le compte de <strong>";
  80.             // line 15
  81.             echo twig_escape_filter($this->envtwig_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.'15$this->source); })()), "user", [], "any"falsefalsefalse15), "html"nulltrue);
  82.             echo "</strong>
  83.         </a>
  84.     ";
  85.         }
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     // line 8
  92.     public function block_page_content($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  99.         
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  101.         
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  103.     }
  104.     public function getTemplateName()
  105.     {
  106.         return "front/page.html.twig";
  107.     }
  108.     public function isTraitable()
  109.     {
  110.         return false;
  111.     }
  112.     public function getDebugInfo()
  113.     {
  114.         return array (  110 => 8,  96 => 15,  91 => 14,  89 => 13,  86 => 12,  84 => 11,  80 => 9,  78 => 8,  74 => 6,  72 => 5,  69 => 4,  59 => 3,  36 => 1,);
  115.     }
  116.     public function getSourceContext()
  117.     {
  118.         return new Source("{% extends 'front/base.html.twig' %}
  119. {% block body %}
  120.     {% include 'front/_shared/header.html.twig' with {header_class: block('header_class'), header_content: block('header_content')} %}
  121.     <div id=\"swup\">
  122.         {% block page_content %}{% endblock %}
  123.     </div>
  124.     {% include 'front/_shared/footer.html.twig' %}
  125.     {% if is_granted('IS_IMPERSONATOR') %}
  126.         <a href=\"{{ impersonation_exit_path(path('cms_exit_impersonate') ) }}\" data-no-swup class=\"exit-impersonation\">
  127.             <i class=\"fa fa-sign-out-alt fa-flip-horizontal\"></i> &nbsp; Quitter le compte de <strong>{{ app.user }}</strong>
  128.         </a>
  129.     {% endif %}
  130. {% endblock %}""front/page.html.twig""/var/www/vps.citizens.fr/templates/front/page.html.twig");
  131.     }
  132. }