var/cache/dev/twig/00/0088192011951c185ab4538f6c08805e.php line 73

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/portal.html.twig */
  14. class __TwigTemplate_b381ad1feef4d9a57692d34fe31d682c 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.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layouts/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/portal.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/portal.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/layout.html.twig""content/portal.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         echo "    ";
  57.         // line 5
  58.         echo "    ";
  59.         echo twig_include($this->env$context"includes/hero-carousel.html.twig");
  60.         echo "
  61.     <div id=\"portal\" class=\"portal-page\">
  62.         ";
  63.         // line 7
  64.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""content", ["allowed" => [=> "hero-teaser"=> "standard-teaser"=> "hero-grid"=> "product-teaser"=> "gallery-carousel"=> "horizontal-line"=> "image"=> "image-hotspot-marker"=> "video"=> "personalized-product-teaser"]]);
  65.         // line 9
  66.         echo "
  67.     </div>
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "content/portal.html.twig";
  77.     }
  78.     public function isTraitable()
  79.     {
  80.         return false;
  81.     }
  82.     public function getDebugInfo()
  83.     {
  84.         return array (  80 => 9,  78 => 7,  72 => 5,  70 => 4,  60 => 3,  37 => 1,);
  85.     }
  86.     public function getSourceContext()
  87.     {
  88.         return new Source("{% extends 'layouts/layout.html.twig' %}
  89. {% block content %}
  90.     {#Hero caraousel#}
  91.     {{ include('includes/hero-carousel.html.twig') }}
  92.     <div id=\"portal\" class=\"portal-page\">
  93.         {{ pimcore_areablock('content', {
  94.             'allowed': ['hero-teaser', 'standard-teaser', 'hero-grid', 'product-teaser', 'gallery-carousel', 'horizontal-line', 'image', 'image-hotspot-marker', 'video', 'personalized-product-teaser']
  95.         }) }}
  96.     </div>
  97. {% endblock %}""content/portal.html.twig""/www/htdocs/w0068a70/pimcore.curo-web.de/my-project/templates/content/portal.html.twig");
  98.     }
  99.     
  100.     public function checkSecurity()
  101.     {
  102.         static $tags = array();
  103.         static $filters = array();
  104.         static $functions = array("include" => 5"pimcore_areablock" => 7);
  105.         try {
  106.             $this->sandbox->checkSecurity(
  107.                 [],
  108.                 [],
  109.                 ['include''pimcore_areablock']
  110.             );
  111.         } catch (SecurityError $e) {
  112.             $e->setSourceContext($this->source);
  113.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  114.                 $e->setTemplateLine($tags[$e->getTagName()]);
  115.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  116.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  117.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  118.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  119.             }
  120.             throw $e;
  121.         }
  122.     }
  123. }