var/cache/dev/twig/d9/d9f5d12f8d0b957698deb7d7c821aeaa.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\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* document/about/events.html.twig */
  15. class __TwigTemplate_aa897055d6b5218450e4e1702b91574c extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'contentBlock' => [$this'block_contentBlock'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension(SandboxExtension::class);
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "layout/default.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  38.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/about/events.html.twig"));
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/about/events.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""document/about/events.html.twig"));
  43.         $this->parent $this->loadTemplate("layout/default.html.twig""document/about/events.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_contentBlock($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  57.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""contentBlock"));
  62.         // line 4
  63.         yield "
  64. <div class=\"staticPage\">
  65.     <div class=\"container my-5 my-lg-5 my-md-5\">
  66.         <div class=\"row\">
  67.             <div class=\"col-lg-3\">
  68.                 <h4 class=\"font-weight-bold text-uppercase\">";
  69.         // line 9
  70.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Events.pages.title"), "html"nulltrue);
  71.         yield "</h4>
  72.                 ";
  73.         // line 10
  74.         yield from         $this->loadTemplate("document/static_page/sidebar/sidebar.html.twig""document/about/events.html.twig"10)->unwrap()->yield($context);
  75.         // line 11
  76.         yield "
  77.                 <h1 class=\"d-block d-lg-none font-italic font-weight-bold mb-0 mt-6 mt-lg-0 mt-md-0 border-bottom border-indigo border-2 pb-3 pb-lg-3 pb-md-3\">
  78.                     ";
  79.         // line 13
  80.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""heading"), "getData", [], "any"falsefalsetrue13), 13$this->source), "html"nulltrue);
  81.         yield "
  82.                 </h1>
  83.                 <h4 class=\"font-weight-bold text-navyBlue mb-3 mb-lg-3 mb-md-3 mt-5 mt-lg-4 mt-md-4\">FILTER</h4>
  84.                 <form action=\"\" id=\"form-filter\" class=\"mb-5 mb-md-5 mb-lg-0\">
  85.                     <div class=\"position-relative d-flex align-items-center checkbox-container mb-1 mb-lg-1 mb-md-1\">
  86.                         ";
  87.         // line 18
  88.         $context["showPastEvents"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'18$this->source); })()), "request", [], "any"falsefalsetrue18), "get", ["show_past_events"], "method"falsefalsetrue18);
  89.         // line 19
  90.         yield "
  91.                         <input  type=\"checkbox\"
  92.                                 ";
  93.         // line 21
  94.         yield (((array_key_exists("showPastEvents"$context) && ((isset($context["showPastEvents"]) || array_key_exists("showPastEvents"$context) ? $context["showPastEvents"] : (function () { throw new RuntimeError('Variable "showPastEvents" does not exist.'21$this->source); })()) == 1))) ? ("checked") : (""));
  95.         yield "
  96.                                 name=\"show_past_events\"
  97.                                 value=\"";
  98.         // line 23
  99.         yield (((array_key_exists("showPastEvents"$context) && ((isset($context["showPastEvents"]) || array_key_exists("showPastEvents"$context) ? $context["showPastEvents"] : (function () { throw new RuntimeError('Variable "showPastEvents" does not exist.'23$this->source); })()) == 1))) ? ("0") : ("1"));
  100.         yield "\"
  101.                                 id=\"filter-past-events\"
  102.                                 onchange=\"this.form.submit()\"
  103.                         >
  104.                         <span class=\"checkmark\"></span>
  105.                         <label for=\"filter-past-events\" class=\"letter-spacing-1 font-weight-bold mb-0\">
  106.                             Show Past Events
  107.                         </label>
  108.                     </div>
  109.                 </form>
  110.             </div>
  111.             <div class=\"col-lg-8\">
  112.                 <div class=\"mb-4 mb-lg-4 mb-md-4 d-none d-lg-block\">
  113.                     <h1 class=\"font-italic font-weight-bold mb-0 mt-4 mt-lg-0 mt-md-0\">
  114.                         ";
  115.         // line 40
  116.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""heading", ["height" => 150"placeholder" => "Heading"]);
  117.         // line 44
  118.         yield "
  119.                     </h1>
  120.                     <br>
  121.                     <p class=\"font-weight-light font-italic big\">
  122.                         Upcoming Events and Conferences
  123.                     </p>
  124.                 </div>
  125.                 <div class=\"row\">
  126.                     ";
  127.         // line 52
  128.         $context['_parent'] = $context;
  129.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'52$this->source); })()));
  130.         $context['loop'] = [
  131.           'parent' => $context['_parent'],
  132.           'index0' => 0,
  133.           'index'  => 1,
  134.           'first'  => true,
  135.         ];
  136.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  137.             $length count($context['_seq']);
  138.             $context['loop']['revindex0'] = $length 1;
  139.             $context['loop']['revindex'] = $length;
  140.             $context['loop']['length'] = $length;
  141.             $context['loop']['last'] = === $length;
  142.         }
  143.         foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
  144.             // line 53
  145.             yield "                        <div class=\"col-lg-4 col-md-6\">
  146.                             <div class=\"d-flex align-items-start mb-5 mb-lg-5 mb-md-5\">
  147.                                 ";
  148.             // line 55
  149.             yield (((CoreExtension::getAttribute($this->env$this->source$context["article"], "feature_image", [], "any"truetruetrue55) && CoreExtension::getAttribute($this->env$this->source$context["article"], "feature_image", [], "any"falsefalsetrue55))) ? ($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "feature_image", [], "any"falsefalsetrue55), "getThumbnail", ["event"], "method"falsefalsetrue55), "getHtml", [["class" => "mr-3 mr-lg-3 mr-md-3"]], "method"falsefalsetrue55), 55$this->source)) : (""));
  150.             yield "
  151.                                 <div class=\"d-flex flex-column\">
  152.                                     <p class=\"mb-3 mb-lg-3 mb-md-3 text-navyBlue font-weight-bold\">
  153.                                         ";
  154.             // line 58
  155.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$context["article"], "title", [], "any"falsefalsetrue58), 58$this->source), "html"nulltrue);
  156.             yield "
  157.                                     </p>
  158.                                     <small class=\"text-deepGray mb-2 mb-lg-2 mb-md-2 font-weight-normal\">
  159.                                         ";
  160.             // line 61
  161.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$context["article"], "address", [], "any"falsefalsetrue61), 61$this->source), "html"nulltrue);
  162.             yield "
  163.                                     </small>
  164.                                     <small class=\"text-deepGray mb-2 mb-lg-2 mb-md-2 font-weight-normal\">
  165.                                         ";
  166.             // line 64
  167.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source$context["article"], "date", [], "any"falsefalsetrue64), 64$this->source), "html"nulltrue);
  168.             yield "
  169.                                     </small>
  170.                                     ";
  171.             // line 66
  172.             if ((((((CoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"truetruetrue66) && CoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsefalsetrue66)) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsetruetrue66), "text", [], "any"truetruetrue66)) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsefalsetrue66), "text", [], "any"falsefalsetrue66)) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsetruetrue66), "getHref", [], "any"truetruetrue66)) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsefalsetrue66), "getHref", [], "any"falsefalsetrue66))) {
  173.                 // line 67
  174.                 yield "                                        <a href=\"";
  175.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsefalsetrue67), "getHref", [], "any"falsefalsetrue67), 67$this->source), "html"nulltrue);
  176.                 yield "\" target=\"";
  177.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsefalsetrue67), "target", [], "any"falsefalsetrue67), 67$this->source), "html"nulltrue);
  178.                 yield "\" class=\"d-flex align-items-center\">
  179.                                             <div class=\"mr-2 mr-lg-2 mr-md-2\">
  180.                                                 ";
  181.                 // line 69
  182.                 yield from                 $this->loadTemplate("svg-icons/svg-icons.html.twig""document/about/events.html.twig"69)->unwrap()->yieldBlock("moreInfoEvent"$context);
  183.                 yield "
  184.                                             </div>
  185.                                             <small class=\"text-indigo font-weight-bold\">
  186.                                                 ";
  187.                 // line 72
  188.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$context["article"], "url", [], "any"falsefalsetrue72), "getText", [], "any"falsefalsetrue72), 72$this->source), "html"nulltrue);
  189.                 yield "
  190.                                             </small>
  191.                                         </a>
  192.                                     ";
  193.             }
  194.             // line 76
  195.             yield "                                </div>
  196.                             </div>
  197.                         </div>
  198.                     ";
  199.             ++$context['loop']['index0'];
  200.             ++$context['loop']['index'];
  201.             $context['loop']['first'] = false;
  202.             if (isset($context['loop']['length'])) {
  203.                 --$context['loop']['revindex0'];
  204.                 --$context['loop']['revindex'];
  205.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  206.             }
  207.         }
  208.         $_parent $context['_parent'];
  209.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
  210.         $context array_intersect_key($context$_parent) + $_parent;
  211.         // line 80
  212.         yield "                </div>
  213.                 <div class=\"row ";
  214.         // line 81
  215.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["paginator"]) || array_key_exists("paginator"$context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.'81$this->source); })()), "pageCount", [], "any"falsefalsetrue81) == 1)) {
  216.             yield "d-none";
  217.         }
  218.         yield "\">
  219.                     <div class=\"col-lg-6 offset-lg-3\">
  220.                         ";
  221.         // line 83
  222.         yield from         $this->loadTemplate("Components/pagination.html.twig""document/about/events.html.twig"83)->unwrap()->yield(CoreExtension::merge($context, (isset($context["paginator"]) || array_key_exists("paginator"$context) ? $context["paginator"] : (function () { throw new RuntimeError('Variable "paginator" does not exist.'83$this->source); })())));
  223.         // line 84
  224.         yield "                    </div>
  225.                 </div>
  226.             </div>
  227.         </div>
  228.     </div>
  229. </div>
  230. ";
  231.         
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.         
  236.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  237.         return; yield '';
  238.     }
  239.     /**
  240.      * @codeCoverageIgnore
  241.      */
  242.     public function getTemplateName()
  243.     {
  244.         return "document/about/events.html.twig";
  245.     }
  246.     /**
  247.      * @codeCoverageIgnore
  248.      */
  249.     public function isTraitable()
  250.     {
  251.         return false;
  252.     }
  253.     /**
  254.      * @codeCoverageIgnore
  255.      */
  256.     public function getDebugInfo()
  257.     {
  258.         return array (  244 => 84,  242 => 83,  235 => 81,  232 => 80,  215 => 76,  208 => 72,  202 => 69,  194 => 67,  192 => 66,  187 => 64,  181 => 61,  175 => 58,  169 => 55,  165 => 53,  148 => 52,  138 => 44,  136 => 40,  116 => 23,  111 => 21,  107 => 19,  105 => 18,  97 => 13,  93 => 11,  91 => 10,  87 => 9,  80 => 4,  67 => 3,  38 => 1,);
  259.     }
  260.     public function getSourceContext()
  261.     {
  262.         return new Source("{% extends 'layout/default.html.twig' %}
  263. {% block contentBlock %}
  264. <div class=\"staticPage\">
  265.     <div class=\"container my-5 my-lg-5 my-md-5\">
  266.         <div class=\"row\">
  267.             <div class=\"col-lg-3\">
  268.                 <h4 class=\"font-weight-bold text-uppercase\">{{ 'Events.pages.title' | trans }}</h4>
  269.                 {% include 'document/static_page/sidebar/sidebar.html.twig' %}
  270.                 <h1 class=\"d-block d-lg-none font-italic font-weight-bold mb-0 mt-6 mt-lg-0 mt-md-0 border-bottom border-indigo border-2 pb-3 pb-lg-3 pb-md-3\">
  271.                     {{ pimcore_input('heading').getData }}
  272.                 </h1>
  273.                 <h4 class=\"font-weight-bold text-navyBlue mb-3 mb-lg-3 mb-md-3 mt-5 mt-lg-4 mt-md-4\">FILTER</h4>
  274.                 <form action=\"\" id=\"form-filter\" class=\"mb-5 mb-md-5 mb-lg-0\">
  275.                     <div class=\"position-relative d-flex align-items-center checkbox-container mb-1 mb-lg-1 mb-md-1\">
  276.                         {% set showPastEvents = app.request.get('show_past_events') %}
  277.                         <input  type=\"checkbox\"
  278.                                 {{ showPastEvents is defined and showPastEvents == 1 ? 'checked' }}
  279.                                 name=\"show_past_events\"
  280.                                 value=\"{{ showPastEvents is defined and showPastEvents == 1 ? '0' : '1' }}\"
  281.                                 id=\"filter-past-events\"
  282.                                 onchange=\"this.form.submit()\"
  283.                         >
  284.                         <span class=\"checkmark\"></span>
  285.                         <label for=\"filter-past-events\" class=\"letter-spacing-1 font-weight-bold mb-0\">
  286.                             Show Past Events
  287.                         </label>
  288.                     </div>
  289.                 </form>
  290.             </div>
  291.             <div class=\"col-lg-8\">
  292.                 <div class=\"mb-4 mb-lg-4 mb-md-4 d-none d-lg-block\">
  293.                     <h1 class=\"font-italic font-weight-bold mb-0 mt-4 mt-lg-0 mt-md-0\">
  294.                         {{ pimcore_input('heading',{
  295.                                 \"height\": 150,
  296.                                 \"placeholder\": \"Heading\"
  297.                             })
  298.                         }}
  299.                     </h1>
  300.                     <br>
  301.                     <p class=\"font-weight-light font-italic big\">
  302.                         Upcoming Events and Conferences
  303.                     </p>
  304.                 </div>
  305.                 <div class=\"row\">
  306.                     {% for article in articles %}
  307.                         <div class=\"col-lg-4 col-md-6\">
  308.                             <div class=\"d-flex align-items-start mb-5 mb-lg-5 mb-md-5\">
  309.                                 {{ article.feature_image is defined and article.feature_image ? article.feature_image.getThumbnail('event').getHtml({ class: 'mr-3 mr-lg-3 mr-md-3' }) | raw }}
  310.                                 <div class=\"d-flex flex-column\">
  311.                                     <p class=\"mb-3 mb-lg-3 mb-md-3 text-navyBlue font-weight-bold\">
  312.                                         {{ article.title }}
  313.                                     </p>
  314.                                     <small class=\"text-deepGray mb-2 mb-lg-2 mb-md-2 font-weight-normal\">
  315.                                         {{ article.address }}
  316.                                     </small>
  317.                                     <small class=\"text-deepGray mb-2 mb-lg-2 mb-md-2 font-weight-normal\">
  318.                                         {{ article.date }}
  319.                                     </small>
  320.                                     {% if article.url is defined and article.url and article.url.text is defined and article.url.text and article.url.getHref is defined and article.url.getHref %}
  321.                                         <a href=\"{{ article.url.getHref }}\" target=\"{{ article.url.target }}\" class=\"d-flex align-items-center\">
  322.                                             <div class=\"mr-2 mr-lg-2 mr-md-2\">
  323.                                                 {{ block('moreInfoEvent', 'svg-icons/svg-icons.html.twig') }}
  324.                                             </div>
  325.                                             <small class=\"text-indigo font-weight-bold\">
  326.                                                 {{ article.url.getText }}
  327.                                             </small>
  328.                                         </a>
  329.                                     {% endif %}
  330.                                 </div>
  331.                             </div>
  332.                         </div>
  333.                     {% endfor %}
  334.                 </div>
  335.                 <div class=\"row {% if paginator.pageCount == 1 %}d-none{% endif %}\">
  336.                     <div class=\"col-lg-6 offset-lg-3\">
  337.                         {% include 'Components/pagination.html.twig' with paginator %}
  338.                     </div>
  339.                 </div>
  340.             </div>
  341.         </div>
  342.     </div>
  343. </div>
  344. {% endblock %}""document/about/events.html.twig""/var/www/webovi/stoelting/pimcore/templates/document/about/events.html.twig");
  345.     }
  346.     
  347.     public function checkSecurity()
  348.     {
  349.         static $tags = array("include" => 10"set" => 18"for" => 52"if" => 66);
  350.         static $filters = array("escape" => 9"trans" => 9"raw" => 55);
  351.         static $functions = array("pimcore_input" => 13);
  352.         try {
  353.             $this->sandbox->checkSecurity(
  354.                 ['include''set''for''if'],
  355.                 ['escape''trans''raw'],
  356.                 ['pimcore_input'],
  357.                 $this->source
  358.             );
  359.         } catch (SecurityError $e) {
  360.             $e->setSourceContext($this->source);
  361.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  362.                 $e->setTemplateLine($tags[$e->getTagName()]);
  363.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  364.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  365.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  366.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  367.             }
  368.             throw $e;
  369.         }
  370.     }
  371. }