var/cache/dev_h35a3f23e42c28eb372681dff5106855a/twig/f3/f38f5067b21b114294c99972aa6008bb3a7c6cecdd4d68913da13cc33432ccf6.php line 42

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. /* @Goesting/storefront/base.html.twig */
  16. class __TwigTemplate_db77f59ac60ef69702ca959cf19f9d93 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_navigation' => [$this'block_base_navigation'],
  26.             'base_breadcrumb' => [$this'block_base_breadcrumb'],
  27.             'base_footer' => [$this'block_base_footer'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 2
  33.         return "@WbmTagManagerEcomm/storefront/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Goesting/storefront/base.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Goesting/storefront/base.html.twig"));
  42.         $this->parent $this->loadTemplate("@WbmTagManagerEcomm/storefront/base.html.twig""@Goesting/storefront/base.html.twig"2);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_base_navigation($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  57.         // line 4
  58.         echo "    ";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 6
  65.     public function block_base_breadcrumb($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_breadcrumb"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_breadcrumb"));
  72.         // line 7
  73.         echo "    ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.     }
  79.     // line 9
  80.     public function block_base_footer($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  87.         // line 10
  88.         echo "        ";
  89.         if (sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse10)) {
  90.             // line 11
  91.             echo "            ";
  92.             $context["customFields"] = sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse11), "navigation", [], "any"falsefalsefalse11), "active", [], "any"falsefalsefalse11), "translated", [], "any"falsefalsefalse11), "customFields", [], "any"falsefalsefalse11);
  93.             // line 12
  94.             echo "        ";
  95.         }
  96.         // line 13
  97.         echo "
  98.         ";
  99.         // line 14
  100.         if ((((sw_get_attribute($this->env$this->source, ($context["customFields"] ?? null), "custom_category_footer_usp", [], "any"falsefalsefalse14) == "white") || (sw_get_attribute($this->env$this->source, ($context["customFields"] ?? null), "custom_category_footer_usp", [], "any"falsefalsefalse14) == "purple")) || sw_get_attribute($this->env$this->source, ($context["page"] ?? null), "product", [], "any"falsefalsefalse14))) {
  101.             // line 15
  102.             echo "            ";
  103.             $this->loadTemplate("@Goesting/storefront/layout/footer/footer-usp.html.twig""@Goesting/storefront/base.html.twig"15)->display(twig_array_merge($context, ["uspStyle" => sw_get_attribute($this->env$this->source,             // line 16
  104. ($context["customFields"] ?? null), "custom_category_footer_usp", [], "any"falsefalsefalse16)]));
  105.             // line 18
  106.             echo "        ";
  107.         }
  108.         // line 19
  109.         echo "        ";
  110.         $this->displayParentBlock("base_footer"$context$blocks);
  111.         echo "
  112.     ";
  113.         
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  115.         
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  117.     }
  118.     public function getTemplateName()
  119.     {
  120.         return "@Goesting/storefront/base.html.twig";
  121.     }
  122.     public function isTraitable()
  123.     {
  124.         return false;
  125.     }
  126.     public function getDebugInfo()
  127.     {
  128.         return array (  131 => 19,  128 => 18,  126 => 16,  124 => 15,  122 => 14,  119 => 13,  116 => 12,  113 => 11,  110 => 10,  100 => 9,  90 => 7,  80 => 6,  70 => 4,  60 => 3,  37 => 2,);
  129.     }
  130.     public function getSourceContext()
  131.     {
  132.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  133.     {% block base_navigation %}
  134.     {% endblock %}
  135.     {% block base_breadcrumb %}
  136.     {% endblock %}
  137.     {% block base_footer %}
  138.         {% if page.cmsPage %}
  139.             {% set customFields = page.header.navigation.active.translated.customFields %}
  140.         {% endif %}
  141.         {% if customFields.custom_category_footer_usp == 'white' or customFields.custom_category_footer_usp == 'purple' or page.product %}
  142.             {% sw_include '@Storefront/storefront/layout/footer/footer-usp.html.twig' with {
  143.                 uspStyle: customFields.custom_category_footer_usp
  144.             } %}
  145.         {% endif %}
  146.         {{parent()}}
  147.     {% endblock %}""@Goesting/storefront/base.html.twig""/home/ploi/mesamis.websignaal.nl/custom/plugins/Goesting/src/Resources/views/storefront/base.html.twig");
  148.     }
  149. }