var/cache/dev_hbd3b438645322a8593dd24d071f68685/twig/c0/c09f253f5af0c30936dcdbcfb44a739da7be02bc7872df2f0b52c3b558cb3f5d.php line 41

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. /* @CogiFooterObstde/storefront/base.html.twig */
  16. class __TwigTemplate_f13bba722639dac2f6fd5ffdd770f7d7d85ff2ff884a2580ef5f22dcee03cdcf 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_footer' => [$this'block_base_footer'],
  26.             'base_footer_inner' => [$this'block_base_footer_inner'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@CogiCrisp/storefront/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CogiFooterObstde/storefront/base.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CogiFooterObstde/storefront/base.html.twig"));
  41.         // line 7
  42.         $context["salesChannelId"] = "f8814d553e4d438eb543adcf101a043c";
  43.         // line 2
  44.         $this->parent $this->loadTemplate("@CogiCrisp/storefront/base.html.twig""@CogiFooterObstde/storefront/base.html.twig"2);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  48.         
  49.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  50.     }
  51.     // line 10
  52.     public function block_base_footer($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer"));
  59.         // line 11
  60.         echo "    <footer class=\"footer-main\" 
  61.     ";
  62.         // line 12
  63.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse12), "id", [], "any"falsefalsefalse12), ($context["salesChannelId"] ?? null)))) {
  64.             // line 13
  65.             echo "        style=\"background: #9fc02b;\"
  66.     ";
  67.         }
  68.         // line 14
  69.         echo ">
  70.         ";
  71.         // line 15
  72.         $this->displayBlock('base_footer_inner'$context$blocks);
  73.         // line 20
  74.         echo "    </footer>
  75. ";
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 15
  82.     public function block_base_footer_inner($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer_inner"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_footer_inner"));
  89.         // line 16
  90.         echo "            <div class=\"container\">
  91.                 ";
  92.         // line 17
  93.         $this->loadTemplate("@CogiFooterObstde/storefront/layout/footerNew/footerNew.html.twig""@CogiFooterObstde/storefront/base.html.twig"17)->display($context);
  94.         // line 18
  95.         echo "            </div>
  96.         ";
  97.         
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  99.         
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  101.     }
  102.     public function getTemplateName()
  103.     {
  104.         return "@CogiFooterObstde/storefront/base.html.twig";
  105.     }
  106.     public function isTraitable()
  107.     {
  108.         return false;
  109.     }
  110.     public function getDebugInfo()
  111.     {
  112.         return array (  112 => 18,  110 => 17,  107 => 16,  97 => 15,  86 => 20,  84 => 15,  81 => 14,  77 => 13,  75 => 12,  72 => 11,  62 => 10,  51 => 2,  49 => 7,  36 => 2,);
  113.     }
  114.     public function getSourceContext()
  115.     {
  116.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  117. {# default 24f52be4018641608f495d52d3ee51f5 #}
  118. {# fruits-best.de f8814d553e4d438eb543adcf101a043c #}
  119. {% set salesChannelId = \"f8814d553e4d438eb543adcf101a043c\" %}
  120. {% block base_footer %}
  121.     <footer class=\"footer-main\" 
  122.     {% if context.salesChannel.id == salesChannelId %}
  123.         style=\"background: #9fc02b;\"
  124.     {% endif %}>
  125.         {% block base_footer_inner %}
  126.             <div class=\"container\">
  127.                 {% sw_include '@Storefront/storefront/layout/footerNew/footerNew.html.twig' %}
  128.             </div>
  129.         {% endblock %}
  130.     </footer>
  131. {% endblock %}
  132.     
  133.         
  134. ""@CogiFooterObstde/storefront/base.html.twig""/usr/www/users/obstdev/custom/plugins/CogiFooterObstde/src/Resources/views/storefront/base.html.twig");
  135.     }
  136. }