var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/ab/ab1fc3773c1dbeb3a53d82606ca16656c098d6ea8b0d0c8db6ecda7293a544f8.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
  4. use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
  5. use Twig\Error\LoaderError;
  6. use Twig\Error\RuntimeError;
  7. use Twig\Extension\SandboxExtension;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. /* @econdWebAnalytics/storefront/page/content/index.html.twig */
  16. class __TwigTemplate_cd8c0f73890e2669ba6ea9e45cc0db6c extends Template
  17. {
  18.     private $source;
  19.     private $macros = [];
  20.     public function __construct(Environment $env)
  21.     {
  22.         parent::__construct($env);
  23.         $this->source $this->getSourceContext();
  24.         $this->blocks = [
  25.             'base_main_inner' => [$this'block_base_main_inner'],
  26.             'page_content' => [$this'block_page_content'],
  27.             'cms_breadcrumb' => [$this'block_cms_breadcrumb'],
  28.             'cms_content' => [$this'block_cms_content'],
  29.             'page_content_blocks' => [$this'block_page_content_blocks'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 2
  35.         return "@Storefront/storefront/page/content/index.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdWebAnalytics/storefront/page/content/index.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@econdWebAnalytics/storefront/page/content/index.html.twig"));
  44.         $this->parent $this->loadTemplate("@Storefront/storefront/page/content/index.html.twig""@econdWebAnalytics/storefront/page/content/index.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 4
  52.     public function block_base_main_inner($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main_inner"));
  59.         // line 5
  60.         echo "    <div class=\"container-main\" style=\"padding: 0\">
  61.         ";
  62.         // line 6
  63.         $this->displayBlock('page_content'$context$blocks);
  64.         // line 32
  65.         echo "    </div>
  66. ";
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.     }
  72.     // line 6
  73.     public function block_page_content($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content"));
  80.         // line 7
  81.         echo "            ";
  82.         $this->displayBlock('cms_breadcrumb'$context$blocks);
  83.         // line 15
  84.         echo "            ";
  85.         $this->displayBlock('cms_content'$context$blocks);
  86.         // line 31
  87.         echo "        ";
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.     }
  93.     // line 7
  94.     public function block_cms_breadcrumb($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  101.         // line 8
  102.         echo "                <div class=\"breadcrumb cms-breadcrumb container\" style=\"padding-top: 0;padding-bottom: 0\">
  103.                     ";
  104.         // line 9
  105.         $this->loadTemplate("@econdWebAnalytics/storefront/layout/breadcrumb.html.twig""@econdWebAnalytics/storefront/page/content/index.html.twig"9)->display(twig_to_array(["context" =>         // line 10
  106. ($context["context"] ?? null), "category" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 11
  107. ($context["page"] ?? null), "header", [], "any"falsefalsefalse11), "navigation", [], "any"falsefalsefalse11), "active", [], "any"falsefalsefalse11)]));
  108.         // line 13
  109.         echo "                </div>
  110.             ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     // line 15
  117.     public function block_cms_content($context, array $blocks = [])
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  124.         // line 16
  125.         echo "                ";
  126.         // line 17
  127.         echo "                ";
  128.         if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
  129.             // line 18
  130.             echo "                    ";
  131.             $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse18), "cmsPage", [], "any"falsefalsefalse18), "cssClass", [], "any"falsefalsefalse18))));
  132.             // line 19
  133.             echo "                    ";
  134.             $context["cmsPage"] = ((sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse19)) ? (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse19), "cmsPage", [], "any"falsefalsefalse19)) : (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse19)));
  135.             // line 20
  136.             echo "                ";
  137.         } else {
  138.             // line 21
  139.             echo "                    ";
  140.             $context["cmsPageClasses"] = twig_trim_filter(("cms-page " twig_striptags(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse21), "cssClass", [], "any"falsefalsefalse21))));
  141.             // line 22
  142.             echo "                    ";
  143.             $context["cmsPage"] = sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse22);
  144.             // line 23
  145.             echo "                ";
  146.         }
  147.         // line 24
  148.         echo "                ";
  149.         $context["landingPage"] = ((sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse24)) ? (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse24)) : ([]));
  150.         // line 25
  151.         echo "                <div class=\"";
  152.         echo sw_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  153.         echo "\">
  154.                     ";
  155.         // line 26
  156.         $this->displayBlock('page_content_blocks'$context$blocks);
  157.         // line 29
  158.         echo "                </div>
  159.             ";
  160.         
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  162.         
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164.     }
  165.     // line 26
  166.     public function block_page_content_blocks($context, array $blocks = [])
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  173.         // line 27
  174.         echo "                        ";
  175.         $this->loadTemplate("@econdWebAnalytics/storefront/page/content/detail.html.twig""@econdWebAnalytics/storefront/page/content/index.html.twig"27)->display(twig_array_merge($context, ["cmsPage" => ($context["cmsPage"] ?? null), "landingPage" => ($context["landingPage"] ?? null)]));
  176.         // line 28
  177.         echo "                    ";
  178.         
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  180.         
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182.     }
  183.     public function getTemplateName()
  184.     {
  185.         return "@econdWebAnalytics/storefront/page/content/index.html.twig";
  186.     }
  187.     public function isTraitable()
  188.     {
  189.         return false;
  190.     }
  191.     public function getDebugInfo()
  192.     {
  193.         return array (  209 => 28,  206 => 27,  196 => 26,  185 => 29,  183 => 26,  178 => 25,  175 => 24,  172 => 23,  169 => 22,  166 => 21,  163 => 20,  160 => 19,  157 => 18,  154 => 17,  152 => 16,  142 => 15,  131 => 13,  129 => 11,  128 => 10,  127 => 9,  124 => 8,  114 => 7,  104 => 31,  101 => 15,  98 => 7,  88 => 6,  77 => 32,  75 => 6,  72 => 5,  62 => 4,  39 => 2,);
  194.     }
  195.     public function getSourceContext()
  196.     {
  197.         return new Source("{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
  198. {# @var page \\Shopware\\Storefront\\Page\\LandingPage\\LandingPage|\\Shopware\\Storefront\\Page\\CategoryPage\\CategoryPage #}
  199. {% block base_main_inner %}
  200.     <div class=\"container-main\" style=\"padding: 0\">
  201.         {% block page_content %}
  202.             {% block cms_breadcrumb %}
  203.                 <div class=\"breadcrumb cms-breadcrumb container\" style=\"padding-top: 0;padding-bottom: 0\">
  204.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  205.                         context: context,
  206.                         category: page.header.navigation.active
  207.                     } only %}
  208.                 </div>
  209.             {% endblock %}
  210.             {% block cms_content %}
  211.                 {# @deprecated tag:v6.5.0 - keep if branch - page.cmsPage will be removed. Use page.landingPage.cmsPage instead #}
  212.                 {% if feature('v6.5.0.0') %}
  213.                     {% set cmsPageClasses = ('cms-page ' ~ page.landingPage.cmsPage.cssClass|striptags)|trim %}
  214.                     {% set cmsPage = page.landingPage ? page.landingPage.cmsPage : page.cmsPage %}
  215.                 {% else %}
  216.                     {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  217.                     {% set cmsPage = page.cmsPage %}
  218.                 {% endif %}
  219.                 {% set landingPage = page.landingPage ? page.landingPage : {} %}
  220.                 <div class=\"{{ cmsPageClasses }}\">
  221.                     {% block page_content_blocks %}
  222.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': cmsPage, 'landingPage': landingPage} %}
  223.                     {% endblock %}
  224.                 </div>
  225.             {% endblock %}
  226.         {% endblock %}
  227.     </div>
  228. {% endblock %}""@econdWebAnalytics/storefront/page/content/index.html.twig""/var/www/shopware6/custom/plugins/econdWebAnalytics/src/Resources/views/storefront/page/content/index.html.twig");
  229.     }
  230. }