var/cache/dev/twig/a5/a590677886f57a94be728b7e8ad2d5bd.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/Wishlist/wishlist.html.twig */
  14. class __TwigTemplate_da9d1eefbc76b133f1c2187046a7cd1a 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/Wishlist/wishlist.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/Wishlist/wishlist.html.twig"));
  41.         $this->parent $this->loadTemplate("@CoreShopFrontend/layout.html.twig""@CoreShopFrontend/Wishlist/wishlist.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 "    <div class=\"container\">
  58.         <div class=\"profile-title-row\">
  59.             <h1>KEDVENCEK</h1>
  60.         </div>
  61.     </div>
  62.     <div class=\"container product-container\">
  63.         <div class=\"row alert-row\" id=\"wishlist-flash-message\">
  64.             <div class=\"col-12 alert alert-secondary \" role=\"alert\"></div>
  65.         </div>
  66.         <div id=\"wishlist-container\">
  67.             ";
  68.         // line 14
  69.         echo $this->sandbox->ensureToStringAllowed((isset($context["wishlist"]) || array_key_exists("wishlist"$context) ? $context["wishlist"] : (function () { throw new RuntimeError('Variable "wishlist" does not exist.'14$this->source); })()), 14$this->source);
  70.         echo "
  71.         </div>
  72.     </div>
  73. ";
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.     }
  79.     // line 19
  80.     public function block_scripts($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""scripts"));
  87.         // line 20
  88.         echo "    ";
  89.         $this->displayParentBlock("scripts"$context$blocks);
  90.         echo "
  91.     ";
  92.         // line 21
  93.         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);
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.     }
  99.     public function getTemplateName()
  100.     {
  101.         return "@CoreShopFrontend/Wishlist/wishlist.html.twig";
  102.     }
  103.     public function isTraitable()
  104.     {
  105.         return false;
  106.     }
  107.     public function getDebugInfo()
  108.     {
  109.         return array (  112 => 21,  107 => 20,  97 => 19,  83 => 14,  71 => 4,  61 => 3,  38 => 1,);
  110.     }
  111.     public function getSourceContext()
  112.     {
  113.         return new Source("{% extends '@CoreShopFrontend/layout.html.twig' %}
  114. {% block content %}
  115.     <div class=\"container\">
  116.         <div class=\"profile-title-row\">
  117.             <h1>KEDVENCEK</h1>
  118.         </div>
  119.     </div>
  120.     <div class=\"container product-container\">
  121.         <div class=\"row alert-row\" id=\"wishlist-flash-message\">
  122.             <div class=\"col-12 alert alert-secondary \" role=\"alert\"></div>
  123.         </div>
  124.         <div id=\"wishlist-container\">
  125.             {{ wishlist|raw }}
  126.         </div>
  127.     </div>
  128. {% endblock %}
  129. {% block scripts %}
  130.     {{ parent() }}
  131.     {% do pimcore_head_script().appendFile(asset('/js/wishlist_manager.js')) %}
  132. {% endblock %}""@CoreShopFrontend/Wishlist/wishlist.html.twig""/home/zoltan/public_html/boutique-v2/templates/seikoboutique/templates/bundles/CoreShopFrontendBundle/Wishlist/wishlist.html.twig");
  133.     }
  134.     
  135.     public function checkSecurity()
  136.     {
  137.         static $tags = array("do" => 21);
  138.         static $filters = array("raw" => 14);
  139.         static $functions = array("pimcore_head_script" => 21"asset" => 21);
  140.         try {
  141.             $this->sandbox->checkSecurity(
  142.                 ['do'],
  143.                 ['raw'],
  144.                 ['pimcore_head_script''asset']
  145.             );
  146.         } catch (SecurityError $e) {
  147.             $e->setSourceContext($this->source);
  148.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  149.                 $e->setTemplateLine($tags[$e->getTagName()]);
  150.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  151.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  152.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  153.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  154.             }
  155.             throw $e;
  156.         }
  157.     }
  158. }