var/cache/dev_h90dfaab4b9218db9f54295f5d696836f/twig/36/3665b9285728f32998df3762db9f8cfc5785d472cd4046cc0b00bb341412a7bd.php line 43

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. /* @TdsOrlob/storefront/base.html.twig */
  16. class __TwigTemplate_0ede1d540463707f247f8eb2ae47325403bafbd319b12e338a63e21e92ac613b 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.             'base_header_inner' => [$this'block_base_header_inner'],
  27.             'base_body_script' => [$this'block_base_body_script'],
  28.             'base_html' => [$this'block_base_html'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@IntediaDoofinderSW6/storefront/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@TdsOrlob/storefront/base.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@TdsOrlob/storefront/base.html.twig"));
  43.         $this->parent $this->loadTemplate("@IntediaDoofinderSW6/storefront/base.html.twig""@TdsOrlob/storefront/base.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_base_header($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  58.         // line 4
  59.         echo "
  60.     ";
  61.         // line 5
  62.         if (sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "salesChannel", [], "any"falsefalsefalse5), "customFields", [], "any"falsefalsefalse5), "custom_site_marquee", [], "any"falsefalsefalse5)) {
  63.             // line 6
  64.             echo "\t    <marquee width=\"100%\" direction=\"left\">
  65.              ";
  66.             // line 7
  67.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tdsOrlob.topBar.marquee"), "html"nulltrue);
  68.             echo "
  69. \t    </marquee>
  70.     ";
  71.         }
  72.         // line 10
  73.         echo "\t
  74.     <div class=\"info-bar bg-light shadow-sm d-none d-md-block\">
  75.         <div class=\"container text-center\">
  76.             <p class=\"mb-0 d-md-inline-block\">
  77.                 ";
  78.         // line 14
  79.         echo $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\SwSanitizeTwigFilter']->sanitize($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tdsOrlob.topBar.text"));
  80.         echo "
  81.             </p>
  82.             <div class=\"pl-md-3 d-md-inline-block\">
  83.                 ";
  84.         // line 17
  85.         $this->loadTemplate("@Storefront/storefront/layout/header/actions/language-widget.html.twig""@TdsOrlob/storefront/base.html.twig"17)->display($context);
  86.         // line 18
  87.         echo "            </div>
  88.         </div>
  89.     </div>
  90.     
  91.     <header class=\"header-main\">
  92. \t    <div class=\"overlay-left\"></div>
  93. \t    <div class=\"overlay-right\"></div>    
  94.     
  95. \t    ";
  96.         // line 26
  97.         $this->displayBlock('base_header_inner'$context$blocks);
  98.         // line 31
  99.         echo "    </header>
  100. ";
  101.         
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.     }
  106.     // line 26
  107.     public function block_base_header_inner($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  114.         // line 27
  115.         echo "\t        <div class=\"container\">
  116. \t            ";
  117.         // line 28
  118.         $this->loadTemplate("@TdsOrlob/storefront/layout/header/header.html.twig""@TdsOrlob/storefront/base.html.twig"28)->display($context);
  119.         // line 29
  120.         echo "\t        </div>
  121. \t    ";
  122.         
  123.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  124.         
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  126.     }
  127.     // line 34
  128.     public function block_base_body_script($context, array $blocks = [])
  129.     {
  130.         $macros $this->macros;
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  133.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  135.         // line 35
  136.         echo "    ";
  137.         $this->displayParentBlock("base_body_script"$context$blocks);
  138.         echo "
  139.     <style>
  140.     \t.sf-toolbar,
  141.     \t.sf-dump {
  142. \t    \tdisplay: none !important;
  143.     \t}
  144.     </style>
  145.     ";
  146.         // line 42
  147.         if ((=== twig_compare(sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["context"] ?? null), "currentCustomerGroup", [], "any"falsefalsefalse42), "name", [], "any"falsefalsefalse42), "Admin"))) {
  148.             // line 43
  149.             echo "\t";
  150.             // line 44
  151.             echo "\t    <style>
  152. \t    \t.sf-toolbar,
  153. \t    \t.sf-dump {
  154. \t\t    \tdisplay: block !important;
  155. \t    \t}
  156. \t    </style>
  157. \t";
  158.         }
  159.         // line 50
  160.         echo 
  161. ";
  162.         
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  164.         
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  166.     }
  167.     // line 53
  168.     public function block_base_html($context, array $blocks = [])
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_html"));
  173.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_html"));
  175.         // line 54
  176.         echo "    <html lang=\"";
  177.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse54), "locale", [], "any"falsefalsefalse54), "html"nulltrue);
  178.         echo "\"
  179.         itemscope=\"itemscope\"
  180.         itemtype=\"https://schema.org/WebPage\"
  181.         name=\"";
  182.         // line 57
  183.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse57), "name", [], "any"falsefalsefalse57), "html"nulltrue);
  184.         echo "\" 
  185.         type=\"";
  186.         // line 58
  187.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse58), "type", [], "any"falsefalsefalse58), "html"nulltrue);
  188.         echo "\"
  189.         type=\"";
  190.         // line 59
  191.         echo sw_escape_filter($this->envsw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source, ($context["page"] ?? null), "cmsPage", [], "any"falsefalsefalse59), "type", [], "any"falsefalsefalse59), "html"nulltrue);
  192.         echo "\"    
  193.         controllerAction=\"";
  194.         // line 60
  195.         echo sw_escape_filter($this->env, ($context["controllerAction"] ?? null), "html"nulltrue);
  196.         echo "\" 
  197.     >
  198. ";
  199.         
  200.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  201.         
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  203.     }
  204.     public function getTemplateName()
  205.     {
  206.         return "@TdsOrlob/storefront/base.html.twig";
  207.     }
  208.     public function isTraitable()
  209.     {
  210.         return false;
  211.     }
  212.     public function getDebugInfo()
  213.     {
  214.         return array (  222 => 60,  218 => 59,  214 => 58,  210 => 57,  203 => 54,  193 => 53,  182 => 50,  173 => 44,  171 => 43,  169 => 42,  158 => 35,  148 => 34,  137 => 29,  135 => 28,  132 => 27,  122 => 26,  111 => 31,  109 => 26,  99 => 18,  97 => 17,  91 => 14,  85 => 10,  79 => 7,  76 => 6,  74 => 5,  71 => 4,  61 => 3,  38 => 2,);
  215.     }
  216.     public function getSourceContext()
  217.     {
  218.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  219. {% block base_header %}
  220.     {% if context.salesChannel.customFields.custom_site_marquee %}
  221. \t    <marquee width=\"100%\" direction=\"left\">
  222.              {{ 'tdsOrlob.topBar.marquee'|trans }}
  223. \t    </marquee>
  224.     {% endif %}
  225. \t
  226.     <div class=\"info-bar bg-light shadow-sm d-none d-md-block\">
  227.         <div class=\"container text-center\">
  228.             <p class=\"mb-0 d-md-inline-block\">
  229.                 {{ 'tdsOrlob.topBar.text'|trans|sw_sanitize }}
  230.             </p>
  231.             <div class=\"pl-md-3 d-md-inline-block\">
  232.                 {% sw_include '@Storefront/storefront/layout/header/actions/language-widget.html.twig' %}
  233.             </div>
  234.         </div>
  235.     </div>
  236.     
  237.     <header class=\"header-main\">
  238. \t    <div class=\"overlay-left\"></div>
  239. \t    <div class=\"overlay-right\"></div>    
  240.     
  241. \t    {% block base_header_inner %}
  242. \t        <div class=\"container\">
  243. \t            {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  244. \t        </div>
  245. \t    {% endblock %}
  246.     </header>
  247. {% endblock %}
  248. {% block base_body_script %}
  249.     {{ parent() }}
  250.     <style>
  251.     \t.sf-toolbar,
  252.     \t.sf-dump {
  253. \t    \tdisplay: none !important;
  254.     \t}
  255.     </style>
  256.     {% if context.currentCustomerGroup.name == 'Admin' %}
  257. \t{#   {{ dump() }}  #}
  258. \t    <style>
  259. \t    \t.sf-toolbar,
  260. \t    \t.sf-dump {
  261. \t\t    \tdisplay: block !important;
  262. \t    \t}
  263. \t    </style>
  264. \t{% endif %} 
  265. {% endblock %}
  266. {% block base_html %}
  267.     <html lang=\"{{ app.request.locale }}\"
  268.         itemscope=\"itemscope\"
  269.         itemtype=\"https://schema.org/WebPage\"
  270.         name=\"{{ page.cmsPage.name }}\" 
  271.         type=\"{{ page.cmsPage.type }}\"
  272.         type=\"{{ page.cmsPage.type }}\"    
  273.         controllerAction=\"{{ controllerAction }}\" 
  274.     >
  275. {% endblock %}""@TdsOrlob/storefront/base.html.twig""/home/fasflpog/shopware/custom/plugins/TdsOrlob/src/Resources/views/storefront/base.html.twig");
  276.     }
  277. }