var/cache/dev_hc896b0aecebc6aae6bec469c82cd525f/twig/7a/7a655e78c930107df6bdaed56f98e38424d281ce0b4199b57cef92fc41de615f.php line 50

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. /* @NetzpPowerPack6/storefront/base.html.twig */
  16. class __TwigTemplate_6a7d6c40c4fc556b191d1f04181f59c3 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_header' => [$this'block_base_header'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@GbmedElwLogin/storefront/base.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""@NetzpPowerPack6/storefront/base.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""@NetzpPowerPack6/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@GbmedElwLogin/storefront/base.html.twig""@NetzpPowerPack6/storefront/base.html.twig"2);
  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_base_header($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""base_header"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  55.         // line 4
  56.         echo "    ";
  57.         if ((sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse4), "netzp_header_cms_page", [], "any"falsefalsefalse4) && (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse4), "netzp_header_cms_position", [], "any"falsefalsefalse4) == 1))) {
  58.             // line 5
  59.             echo "        <div class=\"netzp-powerpack6-header-cms ";
  60.             if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse5), "netzp_header_cms_sticky", [], "any"falsefalsefalse5)) {
  61.                 echo "sticky-top";
  62.             }
  63.             echo "\">
  64.             ";
  65.             // line 6
  66.             $this->loadTemplate("@MoorlFoundation/storefront/page/content/detail.html.twig""@NetzpPowerPack6/storefront/base.html.twig"6)->display(twig_array_merge($context, ["cmsPage" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "header", [], "any"falsefalsefalse6), "netzp_header_cms_page", [], "any"falsefalsefalse6)]));
  67.             // line 7
  68.             echo "        </div>
  69.     ";
  70.         }
  71.         // line 9
  72.         echo "    ";
  73.         $this->displayParentBlock("base_header"$context$blocks);
  74.         echo "
  75. ";
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     public function getTemplateName()
  82.     {
  83.         return "@NetzpPowerPack6/storefront/base.html.twig";
  84.     }
  85.     public function isTraitable()
  86.     {
  87.         return false;
  88.     }
  89.     public function getDebugInfo()
  90.     {
  91.         return array (  84 => 9,  80 => 7,  78 => 6,  71 => 5,  68 => 4,  58 => 3,  35 => 2,);
  92.     }
  93.     public function getSourceContext()
  94.     {
  95.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  96. {% block base_header %}
  97.     {% if(page.header.netzp_header_cms_page) and (page.header.netzp_header_cms_position == 1) %}
  98.         <div class=\"netzp-powerpack6-header-cms {% if(page.header.netzp_header_cms_sticky) %}sticky-top{% endif %}\">
  99.             {% sw_include \"@Storefront/storefront/page/content/detail.html.twig\" with {'cmsPage': page.header.netzp_header_cms_page} %}
  100.         </div>
  101.     {% endif %}
  102.     {{ parent() }}
  103. {% endblock %}
  104. ""@NetzpPowerPack6/storefront/base.html.twig""/var/www/share/efb-elektronik.dev.mc.emzcustomers.de/shopware6/vendor/store.shopware.com/netzppowerpack6/src/Resources/views/storefront/base.html.twig");
  105.     }
  106. }