var/cache/dev/twig/e6/e6f12dfb686f5483bea900d1a7192d63.php line 76

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/snippet/partnerprogrampartnerlist.html.twig */
  14. class __TwigTemplate_829b42a1b84fcffc9a19d928193f8e7b 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->parent false;
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/snippet/partnerprogrampartnerlist.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/snippet/partnerprogrampartnerlist.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('content'$context$blocks);
  38.         
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  40.         
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  42.     }
  43.     public function block_content($context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  50.         // line 2
  51.         echo "    ";
  52.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'2$this->source); })())) {
  53.             // line 3
  54.             echo "        <h1>Partnerprogram elemek</h1>
  55.     ";
  56.         }
  57.         // line 5
  58.         echo "    ";
  59.         twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'5$this->source); })()), "request", [], "any"falsefalsetrue5), "attributes", [], "any"falsefalsetrue5), "set", ["boutiqueHost", (isset($context["boutiqueHost"]) || array_key_exists("boutiqueHost"$context) ? $context["boutiqueHost"] : (function () { throw new RuntimeError('Variable "boutiqueHost" does not exist.'5$this->source); })())], "method"falsefalsetrue5);
  60.         // line 6
  61.         echo "    ";
  62.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""snipet-areablock", ["allowed" => ["watch-landing"]]);
  63.         // line 8
  64.         echo "
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     public function getTemplateName()
  72.     {
  73.         return "default/snippet/partnerprogrampartnerlist.html.twig";
  74.     }
  75.     public function getDebugInfo()
  76.     {
  77.         return array (  78 => 8,  75 => 6,  72 => 5,  68 => 3,  65 => 2,  46 => 1,);
  78.     }
  79.     public function getSourceContext()
  80.     {
  81.         return new Source("{% block content %}
  82.     {% if editmode %}
  83.         <h1>Partnerprogram elemek</h1>
  84.     {% endif %}
  85.     {% do app.request.attributes.set('boutiqueHost', boutiqueHost) %}
  86.     {{ pimcore_areablock('snipet-areablock', {
  87.         'allowed': [ 'watch-landing' ]
  88.     }) }}
  89. {% endblock %}""default/snippet/partnerprogrampartnerlist.html.twig""/home/zoltan/public_html/boutique-v2/templates/default/snippet/partnerprogrampartnerlist.html.twig");
  90.     }
  91.     
  92.     public function checkSecurity()
  93.     {
  94.         static $tags = array("block" => 1"if" => 2"do" => 5);
  95.         static $filters = array();
  96.         static $functions = array("pimcore_areablock" => 6);
  97.         try {
  98.             $this->sandbox->checkSecurity(
  99.                 ['block''if''do'],
  100.                 [],
  101.                 ['pimcore_areablock']
  102.             );
  103.         } catch (SecurityError $e) {
  104.             $e->setSourceContext($this->source);
  105.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  106.                 $e->setTemplateLine($tags[$e->getTagName()]);
  107.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  108.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  109.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  110.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  111.             }
  112.             throw $e;
  113.         }
  114.     }
  115. }