var/cache/dev_h964aaf7676cbd186c58c2ecce1205bb0/twig/3c/3c65adc89b8c545f6c15804c9b0686c65315c02287bdf717eba1f2039921995b.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. /* @Storefront/storefront/page/search/index.html.twig */
  16. class __TwigTemplate_0364ed3dc6a66f4290e57e4f02a3ca92 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_content' => [$this'block_base_content'],
  26.             'page_search' => [$this'block_page_search'],
  27.             'page_search_headline' => [$this'block_page_search_headline'],
  28.             'page_search_headline_text' => [$this'block_page_search_headline_text'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 2
  34.         return "@SMTheme/storefront/base.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/search/index.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/search/index.html.twig"));
  43.         $this->parent $this->loadTemplate("@SMTheme/storefront/base.html.twig""@Storefront/storefront/page/search/index.html.twig"2);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     public function block_base_content($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  58.         // line 4
  59.         echo "    ";
  60.         $this->displayBlock('page_search'$context$blocks);
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.     }
  66.     public function block_page_search($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search"));
  73.         // line 5
  74.         echo "        <div class=\"cms-page search-page\">
  75.             ";
  76.         // line 6
  77.         $this->displayBlock('page_search_headline'$context$blocks);
  78.         // line 16
  79.         echo "
  80.             ";
  81.         // line 17
  82.         $this->loadTemplate("@MoorlFoundation/storefront/page/search/search-pagelet.html.twig""@Storefront/storefront/page/search/index.html.twig"17)->display(twig_array_merge($context, ["page" => ($context["page"] ?? null)]));
  83.         // line 18
  84.         echo "        </div>
  85.     ";
  86.         
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  88.         
  89.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  90.     }
  91.     // line 6
  92.     public function block_page_search_headline($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline"));
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline"));
  99.         // line 7
  100.         echo "                <h1 class=\"search-headline\">
  101.                     ";
  102.         // line 8
  103.         $this->displayBlock('page_search_headline_text'$context$blocks);
  104.         // line 14
  105.         echo "                </h1>
  106.             ";
  107.         
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  109.         
  110.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  111.     }
  112.     // line 8
  113.     public function block_page_search_headline_text($context, array $blocks = [])
  114.     {
  115.         $macros $this->macros;
  116.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline_text"));
  118.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline_text"));
  120.         // line 9
  121.         echo "                        ";
  122.         echo sw_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search.headline", ["%count%" => sw_get_attribute($this->env$this->sourcesw_get_attribute($this->env$this->source,         // line 10
  123. ($context["page"] ?? null), "listing", [], "any"falsefalsefalse10), "total", [], "any"falsefalsefalse10), "%searchTerm%" => sw_get_attribute($this->env$this->source,         // line 11
  124. ($context["page"] ?? null), "searchTerm", [], "any"falsefalsefalse11)]), "html"nulltrue);
  125.         // line 12
  126.         echo "
  127.                     ";
  128.         
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.     }
  133.     public function getTemplateName()
  134.     {
  135.         return "@Storefront/storefront/page/search/index.html.twig";
  136.     }
  137.     public function isTraitable()
  138.     {
  139.         return false;
  140.     }
  141.     public function getDebugInfo()
  142.     {
  143.         return array (  153 => 12,  151 => 11,  150 => 10,  148 => 9,  138 => 8,  127 => 14,  125 => 8,  122 => 7,  112 => 6,  101 => 18,  99 => 17,  96 => 16,  94 => 6,  91 => 5,  71 => 4,  61 => 3,  38 => 2,);
  144.     }
  145.     public function getSourceContext()
  146.     {
  147.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  148. {% block base_content %}
  149.     {% block page_search %}
  150.         <div class=\"cms-page search-page\">
  151.             {% block page_search_headline %}
  152.                 <h1 class=\"search-headline\">
  153.                     {% block page_search_headline_text %}
  154.                         {{ \"search.headline\"|trans({
  155.                             '%count%': page.listing.total,
  156.                             '%searchTerm%': page.searchTerm,
  157.                         }) }}
  158.                     {% endblock %}
  159.                 </h1>
  160.             {% endblock %}
  161.             {% sw_include '@Storefront/storefront/page/search/search-pagelet.html.twig' with { page: page } %}
  162.         </div>
  163.     {% endblock %}
  164. {% endblock %}
  165. ""@Storefront/storefront/page/search/index.html.twig""/var/www/vhosts/shop.bluebrix.de/httpdocs/vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig");
  166.     }
  167. }