var/cache/dev_h00fd8923ecf393ec0b25403e00167bec/twig/62/62db4adaf0bbc50ba5178e38f150217f616595914a7342849cd80ad604d8c440.php line 44

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. /* @Storefront/storefront/page/content/index.html.twig */
  16. class __TwigTemplate_79d3089a9ba42a605a67a93afdc24ed7 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 "@econdLoader/storefront/base.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""@Storefront/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""@Storefront/storefront/page/content/index.html.twig"));
  44.         $this->parent $this->loadTemplate("@econdLoader/storefront/base.html.twig""@Storefront/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\">
  61.         ";
  62.         // line 6
  63.         $this->displayBlock('page_content'$context$blocks);
  64.         // line 33
  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.             ";
  86.         // line 16
  87.         $this->displayBlock('cms_content'$context$blocks);
  88.         // line 32
  89.         echo "        ";
  90.         
  91.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  92.         
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  94.     }
  95.     // line 7
  96.     public function block_cms_breadcrumb($context, array $blocks = [])
  97.     {
  98.         $macros $this->macros;
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_breadcrumb"));
  103.         // line 8
  104.         echo "                <div class=\"breadcrumb cms-breadcrumb container\">
  105.                     ";
  106.         // line 9
  107.         $this->loadTemplate("@econdWebAnalytics/storefront/layout/breadcrumb.html.twig""@Storefront/storefront/page/content/index.html.twig"9)->display(twig_to_array(["context" =>         // line 10
  108. ($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
  109. ($context["page"] ?? null), "header", [], "any"falsefalsefalse11), "navigation", [], "any"falsefalsefalse11), "active", [], "any"falsefalsefalse11)]));
  110.         // line 13
  111.         echo "                </div>
  112.             ";
  113.         
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  115.         
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  117.     }
  118.     // line 16
  119.     public function block_cms_content($context, array $blocks = [])
  120.     {
  121.         $macros $this->macros;
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  123.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cms_content"));
  126.         // line 17
  127.         echo "                ";
  128.         // line 18
  129.         echo "                ";
  130.         if ($this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\FeatureFlagExtension']->feature("v6.5.0.0")) {
  131.             // line 19
  132.             echo "                    ";
  133.             $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"falsefalsefalse19), "cmsPage", [], "any"falsefalsefalse19), "cssClass", [], "any"falsefalsefalse19))));
  134.             // line 20
  135.             echo "                    ";
  136.             $context["cmsPage"] = ((sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse20)) ? (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse20), "cmsPage", [], "any"falsefalsefalse20)) : (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse20)));
  137.             // line 21
  138.             echo "                ";
  139.         } else {
  140.             // line 22
  141.             echo "                    ";
  142.             $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"falsefalsefalse22), "cssClass", [], "any"falsefalsefalse22))));
  143.             // line 23
  144.             echo "                    ";
  145.             $context["cmsPage"] = sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse23);
  146.             // line 24
  147.             echo "                ";
  148.         }
  149.         // line 25
  150.         echo "                ";
  151.         $context["landingPage"] = ((sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse25)) ? (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "landingPage", [], "any"falsefalsefalse25)) : ([]));
  152.         // line 26
  153.         echo "                <div class=\"";
  154.         echo sw_escape_filter($this->env, ($context["cmsPageClasses"] ?? null), "html"nulltrue);
  155.         echo "\">
  156.                     ";
  157.         // line 27
  158.         $this->displayBlock('page_content_blocks'$context$blocks);
  159.         // line 30
  160.         echo "                </div>
  161.             ";
  162.         
  163.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  164.         
  165.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  166.     }
  167.     // line 27
  168.     public function block_page_content_blocks($context, array $blocks = [])
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_content_blocks"));
  175.         // line 28
  176.         echo "                        ";
  177.         $this->loadTemplate("@econdWebAnalytics/storefront/page/content/detail.html.twig""@Storefront/storefront/page/content/index.html.twig"28)->display(twig_array_merge($context, ["cmsPage" => ($context["cmsPage"] ?? null), "landingPage" => ($context["landingPage"] ?? null)]));
  178.         // line 29
  179.         echo "                    ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     public function getTemplateName()
  186.     {
  187.         return "@Storefront/storefront/page/content/index.html.twig";
  188.     }
  189.     public function isTraitable()
  190.     {
  191.         return false;
  192.     }
  193.     public function getDebugInfo()
  194.     {
  195.         return array (  211 => 29,  208 => 28,  198 => 27,  187 => 30,  185 => 27,  180 => 26,  177 => 25,  174 => 24,  171 => 23,  168 => 22,  165 => 21,  162 => 20,  159 => 19,  156 => 18,  154 => 17,  144 => 16,  133 => 13,  131 => 11,  130 => 10,  129 => 9,  126 => 8,  116 => 7,  106 => 32,  104 => 16,  101 => 15,  98 => 7,  88 => 6,  77 => 33,  75 => 6,  72 => 5,  62 => 4,  39 => 2,);
  196.     }
  197.     public function getSourceContext()
  198.     {
  199.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  200. {# @var page \\Shopware\\Storefront\\Page\\LandingPage\\LandingPage|\\Shopware\\Storefront\\Page\\CategoryPage\\CategoryPage #}
  201. {% block base_main_inner %}
  202.     <div class=\"container-main\">
  203.         {% block page_content %}
  204.             {% block cms_breadcrumb %}
  205.                 <div class=\"breadcrumb cms-breadcrumb container\">
  206.                     {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
  207.                         context: context,
  208.                         category: page.header.navigation.active
  209.                     } only %}
  210.                 </div>
  211.             {% endblock %}
  212.             {% block cms_content %}
  213.                 {# @deprecated tag:v6.5.0 - keep if branch - page.cmsPage will be removed. Use page.landingPage.cmsPage instead #}
  214.                 {% if feature('v6.5.0.0') %}
  215.                     {% set cmsPageClasses = ('cms-page ' ~ page.landingPage.cmsPage.cssClass|striptags)|trim %}
  216.                     {% set cmsPage = page.landingPage ? page.landingPage.cmsPage : page.cmsPage %}
  217.                 {% else %}
  218.                     {% set cmsPageClasses = ('cms-page ' ~ page.cmsPage.cssClass|striptags)|trim %}
  219.                     {% set cmsPage = page.cmsPage %}
  220.                 {% endif %}
  221.                 {% set landingPage = page.landingPage ? page.landingPage : {} %}
  222.                 <div class=\"{{ cmsPageClasses }}\">
  223.                     {% block page_content_blocks %}
  224.                         {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': cmsPage, 'landingPage': landingPage} %}
  225.                     {% endblock %}
  226.                 </div>
  227.             {% endblock %}
  228.         {% endblock %}
  229.     </div>
  230. {% endblock %}
  231. ""@Storefront/storefront/page/content/index.html.twig""/var/www/shopware6/vendor/shopware/storefront/Resources/views/storefront/page/content/index.html.twig");
  232.     }
  233. }