var/cache/dev/twig/19/1930dde26280bef1d1edd18ee4d35529.php line 41

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. /* default/home.html.twig */
  14. class __TwigTemplate_86c38de799c1cd3331f4aad1e8830aef 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.             'inlinescripts' => [$this, 'block_inlinescripts'],
  25.         ];
  26.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 3
  32.         return "layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros = $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/home.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/home.html.twig"));
  41.         $this->parent = $this->loadTemplate("layout.html.twig", "default/home.html.twig", 3);
  42.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 10
  49.     public function block_content($context, array $blocks = [])
  50.     {
  51.         $macros = $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  56.         // line 11
  57.         echo "
  58. <!-- #main -->
  59. <main id=\"main\" role=\"main\">
  60.     
  61.   ";
  62.         // line 15
  63.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentTop");
  64.         echo "
  65.   ";
  66.         // line 17
  67.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentBottom");
  68.         echo "
  69. </main><!-- end #main -->
  70. ";
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     // line 24
  77.     public function block_inlinescripts($context, array $blocks = [])
  78.     {
  79.         $macros = $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
  84.         // line 25
  85.         echo "        
  86. ";
  87.         
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  89.         
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  91.     }
  92.     public function getTemplateName()
  93.     {
  94.         return "default/home.html.twig";
  95.     }
  96.     public function isTraitable()
  97.     {
  98.         return false;
  99.     }
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  108 => 25,  98 => 24,  82 => 17,  77 => 15,  71 => 11,  61 => 10,  38 => 3,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("
  107. {% extends \"layout.html.twig\" %}
  108. {#
  109.     {% use AppBundle/Helper/Apik %}
  110. #}
  111. {% block content %}
  112. <!-- #main -->
  113. <main id=\"main\" role=\"main\">
  114.     
  115.   {{ pimcore_areablock('contentTop') }}
  116.   {{ pimcore_areablock('contentBottom') }}
  117. </main><!-- end #main -->
  118. {% endblock %}
  119. {% block inlinescripts %}
  120.         
  121. {% endblock inlinescripts %}", "default/home.html.twig", "/var/www/camberoux.apik-pp.be/www/templates/default/home.html.twig");
  122.     }
  123.     
  124.     public function checkSecurity()
  125.     {
  126.         static $tags = array();
  127.         static $filters = array();
  128.         static $functions = array("pimcore_areablock" => 15);
  129.         try {
  130.             $this->sandbox->checkSecurity(
  131.                 [],
  132.                 [],
  133.                 ['pimcore_areablock']
  134.             );
  135.         } catch (SecurityError $e) {
  136.             $e->setSourceContext($this->source);
  137.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  138.                 $e->setTemplateLine($tags[$e->getTagName()]);
  139.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  140.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  141.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  142.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  143.             }
  144.             throw $e;
  145.         }
  146.     }
  147. }