var/cache/dev/twig/38/38b1d116216bc94f3f8254f492af4f3b.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. /* @CoreShopFrontend/Category/index.html.twig */
  14. class __TwigTemplate_aa7b8eef598cc20b954b98c31c2a3a40 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.             'content' => [$this'block_content'],
  24.             'scripts' => [$this'block_scripts'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@CoreShopFrontend/layout.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""@CoreShopFrontend/Category/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""@CoreShopFrontend/Category/index.html.twig"));
  41.         $this->parent $this->loadTemplate("@CoreShopFrontend/layout.html.twig""@CoreShopFrontend/Category/index.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_content($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         // line 4
  57.         echo "    ";
  58.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/coreshopfrontend/static/js/handle-prototypes.js")], "method"falsefalsetrue4);
  59.         // line 5
  60.         echo "    ";
  61.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/coreshopfrontend/static/js/plugin/coreshop.plugin.quantity.js")], "method"falsefalsetrue5);
  62.         // line 6
  63.         echo "    ";
  64.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/coreshopfrontend/static/js/plugin/coreshop.plugin.variant.js")], "method"falsefalsetrue6);
  65.         // line 7
  66.         echo "    ";
  67.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/shop.js")], "method"falsefalsetrue7);
  68.         // line 8
  69.         echo "    ";
  70.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/coreshopfrontend/static/js/variant.js")], "method"falsefalsetrue8);
  71.         // line 9
  72.         echo "    ";
  73.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/css/chosen.css")], "method"falsefalsetrue9);
  74.         // line 10
  75.         echo "
  76.     <div id=\"filter_and_list\">
  77.         ";
  78.         // line 12
  79.         echo twig_include($this->env$context"@CoreShopFrontend/Category/_filter_and_list.html.twig");
  80.         echo "
  81.     </div>
  82. ";
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     // line 16
  89.     public function block_scripts($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  96.         // line 17
  97.         echo "    ";
  98.         $this->displayParentBlock("scripts"$context$blocks);
  99.         echo "
  100.     ";
  101.         // line 19
  102.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://cdnjs.cloudflare.com/ajax/libs/chosen/1.5.1/chosen.jquery.min.js"], "method"falsefalsetrue19);
  103.         // line 20
  104.         echo "    ";
  105.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/js/watches_filter.js?t=2501142041")], "method"falsefalsetrue20);
  106.         // line 21
  107.         echo "    ";
  108.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/js/wishlist_manager.js")], "method"falsefalsetrue21);
  109.         // line 22
  110.         echo "
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.     }
  117.     public function getTemplateName()
  118.     {
  119.         return "@CoreShopFrontend/Category/index.html.twig";
  120.     }
  121.     public function isTraitable()
  122.     {
  123.         return false;
  124.     }
  125.     public function getDebugInfo()
  126.     {
  127.         return array (  130 => 22,  127 => 21,  124 => 20,  122 => 19,  116 => 17,  106 => 16,  93 => 12,  89 => 10,  86 => 9,  83 => 8,  80 => 7,  77 => 6,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  128.     }
  129.     public function getSourceContext()
  130.     {
  131.         return new Source("{% extends '@CoreShopFrontend/layout.html.twig' %}
  132. {% block content %}
  133.     {% do pimcore_head_script().appendFile(asset('bundles/coreshopfrontend/static/js/handle-prototypes.js')) %}
  134.     {% do pimcore_head_script().appendFile(asset('bundles/coreshopfrontend/static/js/plugin/coreshop.plugin.quantity.js')) %}
  135.     {% do pimcore_head_script().appendFile(asset('bundles/coreshopfrontend/static/js/plugin/coreshop.plugin.variant.js')) %}
  136.     {% do pimcore_head_script().appendFile(asset('js/shop.js')) %}
  137.     {% do pimcore_head_script().appendFile(asset('bundles/coreshopfrontend/static/js/variant.js')) %}
  138.     {% do pimcore_head_link().appendStylesheet(asset('themes/frontend/css/chosen.css')) %}
  139.     <div id=\"filter_and_list\">
  140.         {{ include('@CoreShopFrontend/Category/_filter_and_list.html.twig') }}
  141.     </div>
  142. {% endblock %}
  143. {% block scripts %}
  144.     {{ parent() }}
  145.     {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/chosen/1.5.1/chosen.jquery.min.js') %}
  146.     {% do pimcore_head_script().appendFile(asset('/js/watches_filter.js?t=2501142041')) %}
  147.     {% do pimcore_head_script().appendFile(asset('/js/wishlist_manager.js')) %}
  148. {#    <script type=\"text/javascript\">#}
  149. {#        \$(\".livesearch\").chosen({placeholder_text: ' ', no_results_text: 'Nincs találat erre:'});#}
  150. {#    </script>#}
  151. {% endblock %}""@CoreShopFrontend/Category/index.html.twig""/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/Category/index.html.twig");
  152.     }
  153.     
  154.     public function checkSecurity()
  155.     {
  156.         static $tags = array("do" => 4);
  157.         static $filters = array();
  158.         static $functions = array("pimcore_head_script" => 4"asset" => 4"pimcore_head_link" => 9"include" => 12);
  159.         try {
  160.             $this->sandbox->checkSecurity(
  161.                 ['do'],
  162.                 [],
  163.                 ['pimcore_head_script''asset''pimcore_head_link''include']
  164.             );
  165.         } catch (SecurityError $e) {
  166.             $e->setSourceContext($this->source);
  167.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  168.                 $e->setTemplateLine($tags[$e->getTagName()]);
  169.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  170.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  171.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  172.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  173.             }
  174.             throw $e;
  175.         }
  176.     }
  177. }