var/cache/dev/twig/c4/c4575024123998494aba949fa57a187f.php line 49

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. /* sponsors/overview.html.twig */
  14. class __TwigTemplate_1ed4e8d9d7fd6d083ce3b19706dd6fb7 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 $this->loadTemplate($this->extensions['App\Twig\Extension\WebsiteExtension']->getBaseLayout(), "sponsors/overview.html.twig"1);
  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""sponsors/overview.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""sponsors/overview.html.twig"));
  40.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 4
  55.         echo "    <div class=\"container\">
  56.         <div class=\"row\">
  57.             <div class=\"col-12\">
  58.                 ";
  59.         // line 8
  60.         echo twig_include($this->env$context"includes/default-content.html.twig");
  61.         echo "
  62.             </div>
  63.         </div>
  64.         ";
  65.         // line 12
  66.         if ((isset($context["sponsors"]) || array_key_exists("sponsors"$context) ? $context["sponsors"] : (function () { throw new RuntimeError('Variable "sponsors" does not exist.'12$this->source); })())) {
  67.             // line 13
  68.             echo "
  69.             <h2 class=\"text-center mb-3\">";
  70.             // line 14
  71.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Golder Partner", []), "html"nulltrue);
  72.             echo "</h2>
  73.             <div class=\"row row-cols-lg-5 row-cols-3 mb-5 d-flex align-items-center\">
  74.                 ";
  75.             // line 16
  76.             $context['_parent'] = $context;
  77.             $context['_seq'] = twig_ensure_traversable((isset($context["sponsors"]) || array_key_exists("sponsors"$context) ? $context["sponsors"] : (function () { throw new RuntimeError('Variable "sponsors" does not exist.'16$this->source); })()));
  78.             foreach ($context['_seq'] as $context["_key"] => $context["sponsor"]) {
  79.                 // line 17
  80.                 echo "                    ";
  81.                 if ((twig_get_attribute($this->env$this->source$context["sponsor"], "getPartner", [], "method"falsefalsetrue17) == "Gold Partner")) {
  82.                     // line 18
  83.                     echo "                        <div class=\"col text-center\">
  84.                             ";
  85.                     // line 19
  86.                     if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue19)) {
  87.                         echo "<a href=\"";
  88.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue19), "direct", [], "any"falsefalsetrue19), 19$this->source), "html"nulltrue);
  89.                         echo "\"
  90.                                                             target=\"";
  91.                         // line 20
  92.                         if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue20)) {
  93.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue20), "target", [], "any"falsefalsetrue20), 20$this->source), "html"nulltrue);
  94.                         }
  95.                         echo "\">";
  96.                     }
  97.                     // line 21
  98.                     echo "                                ";
  99.                     $context['_parent'] = $context;
  100.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["sponsor"], "image", [], "any"falsefalsetrue21));
  101.                     foreach ($context['_seq'] as $context["_key"] => $context["Image"]) {
  102.                         // line 22
  103.                         echo "                                    <div>
  104.                                         <img src=\"";
  105.                         // line 23
  106.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Image"], "image", [], "any"falsefalsetrue23), "getThumbnail", [=> "slideshow-product"], "method"falsefalsetrue23), 23$this->source), "html"nulltrue);
  107.                         echo "\"
  108.                                              alt=\"";
  109.                         // line 24
  110.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["sponsor"], "getTitle", [], "method"falsefalsetrue24), 24$this->source), "html"nulltrue);
  111.                         echo "\" class=\"d-block w-100 h-100\">
  112.                                     </div>
  113.                                 ";
  114.                     }
  115.                     $_parent $context['_parent'];
  116.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Image'], $context['_parent'], $context['loop']);
  117.                     $context array_intersect_key($context$_parent) + $_parent;
  118.                     // line 27
  119.                     echo "                                ";
  120.                     if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue27)) {
  121.                         echo "</a>";
  122.                     }
  123.                     // line 28
  124.                     echo "                        </div>
  125.                     ";
  126.                 }
  127.                 // line 30
  128.                 echo "                ";
  129.             }
  130.             $_parent $context['_parent'];
  131.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sponsor'], $context['_parent'], $context['loop']);
  132.             $context array_intersect_key($context$_parent) + $_parent;
  133.             // line 31
  134.             echo "            </div>
  135.             <h2 class=\"text-center mb-3\">";
  136.             // line 33
  137.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Silver Partner", []), "html"nulltrue);
  138.             echo "</h2>
  139.             <div class=\"row row-cols-lg-5 row-cols-3 mb-5 d-flex align-items-center\">
  140.                 ";
  141.             // line 35
  142.             $context['_parent'] = $context;
  143.             $context['_seq'] = twig_ensure_traversable((isset($context["sponsors"]) || array_key_exists("sponsors"$context) ? $context["sponsors"] : (function () { throw new RuntimeError('Variable "sponsors" does not exist.'35$this->source); })()));
  144.             foreach ($context['_seq'] as $context["_key"] => $context["sponsor"]) {
  145.                 // line 36
  146.                 echo "                    ";
  147.                 if ((twig_get_attribute($this->env$this->source$context["sponsor"], "getPartner", [], "method"falsefalsetrue36) == "Silver Partner")) {
  148.                     // line 37
  149.                     echo "
  150.                         <div class=\"col text-center\">
  151.                             ";
  152.                     // line 39
  153.                     if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue39)) {
  154.                         echo "<a href=\"";
  155.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue39), "direct", [], "any"falsefalsetrue39), 39$this->source), "html"nulltrue);
  156.                         echo "\"
  157.                                                             target=\"";
  158.                         // line 40
  159.                         if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue40)) {
  160.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue40), "target", [], "any"falsefalsetrue40), 40$this->source), "html"nulltrue);
  161.                         }
  162.                         echo "\">";
  163.                     }
  164.                     // line 41
  165.                     echo "                                ";
  166.                     $context['_parent'] = $context;
  167.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["sponsor"], "image", [], "any"falsefalsetrue41));
  168.                     foreach ($context['_seq'] as $context["_key"] => $context["Image"]) {
  169.                         // line 42
  170.                         echo "                                    <div>
  171.                                         <img src=\"";
  172.                         // line 43
  173.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Image"], "image", [], "any"falsefalsetrue43), "getThumbnail", [=> "slideshow-product"], "method"falsefalsetrue43), 43$this->source), "html"nulltrue);
  174.                         echo "\"
  175.                                              alt=\"";
  176.                         // line 44
  177.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["sponsor"], "getTitle", [], "method"falsefalsetrue44), 44$this->source), "html"nulltrue);
  178.                         echo "\" class=\"d-block w-100 h-100\">
  179.                                     </div>
  180.                                 ";
  181.                     }
  182.                     $_parent $context['_parent'];
  183.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Image'], $context['_parent'], $context['loop']);
  184.                     $context array_intersect_key($context$_parent) + $_parent;
  185.                     // line 47
  186.                     echo "                                ";
  187.                     if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue47)) {
  188.                         echo "</a>";
  189.                     }
  190.                     // line 48
  191.                     echo "                        </div>
  192.                     ";
  193.                 }
  194.                 // line 50
  195.                 echo "                ";
  196.             }
  197.             $_parent $context['_parent'];
  198.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sponsor'], $context['_parent'], $context['loop']);
  199.             $context array_intersect_key($context$_parent) + $_parent;
  200.             // line 51
  201.             echo "            </div>
  202.             <h2 class=\"text-center mb-3\">";
  203.             // line 56
  204.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Bronze Partner", []), "html"nulltrue);
  205.             echo "</h2>
  206.             <div class=\"row row-cols-lg-5 row-cols-3 mb-5 d-flex align-items-center\">
  207.                 ";
  208.             // line 58
  209.             $context['_parent'] = $context;
  210.             $context['_seq'] = twig_ensure_traversable((isset($context["sponsors"]) || array_key_exists("sponsors"$context) ? $context["sponsors"] : (function () { throw new RuntimeError('Variable "sponsors" does not exist.'58$this->source); })()));
  211.             foreach ($context['_seq'] as $context["_key"] => $context["sponsor"]) {
  212.                 // line 59
  213.                 echo "                    ";
  214.                 if ((twig_get_attribute($this->env$this->source$context["sponsor"], "getPartner", [], "method"falsefalsetrue59) == "Bronze Partner")) {
  215.                     // line 60
  216.                     echo "                        <div class=\"col text-center\">
  217.                             ";
  218.                     // line 61
  219.                     if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue61)) {
  220.                         echo "<a href=\"";
  221.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue61), "direct", [], "any"falsefalsetrue61), 61$this->source), "html"nulltrue);
  222.                         echo "\"
  223.                                                             target=\"";
  224.                         // line 62
  225.                         if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue62)) {
  226.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue62), "target", [], "any"falsefalsetrue62), 62$this->source), "html"nulltrue);
  227.                         }
  228.                         echo "\">";
  229.                     }
  230.                     // line 63
  231.                     echo "                                ";
  232.                     // line 64
  233.                     echo "                                ";
  234.                     $context['_parent'] = $context;
  235.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["sponsor"], "image", [], "any"falsefalsetrue64));
  236.                     foreach ($context['_seq'] as $context["_key"] => $context["Image"]) {
  237.                         // line 65
  238.                         echo "                                    <div>
  239.                                         <img src=\"";
  240.                         // line 66
  241.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Image"], "image", [], "any"falsefalsetrue66), "getThumbnail", [=> "slideshow-product"], "method"falsefalsetrue66), 66$this->source), "html"nulltrue);
  242.                         echo "\"
  243.                                              alt=\"";
  244.                         // line 67
  245.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["sponsor"], "getTitle", [], "method"falsefalsetrue67), 67$this->source), "html"nulltrue);
  246.                         echo "\" class=\"d-block w-50 h-50\">
  247.                                     </div>
  248.                                 ";
  249.                     }
  250.                     $_parent $context['_parent'];
  251.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Image'], $context['_parent'], $context['loop']);
  252.                     $context array_intersect_key($context$_parent) + $_parent;
  253.                     // line 70
  254.                     echo "                                ";
  255.                     if (twig_get_attribute($this->env$this->source$context["sponsor"], "partnerLink", [], "any"falsefalsetrue70)) {
  256.                         echo "</a>";
  257.                     }
  258.                     // line 71
  259.                     echo "                        </div>
  260.                     ";
  261.                 }
  262.                 // line 73
  263.                 echo "                ";
  264.             }
  265.             $_parent $context['_parent'];
  266.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sponsor'], $context['_parent'], $context['loop']);
  267.             $context array_intersect_key($context$_parent) + $_parent;
  268.             // line 74
  269.             echo "            </div>
  270.             ";
  271.             // line 76
  272.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""content-below");
  273.             echo "
  274.         ";
  275.         }
  276.         // line 82
  277.         echo "    </div>
  278. ";
  279.         
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  281.         
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  283.     }
  284.     public function getTemplateName()
  285.     {
  286.         return "sponsors/overview.html.twig";
  287.     }
  288.     public function isTraitable()
  289.     {
  290.         return false;
  291.     }
  292.     public function getDebugInfo()
  293.     {
  294.         return array (  303 => 82,  294 => 76,  290 => 74,  284 => 73,  280 => 71,  275 => 70,  266 => 67,  262 => 66,  259 => 65,  254 => 64,  252 => 63,  246 => 62,  240 => 61,  237 => 60,  234 => 59,  230 => 58,  225 => 56,  218 => 51,  212 => 50,  208 => 48,  203 => 47,  194 => 44,  190 => 43,  187 => 42,  182 => 41,  176 => 40,  170 => 39,  166 => 37,  163 => 36,  159 => 35,  154 => 33,  150 => 31,  144 => 30,  140 => 28,  135 => 27,  126 => 24,  122 => 23,  119 => 22,  114 => 21,  108 => 20,  102 => 19,  99 => 18,  96 => 17,  92 => 16,  87 => 14,  84 => 13,  82 => 12,  75 => 8,  69 => 4,  59 => 3,  37 => 1,);
  295.     }
  296.     public function getSourceContext()
  297.     {
  298.         return new Source("{% extends base_layout() %}
  299. {% block content %}
  300.     <div class=\"container\">
  301.         <div class=\"row\">
  302.             <div class=\"col-12\">
  303.                 {{ include('includes/default-content.html.twig') }}
  304.             </div>
  305.         </div>
  306.         {% if sponsors %}
  307.             <h2 class=\"text-center mb-3\">{{ 'Golder Partner'|trans({}) }}</h2>
  308.             <div class=\"row row-cols-lg-5 row-cols-3 mb-5 d-flex align-items-center\">
  309.                 {% for sponsor in sponsors %}
  310.                     {% if  sponsor.getPartner() == \"Gold Partner\" %}
  311.                         <div class=\"col text-center\">
  312.                             {% if  sponsor.partnerLink %}<a href=\"{{ sponsor.partnerLink.direct }}\"
  313.                                                             target=\"{% if  sponsor.partnerLink %}{{ sponsor.partnerLink.target }}{% endif %}\">{% endif %}
  314.                                 {% for Image in sponsor.image %}
  315.                                     <div>
  316.                                         <img src=\"{{ Image.image.getThumbnail('slideshow-product') }}\"
  317.                                              alt=\"{{ sponsor.getTitle() }}\" class=\"d-block w-100 h-100\">
  318.                                     </div>
  319.                                 {% endfor %}
  320.                                 {% if  sponsor.partnerLink %}</a>{% endif %}
  321.                         </div>
  322.                     {% endif %}
  323.                 {% endfor %}
  324.             </div>
  325.             <h2 class=\"text-center mb-3\">{{ 'Silver Partner'|trans({}) }}</h2>
  326.             <div class=\"row row-cols-lg-5 row-cols-3 mb-5 d-flex align-items-center\">
  327.                 {% for sponsor in sponsors %}
  328.                     {% if  sponsor.getPartner() == \"Silver Partner\" %}
  329.                         <div class=\"col text-center\">
  330.                             {% if  sponsor.partnerLink %}<a href=\"{{ sponsor.partnerLink.direct }}\"
  331.                                                             target=\"{% if  sponsor.partnerLink %}{{ sponsor.partnerLink.target }}{% endif %}\">{% endif %}
  332.                                 {% for Image in sponsor.image %}
  333.                                     <div>
  334.                                         <img src=\"{{ Image.image.getThumbnail('slideshow-product') }}\"
  335.                                              alt=\"{{ sponsor.getTitle() }}\" class=\"d-block w-100 h-100\">
  336.                                     </div>
  337.                                 {% endfor %}
  338.                                 {% if  sponsor.partnerLink %}</a>{% endif %}
  339.                         </div>
  340.                     {% endif %}
  341.                 {% endfor %}
  342.             </div>
  343.             <h2 class=\"text-center mb-3\">{{ 'Bronze Partner'|trans({}) }}</h2>
  344.             <div class=\"row row-cols-lg-5 row-cols-3 mb-5 d-flex align-items-center\">
  345.                 {% for sponsor in sponsors %}
  346.                     {% if  sponsor.getPartner() == \"Bronze Partner\" %}
  347.                         <div class=\"col text-center\">
  348.                             {% if  sponsor.partnerLink %}<a href=\"{{ sponsor.partnerLink.direct }}\"
  349.                                                             target=\"{% if  sponsor.partnerLink %}{{ sponsor.partnerLink.target }}{% endif %}\">{% endif %}
  350.                                 {# <h3>{{ sponsor.getTitle() }}</h3> #}
  351.                                 {% for Image in sponsor.image %}
  352.                                     <div>
  353.                                         <img src=\"{{ Image.image.getThumbnail('slideshow-product') }}\"
  354.                                              alt=\"{{ sponsor.getTitle() }}\" class=\"d-block w-50 h-50\">
  355.                                     </div>
  356.                                 {% endfor %}
  357.                                 {% if  sponsor.partnerLink %}</a>{% endif %}
  358.                         </div>
  359.                     {% endif %}
  360.                 {% endfor %}
  361.             </div>
  362.             {{ pimcore_areablock('content-below') }}
  363.         {% endif %}
  364.     </div>
  365. {% endblock %}
  366. ""sponsors/overview.html.twig""/var/www/clients/client2/web45/web/pc/templates/sponsors/overview.html.twig");
  367.     }
  368.     
  369.     public function checkSecurity()
  370.     {
  371.         static $tags = array("if" => 12"for" => 16);
  372.         static $filters = array("escape" => 14"trans" => 14);
  373.         static $functions = array("include" => 8"pimcore_areablock" => 76"base_layout" => 1);
  374.         try {
  375.             $this->sandbox->checkSecurity(
  376.                 ['if''for'],
  377.                 ['escape''trans'],
  378.                 ['include''pimcore_areablock''base_layout']
  379.             );
  380.         } catch (SecurityError $e) {
  381.             $e->setSourceContext($this->source);
  382.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  383.                 $e->setTemplateLine($tags[$e->getTagName()]);
  384.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  385.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  386.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  387.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  388.             }
  389.             throw $e;
  390.         }
  391.     }
  392. }