var/cache/dev_h709f23ac6750a26dad7ce174fa60cb15/twig/49/49c46e50f4c0c037e025624198684a9482d837e39b671cf06d0be7363e7bf40a.php line 56

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. /* @FuerstenbergPorzellan/storefront/base.html.twig */
  16. class __TwigTemplate_0c1c973c6ec3e6ba36b90f5c912b917a 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_navigation_inner' => [$this'block_base_navigation_inner'],
  28.             'base_navigation' => [$this'block_base_navigation'],
  29.             'base_main' => [$this'block_base_main'],
  30.             'base_body_script' => [$this'block_base_body_script'],
  31.             'trustedshops_trustbadge' => [$this'block_trustedshops_trustbadge'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context)
  35.     {
  36.         // line 2
  37.         return "@NetiNextEasyCouponDesigns/storefront/base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = [])
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FuerstenbergPorzellan/storefront/base.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@FuerstenbergPorzellan/storefront/base.html.twig"));
  46.         $this->parent $this->loadTemplate("@NetiNextEasyCouponDesigns/storefront/base.html.twig""@FuerstenbergPorzellan/storefront/base.html.twig"2);
  47.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 4
  54.     public function block_base_header($context, array $blocks = [])
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header"));
  61.         // line 5
  62.         echo "    <div id=\"head-section\">
  63.         ";
  64.         // line 6
  65.         $this->displayParentBlock("base_header"$context$blocks);
  66.         echo "
  67.     </div>
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     // line 11
  75.     public function block_base_header_inner($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_header_inner"));
  82.         // line 12
  83.         echo "    ";
  84.         $this->displayParentBlock("base_header_inner"$context$blocks);
  85.         echo "
  86.      <div class=\"nav-main d-xl-none\">
  87.         ";
  88.         // line 14
  89.         $this->displayBlock('base_navigation_inner'$context$blocks);
  90.         // line 17
  91.         echo "    </div>
  92.     <div class=\"search-content\">
  93.         <div class=\"container\">
  94.             ";
  95.         // line 20
  96.         $this->loadTemplate("@IntediaDoofinderSW6/storefront/layout/header/search.html.twig""@FuerstenbergPorzellan/storefront/base.html.twig"20)->display($context);
  97.         // line 21
  98.         echo "        </div>
  99.     </div>
  100. ";
  101.         
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.     }
  106.     // line 14
  107.     public function block_base_navigation_inner($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation_inner"));
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation_inner"));
  114.         // line 15
  115.         echo "            ";
  116.         $this->loadTemplate("@LdsMegaMenu/storefront/layout/navigation/navigation.html.twig""@FuerstenbergPorzellan/storefront/base.html.twig"15)->display($context);
  117.         // line 16
  118.         echo "        ";
  119.         
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121.         
  122.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  123.     }
  124.     // line 27
  125.     public function block_base_navigation($context, array $blocks = [])
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_navigation"));
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.         
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  136.     }
  137.     // line 30
  138.     public function block_base_main($context, array $blocks = [])
  139.     {
  140.         $macros $this->macros;
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  142.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main"));
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  144.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_main"));
  145.         // line 31
  146.         echo "    ";
  147.         $this->displayParentBlock("base_main"$context$blocks);
  148.         echo "
  149.     ";
  150.         // line 32
  151.         if (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"falsefalsefalse32), "navigation", [], "any"falsefalsefalse32), "active", [], "any"falsefalsefalse32), "customFields", [], "any"falsefalsefalse32), "custom_category_json", [], "any"falsefalsefalse32)) {
  152.             // line 33
  153.             echo "        <script type=\"application/ld+json\">
  154.             ";
  155.             // line 34
  156.             echo 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"falsefalsefalse34), "navigation", [], "any"falsefalsefalse34), "active", [], "any"falsefalsefalse34), "customFields", [], "any"falsefalsefalse34), "custom_category_json", [], "any"falsefalsefalse34);
  157.             echo "
  158.         </script>
  159.     ";
  160.         }
  161.         
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  163.         
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  165.     }
  166.     // line 40
  167.     public function block_base_body_script($context, array $blocks = [])
  168.     {
  169.         $macros $this->macros;
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  174.         // line 41
  175.         echo "    ";
  176.         $this->displayParentBlock("base_body_script"$context$blocks);
  177.         echo "
  178.     ";
  179.         // line 42
  180.         $this->displayBlock('trustedshops_trustbadge'$context$blocks);
  181.         
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  183.         
  184.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  185.     }
  186.     public function block_trustedshops_trustbadge($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""trustedshops_trustbadge"));
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""trustedshops_trustbadge"));
  193.         echo 
  194.         <script type=\"text/javascript\">
  195.             var _ts_language = document.documentElement.lang;
  196.             var _tsid = \"empty\";
  197.             switch (_ts_language) {
  198.                 case \"de-DE\":
  199.                 _tsid = \"XAD5194D3A5989A3A9596705364263BBC\";
  200.                 break;
  201.                 case \"en-GB\":
  202.                 _tsid = \"XFCDFDC2A5154E4D26F15C1136ACABC53\";
  203.                 break;
  204.             
  205.             }
  206.             if (_tsid != \"empty\") {
  207.                 (function () {
  208.                 var _ts = document.createElement(\"script\");
  209.                 _ts.setAttribute(\"data-desktop-y-offset\", \"24\");
  210.                 _ts.setAttribute(\"data-mobile-y-offset\", \"20\");
  211.                 _ts.setAttribute(\"data-desktop-disable-reviews\", \"false\");
  212.                 _ts.setAttribute(\"data-desktop-enable-custom\", \"false\");
  213.                 _ts.setAttribute(\"data-desktop-position\", \"right\");
  214.                 _ts.setAttribute(\"data-desktop-custom-opening-direction\", \"topright\");
  215.                 _ts.setAttribute(\"data-desktop-custom-width\", \"150\");
  216.                 _ts.setAttribute(\"data-desktop-enable-fadeout\", \"false\");
  217.                 _ts.setAttribute(\"data-disable-mobile\", \"false\");
  218.                 _ts.setAttribute(\"data-disable-trustbadge\", \"false\");
  219.                 _ts.setAttribute(\"data-mobile-custom-width\", \"150\");
  220.                 _ts.setAttribute(\"data-mobile-custom-opening-direction\", \"topright\");
  221.                 _ts.setAttribute(\"data-mobile-disable-reviews\", \"false\");
  222.                 _ts.setAttribute(\"data-mobile-enable-custom\", \"false\");
  223.                 _ts.setAttribute(\"data-mobile-position\", \"left\");
  224.                 _ts.setAttribute(\"data-mobile-enable-topbar\", \"false\");
  225.                 _ts.type = \"text/javascript\";
  226.                 _ts.charset = \"utf-8\";
  227.                 _ts.async = true;
  228.                 _ts.src = \"//widgets.trustedshops.com/js/\" + _tsid + \".js\";
  229.                 var __ts = document.getElementsByTagName(\"script\")[0];
  230.                 __ts.parentNode.insertBefore(_ts, __ts);
  231.                 })();
  232.             } else {
  233.                 console.log(
  234.                 \"Trusted Shops: Trustbadge is not configured for this shop's market/language.\"
  235.                 );
  236.             }
  237.         </script>
  238.     ";
  239.         
  240.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.     }
  244.     public function getTemplateName()
  245.     {
  246.         return "@FuerstenbergPorzellan/storefront/base.html.twig";
  247.     }
  248.     public function isTraitable()
  249.     {
  250.         return false;
  251.     }
  252.     public function getDebugInfo()
  253.     {
  254.         return array (  217 => 42,  212 => 41,  202 => 40,  188 => 34,  185 => 33,  183 => 32,  178 => 31,  168 => 30,  150 => 27,  140 => 16,  137 => 15,  127 => 14,  115 => 21,  113 => 20,  108 => 17,  106 => 14,  100 => 12,  90 => 11,  77 => 6,  74 => 5,  64 => 4,  41 => 2,);
  255.     }
  256.     public function getSourceContext()
  257.     {
  258.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  259. {% block base_header %}
  260.     <div id=\"head-section\">
  261.         {{parent()}}
  262.     </div>
  263. {% endblock %}
  264. {% block base_header_inner %}
  265.     {{parent()}}
  266.      <div class=\"nav-main d-xl-none\">
  267.         {% block base_navigation_inner %}
  268.             {% sw_include '@Storefront/storefront/layout/navigation/navigation.html.twig' %}
  269.         {% endblock %}
  270.     </div>
  271.     <div class=\"search-content\">
  272.         <div class=\"container\">
  273.             {% sw_include '@Storefront/storefront/layout/header/search.html.twig' %}
  274.         </div>
  275.     </div>
  276. {% endblock %}
  277. {% block base_navigation %}{% endblock %}
  278. {% block base_main %}
  279.     {{parent()}}
  280.     {% if page.header.navigation.active.customFields.custom_category_json %}
  281.         <script type=\"application/ld+json\">
  282.             {{page.header.navigation.active.customFields.custom_category_json|raw}}
  283.         </script>
  284.     {% endif %}
  285. {% endblock %}
  286. {% block base_body_script %}
  287.     {{parent()}}
  288.     {% block trustedshops_trustbadge %} 
  289.         <script type=\"text/javascript\">
  290.             var _ts_language = document.documentElement.lang;
  291.             var _tsid = \"empty\";
  292.             switch (_ts_language) {
  293.                 case \"de-DE\":
  294.                 _tsid = \"XAD5194D3A5989A3A9596705364263BBC\";
  295.                 break;
  296.                 case \"en-GB\":
  297.                 _tsid = \"XFCDFDC2A5154E4D26F15C1136ACABC53\";
  298.                 break;
  299.             
  300.             }
  301.             if (_tsid != \"empty\") {
  302.                 (function () {
  303.                 var _ts = document.createElement(\"script\");
  304.                 _ts.setAttribute(\"data-desktop-y-offset\", \"24\");
  305.                 _ts.setAttribute(\"data-mobile-y-offset\", \"20\");
  306.                 _ts.setAttribute(\"data-desktop-disable-reviews\", \"false\");
  307.                 _ts.setAttribute(\"data-desktop-enable-custom\", \"false\");
  308.                 _ts.setAttribute(\"data-desktop-position\", \"right\");
  309.                 _ts.setAttribute(\"data-desktop-custom-opening-direction\", \"topright\");
  310.                 _ts.setAttribute(\"data-desktop-custom-width\", \"150\");
  311.                 _ts.setAttribute(\"data-desktop-enable-fadeout\", \"false\");
  312.                 _ts.setAttribute(\"data-disable-mobile\", \"false\");
  313.                 _ts.setAttribute(\"data-disable-trustbadge\", \"false\");
  314.                 _ts.setAttribute(\"data-mobile-custom-width\", \"150\");
  315.                 _ts.setAttribute(\"data-mobile-custom-opening-direction\", \"topright\");
  316.                 _ts.setAttribute(\"data-mobile-disable-reviews\", \"false\");
  317.                 _ts.setAttribute(\"data-mobile-enable-custom\", \"false\");
  318.                 _ts.setAttribute(\"data-mobile-position\", \"left\");
  319.                 _ts.setAttribute(\"data-mobile-enable-topbar\", \"false\");
  320.                 _ts.type = \"text/javascript\";
  321.                 _ts.charset = \"utf-8\";
  322.                 _ts.async = true;
  323.                 _ts.src = \"//widgets.trustedshops.com/js/\" + _tsid + \".js\";
  324.                 var __ts = document.getElementsByTagName(\"script\")[0];
  325.                 __ts.parentNode.insertBefore(_ts, __ts);
  326.                 })();
  327.             } else {
  328.                 console.log(
  329.                 \"Trusted Shops: Trustbadge is not configured for this shop's market/language.\"
  330.                 );
  331.             }
  332.         </script>
  333.     {% endblock %}
  334. {% endblock %}""@FuerstenbergPorzellan/storefront/base.html.twig""/var/customers/webs/fporzellan/htdocs/custom/plugins/FuerstenbergPorzellan/src/Resources/views/storefront/base.html.twig");
  335.     }
  336. }