var/cache/dev_ha6cdf01c8a14124e315e8ec5e6f48dc2/twig/c2/c2dd58f538c459dbcd5cc6e4d34f907a96b4fcc997078a7862557acf85aaf593.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. /* @WeedesignImages2WebP/storefront/base.html.twig */
  16. class __TwigTemplate_6f27dcf6ddb1f518c8f56bf64dc322b444f45ac7d54a9218e115eb9dbe7f80a9 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_body_script' => [$this'block_base_body_script'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 2
  31.         return "@WbmTagManagerEcomm/storefront/base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WeedesignImages2WebP/storefront/base.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WeedesignImages2WebP/storefront/base.html.twig"));
  40.         $this->parent $this->loadTemplate("@WbmTagManagerEcomm/storefront/base.html.twig""@WeedesignImages2WebP/storefront/base.html.twig"2);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_base_body_script($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_body_script"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("base_body_script"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 6
  61.         if ($this->extensions['Shopware\Storefront\Framework\Twig\Extension\ConfigExtension']->config($context"WeedesignImages2WebP.config.backlink")) {
  62.             // line 7
  63.             echo "        
  64.         ";
  65.             // line 8
  66.             $context["WeedesignImages2WebPBacklinksTitle"] = [=> "WeedesignImages2WebP.backlink.title.1"=> "WeedesignImages2WebP.backlink.title.2"=> "WeedesignImages2WebP.backlink.title.3"=> "WeedesignImages2WebP.backlink.title.4"];
  67.             // line 14
  68.             echo "        ";
  69.             $context["WeedesignImages2WebPBacklinksDescription"] = [=> "WeedesignImages2WebP.backlink.title.1"=> "WeedesignImages2WebP.backlink.title.2"=> "WeedesignImages2WebP.backlink.title.3"=> "WeedesignImages2WebP.backlink.title.4"];
  70.             // line 20
  71.             echo "        <details class=\"weedesign-images2webp-plugin\">
  72.             <summary>";
  73.             // line 21
  74.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_random($this->env, ($context["WeedesignImages2WebPBacklinksTitle"] ?? null))), "html"nulltrue);
  75.             echo "</summary>
  76.             <a href=\"";
  77.             // line 22
  78.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("WeedesignImages2WebP.backlink.src"), "html"nulltrue);
  79.             echo "\">";
  80.             echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_random($this->env, ($context["WeedesignImages2WebPBacklinksDescription"] ?? null))), "html"nulltrue);
  81.             echo "</a>
  82.         </details>
  83.     ";
  84.         }
  85.         // line 26
  86.         echo "
  87. ";
  88.         
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  90.         
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  92.     }
  93.     public function getTemplateName()
  94.     {
  95.         return "@WeedesignImages2WebP/storefront/base.html.twig";
  96.     }
  97.     public function isTraitable()
  98.     {
  99.         return false;
  100.     }
  101.     public function getDebugInfo()
  102.     {
  103.         return array (  100 => 26,  91 => 22,  87 => 21,  84 => 20,  81 => 14,  79 => 8,  76 => 7,  74 => 6,  68 => 4,  58 => 3,  35 => 2,);
  104.     }
  105.     public function getSourceContext()
  106.     {
  107.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  108. {% block base_body_script %}
  109.     {{ parent() }}
  110.     {% if config('WeedesignImages2WebP.config.backlink') %}
  111.         
  112.         {% set WeedesignImages2WebPBacklinksTitle = [
  113.             \"WeedesignImages2WebP.backlink.title.1\",
  114.             \"WeedesignImages2WebP.backlink.title.2\",
  115.             \"WeedesignImages2WebP.backlink.title.3\",
  116.             \"WeedesignImages2WebP.backlink.title.4\"
  117.         ] %}
  118.         {% set WeedesignImages2WebPBacklinksDescription = [
  119.             \"WeedesignImages2WebP.backlink.title.1\",
  120.             \"WeedesignImages2WebP.backlink.title.2\",
  121.             \"WeedesignImages2WebP.backlink.title.3\",
  122.             \"WeedesignImages2WebP.backlink.title.4\"
  123.         ] %}
  124.         <details class=\"weedesign-images2webp-plugin\">
  125.             <summary>{{ random(WeedesignImages2WebPBacklinksTitle)|trans }}</summary>
  126.             <a href=\"{{ 'WeedesignImages2WebP.backlink.src'|trans }}\">{{ random(WeedesignImages2WebPBacklinksDescription)|trans }}</a>
  127.         </details>
  128.     {% endif %}
  129. {% endblock %}""@WeedesignImages2WebP/storefront/base.html.twig""/var/customers/webs/youksakka/htdocs/custom/plugins/WeedesignImages2WebP/src/Resources/views/storefront/base.html.twig");
  130.     }
  131. }