var/cache/dev/twig/33/33b6fb04d96f7e4de68cac8fe2055580.php line 45

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. /* includes/sidebar.html.twig */
  14. class __TwigTemplate_2e3f16eae8f44436fea64d71613c4bbc 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.         // line 1
  24.         $_trait_0 $this->loadTemplate("includes/editmode-layout.html.twig""includes/sidebar.html.twig"1);
  25.         if (!$_trait_0->isTraitable()) {
  26.             throw new RuntimeError('Template "'."includes/editmode-layout.html.twig".'" cannot be used as a trait.'1$this->source);
  27.         }
  28.         $_trait_0_blocks $_trait_0->getBlocks();
  29.         $this->traits $_trait_0_blocks;
  30.         $this->blocks array_merge(
  31.             $this->traits,
  32.             [
  33.             ]
  34.         );
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/sidebar.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""includes/sidebar.html.twig"));
  43.         // line 2
  44.         echo "
  45. ";
  46.         // line 3
  47.         $this->displayBlock("editmode_header"$context$blocks);
  48.         echo "
  49. <div class=\"teasers\">
  50.     ";
  51.         // line 6
  52.         $context['_parent'] = $context;
  53.         $context['_seq'] = twig_ensure_traversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""teasers")));
  54.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  55.             // line 7
  56.             echo "        ";
  57.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"snippet""teaser");
  58.             echo "
  59.     ";
  60.         }
  61.         $_parent $context['_parent'];
  62.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  63.         $context array_intersect_key($context$_parent) + $_parent;
  64.         // line 9
  65.         echo "</div>
  66. ";
  67.         // line 11
  68.         $this->displayBlock("editmode_footer"$context$blocks);
  69.         echo "
  70. ";
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.     }
  76.     public function getTemplateName()
  77.     {
  78.         return "includes/sidebar.html.twig";
  79.     }
  80.     public function isTraitable()
  81.     {
  82.         return false;
  83.     }
  84.     public function getDebugInfo()
  85.     {
  86.         return array (  81 => 11,  77 => 9,  68 => 7,  64 => 6,  58 => 3,  55 => 2,  30 => 1,);
  87.     }
  88.     public function getSourceContext()
  89.     {
  90.         return new Source("{% use 'includes/editmode-layout.html.twig' %}
  91. {{ block('editmode_header') }}
  92. <div class=\"teasers\">
  93.     {% for i in pimcore_iterate_block(pimcore_block('teasers')) %}
  94.         {{ pimcore_snippet('teaser') }}
  95.     {% endfor %}
  96. </div>
  97. {{ block('editmode_footer') }}
  98. ""includes/sidebar.html.twig""/var/www/html/siteone/templates/includes/sidebar.html.twig");
  99.     }
  100. }