var/cache/dev/twig/16/16a8e57935493a5d931e47b29b612ec1.php line 78

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. /* default/boutique.html.twig */
  14. class __TwigTemplate_35fcd6081aeff6156c4459387e73e80a 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.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@CoreShopFrontend/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/boutique.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/boutique.html.twig"));
  40.         $this->parent $this->loadTemplate("@CoreShopFrontend/layout.html.twig""default/boutique.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         echo "    ";
  57.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'4$this->source); })())) {
  58.             // line 5
  59.             echo "        <div style=\"height: 100px;\">a</div>
  60.     ";
  61.         }
  62.         // line 7
  63.         echo "    ";
  64.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""boutiqueblock", ["reload" => true"params" => ["info-row" => ["fix" => true]]]);
  65.         // line 14
  66.         echo "
  67. ";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     public function getTemplateName()
  74.     {
  75.         return "default/boutique.html.twig";
  76.     }
  77.     public function isTraitable()
  78.     {
  79.         return false;
  80.     }
  81.     public function getDebugInfo()
  82.     {
  83.         return array (  80 => 14,  77 => 7,  73 => 5,  70 => 4,  60 => 3,  37 => 1,);
  84.     }
  85.     public function getSourceContext()
  86.     {
  87.         return new Source("{% extends '@CoreShopFrontend/layout.html.twig' %}
  88. {% block content %}
  89.     {% if editmode %}
  90.         <div style=\"height: 100px;\">a</div>
  91.     {% endif %}
  92.     {{ pimcore_areablock('boutiqueblock', {
  93.         'reload': true,
  94.         'params': {
  95.             'info-row': {
  96.                 'fix': true
  97.             },
  98.         }
  99.     }) }}
  100. {% endblock %}""default/boutique.html.twig""/home/zoltan/public_html/boutique-v2/templates/default/boutique.html.twig");
  101.     }
  102.     
  103.     public function checkSecurity()
  104.     {
  105.         static $tags = array("if" => 4);
  106.         static $filters = array();
  107.         static $functions = array("pimcore_areablock" => 7);
  108.         try {
  109.             $this->sandbox->checkSecurity(
  110.                 ['if'],
  111.                 [],
  112.                 ['pimcore_areablock']
  113.             );
  114.         } catch (SecurityError $e) {
  115.             $e->setSourceContext($this->source);
  116.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  117.                 $e->setTemplateLine($tags[$e->getTagName()]);
  118.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  119.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  120.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  121.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  122.             }
  123.             throw $e;
  124.         }
  125.     }
  126. }