var/cache/dev_hf4f0570ec4d597d79f3d835eecec3194/twig/23/238dee009a659de92cd65d6047f332ebdf32d43611ae006f5376fc0049553271.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Storefront/storefront/page/search/index.html.twig */
  14. class __TwigTemplate_1cf75287a1d1d4077faa4a582473691d extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'base_content' => [$this'block_base_content'],
  24.             'page_search' => [$this'block_page_search'],
  25.             'page_search_headline' => [$this'block_page_search_headline'],
  26.             'page_search_headline_text' => [$this'block_page_search_headline_text'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 2
  32.         return "@HBCTheme/storefront/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/search/index.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Storefront/storefront/page/search/index.html.twig"));
  41.         // line 0
  42.         echo "<!-- INCLUDE BEGIN @Storefront/storefront/page/search/index.html.twig (vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig) -->";
  43.         echo "<!-- INCLUDE END @Storefront/storefront/page/search/index.html.twig -->";
  44.         // line 2
  45.         $this->parent $this->loadTemplate("@HBCTheme/storefront/base.html.twig""@Storefront/storefront/page/search/index.html.twig"2);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_base_content($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  58.         // line 0
  59.         echo "<!-- BLOCK BEGIN base_content (vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig) -->";
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""base_content"));
  62.         // line 4
  63.         echo "    ";
  64.         $this->displayBlock('page_search'$context$blocks);
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         // line 0
  68.         echo "<!-- BLOCK END base_content -->";
  69.         
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71.     }
  72.     // line 4
  73.     public function block_page_search($context, array $blocks = [])
  74.     {
  75.         $macros $this->macros;
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search"));
  78.         // line 0
  79.         echo "<!-- BLOCK BEGIN page_search (vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig) -->";
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search"));
  82.         // line 5
  83.         echo "        <div class=\"cms-page search-page\">
  84.             ";
  85.         // line 6
  86.         $this->displayBlock('page_search_headline'$context$blocks);
  87.         // line 16
  88.         echo "
  89.             ";
  90.         // line 17
  91.         $this->loadTemplate("@Storefront/storefront/page/search/search-pagelet.html.twig""@Storefront/storefront/page/search/index.html.twig"17)->display(twig_array_merge($context, ["page" => ($context["page"] ?? null)]));
  92.         // line 18
  93.         echo "        </div>
  94.     ";
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.         // line 0
  98.         echo "<!-- BLOCK END page_search -->";
  99.         
  100.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  101.     }
  102.     // line 6
  103.     public function block_page_search_headline($context, array $blocks = [])
  104.     {
  105.         $macros $this->macros;
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline"));
  108.         // line 0
  109.         echo "<!-- BLOCK BEGIN page_search_headline (vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig) -->";
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  111.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline"));
  112.         // line 7
  113.         echo "                <h1 class=\"search-headline\">
  114.                     ";
  115.         // line 8
  116.         $this->displayBlock('page_search_headline_text'$context$blocks);
  117.         // line 14
  118.         echo "                </h1>
  119.             ";
  120.         
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  122.         // line 0
  123.         echo "<!-- BLOCK END page_search_headline -->";
  124.         
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  126.     }
  127.     // line 8
  128.     public function block_page_search_headline_text($context, array $blocks = [])
  129.     {
  130.         $macros $this->macros;
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline_text"));
  133.         // line 0
  134.         echo "<!-- BLOCK BEGIN page_search_headline_text (vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig) -->";
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_search_headline_text"));
  137.         // line 9
  138.         echo "                        ";
  139.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search.headline", ["%count%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 10
  140. ($context["page"] ?? null), "listing", [], "any"falsefalsefalse10), "total", [], "any"falsefalsefalse10), "%searchTerm%" => twig_get_attribute($this->env$this->source,         // line 11
  141. ($context["page"] ?? null), "searchTerm", [], "any"falsefalsefalse11)]), "html"nulltrue);
  142.         // line 12
  143.         echo "
  144.                     ";
  145.         
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  147.         // line 0
  148.         echo "<!-- BLOCK END page_search_headline_text -->";
  149.         
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  151.     }
  152.     public function getTemplateName()
  153.     {
  154.         return "@Storefront/storefront/page/search/index.html.twig";
  155.     }
  156.     public function isTraitable()
  157.     {
  158.         return false;
  159.     }
  160.     public function getDebugInfo()
  161.     {
  162.         return array (  178 => 0,  172 => 12,  170 => 11,  169 => 10,  167 => 9,  162 => 0,  155 => 8,  148 => 0,  142 => 14,  140 => 8,  137 => 7,  132 => 0,  125 => 6,  118 => 0,  112 => 18,  110 => 17,  107 => 16,  105 => 6,  102 => 5,  97 => 0,  90 => 4,  83 => 0,  77 => 4,  72 => 0,  65 => 3,  54 => 2,  51 => 0,  38 => 2,);
  163.     }
  164.     public function getSourceContext()
  165.     {
  166.         return new Source("{% sw_extends '@Storefront/storefront/base.html.twig' %}
  167. {% block base_content %}
  168.     {% block page_search %}
  169.         <div class=\"cms-page search-page\">
  170.             {% block page_search_headline %}
  171.                 <h1 class=\"search-headline\">
  172.                     {% block page_search_headline_text %}
  173.                         {{ \"search.headline\"|trans({
  174.                             '%count%': page.listing.total,
  175.                             '%searchTerm%': page.searchTerm,
  176.                         }) }}
  177.                     {% endblock %}
  178.                 </h1>
  179.             {% endblock %}
  180.             {% sw_include '@Storefront/storefront/page/search/search-pagelet.html.twig' with { page: page } %}
  181.         </div>
  182.     {% endblock %}
  183. {% endblock %}
  184. ""@Storefront/storefront/page/search/index.html.twig""/home/p-a6iu1i/html/hbc-shopware-stage-qcsct/dev/vendor/shopware/storefront/Resources/views/storefront/page/search/index.html.twig");
  185.     }
  186. }