var/cache/dev/twig/e4/e4681becdcede89e450c2f11dcf985c5.php line 36

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. /* includes/footer.html.twig */
  15. class __TwigTemplate_923bb4387dd70c665fe4ad54cd3ff483 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->parent false;
  24.         $this->blocks = [
  25.         ];
  26.         $this->sandbox $this->env->getExtension(SandboxExtension::class);
  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""includes/footer.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""includes/footer.html.twig"));
  36.         // line 1
  37.         yield "<!-- Footer -->
  38. <div>
  39.   <!-- Page Navigation -->
  40.   <div id=\"page-nav\">
  41.     <div class=\"page-nav-wrap\">
  42.       <div class=\"page-nav-caption footer-padding block-title marquee-title\">
  43.         <hr/>
  44.         
  45.           <div class=\"two_fifth two_fifth_margin\">
  46.             <div class=\"footer-desc\">
  47.               <img src=\"/assets/images/centric_logo_white_text.svg\" class=\"footer-logo\" alt=\"Centric USA Logo\">
  48.                 ";
  49.         // line 13
  50.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""footer_content");
  51.         yield "
  52.             </div>
  53.           </div>
  54.           <div class=\"three_fifth last\">
  55.         <div class=\"footer-content-wrapper footer-desc2\">
  56.           <div class=\"footer-content\">
  57.         ";
  58.         // line 20
  59.         $context['_parent'] = $context;
  60.         $context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""mainlinkblock")));
  61.         $context['loop'] = [
  62.           'parent' => $context['_parent'],
  63.           'index0' => 0,
  64.           'index'  => 1,
  65.           'first'  => true,
  66.         ];
  67.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  68.             $length count($context['_seq']);
  69.             $context['loop']['revindex0'] = $length 1;
  70.             $context['loop']['revindex'] = $length;
  71.             $context['loop']['length'] = $length;
  72.             $context['loop']['last'] = === $length;
  73.         }
  74.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  75.             // line 21
  76.             yield "
  77.           ";
  78.             // line 22
  79.             $context["delay"] = 0;
  80.             // line 23
  81.             yield "          ";
  82.             if ((CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue23) == 1)) {
  83.                 // line 24
  84.                 yield "            ";
  85.                 $context["delay"] = 100;
  86.                 // line 25
  87.                 yield "          ";
  88.             } elseif (((CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue25) % 2) == 0)) {
  89.                 // line 26
  90.                 yield "            ";
  91.                 $context["delay"] = 200;
  92.                 // line 27
  93.                 yield "
  94.           ";
  95.             } else {
  96.                 // line 29
  97.                 yield "            ";
  98.                 $context["delay"] = 300;
  99.                 // line 30
  100.                 yield "          ";
  101.             }
  102.             // line 31
  103.             yield "       
  104.           
  105.         <div class=\"one_third_f has-animation \" data-delay=\"";
  106.             // line 33
  107.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["delay"]) || array_key_exists("delay"$context) ? $context["delay"] : (function () { throw new RuntimeError('Variable "delay" does not exist.'33$this->source); })()), 33$this->source), "html"nulltrue);
  108.             yield "\">
  109.         <div class=\"box-icon-wrapper inline-boxes\">
  110.           <div class=\"box-icon\">
  111.             ";
  112.             // line 36
  113.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'36$this->source); })())) {
  114.                 // line 37
  115.                 yield "              ";
  116.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""iconClass", ["placeholder" => "add class name like paper-plane , map-marker , phone""width" => 450]);
  117.                 yield "
  118.             ";
  119.             } else {
  120.                 // line 40
  121.                 yield "              ";
  122.                 $context["iconClass"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""iconClass");
  123.                 // line 41
  124.                 yield "
  125.               <i class=\"fa fa-";
  126.                 // line 42
  127.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["iconClass"]) || array_key_exists("iconClass"$context) ? $context["iconClass"] : (function () { throw new RuntimeError('Variable "iconClass" does not exist.'42$this->source); })()), 42$this->source), "html"nulltrue);
  128.                 yield " fa-2x\" aria-hidden=\"true\"></i>
  129.             ";
  130.             }
  131.             // line 44
  132.             yield "
  133.           </div>
  134.           <div class=\"box-icon-content footer-p\">
  135.             ";
  136.             // line 47
  137.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'47$this->source); })())) {
  138.                 // line 48
  139.                 yield "              Select Type: 
  140.               ";
  141.                 // line 49
  142.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""type", ["width" => 110"reload" => true"store" => [["link""link"], ["text""text"]]]);
  143.                 // line 54
  144.                 yield "
  145.             ";
  146.             }
  147.             // line 57
  148.             yield "
  149.             ";
  150.             // line 58
  151.             if ((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""type"), "getData", [], "method"falsefalsetrue58) == "text")) {
  152.                 // line 59
  153.                 yield "
  154.               <p class=\"no-margins\">
  155.                 ";
  156.                 // line 61
  157.                 yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""name", ["placeholder" => "Add text here like address or phone""width" => 450]);
  158.                 yield "
  159.               </p>
  160.             ";
  161.             } elseif ((CoreExtension::getAttribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""type"), "getData", [], "method"falsefalsetrue64) == "link")) {
  162.                 // line 65
  163.                 yield "              <p class=\"no-margins\">
  164.                 ";
  165.                 // line 67
  166.                 if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'67$this->source); })())) {
  167.                     // line 68
  168.                     yield "                  ";
  169.                     yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link");
  170.                     yield "
  171.                 ";
  172.                 } else {
  173.                     // line 70
  174.                     yield "                  ";
  175.                     $context["link"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link");
  176.                     // line 71
  177.                     yield "                  <a href=\"";
  178.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'71$this->source); })()), "getHref", [], "method"falsefalsetrue71), 71$this->source), "html"nulltrue);
  179.                     yield "\" class=\"link\" target=\"";
  180.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'71$this->source); })()), "getTarget", [], "method"falsefalsetrue71), 71$this->source), "html"nulltrue);
  181.                     yield "\">
  182.                     <span>
  183.                       ";
  184.                     // line 73
  185.                     yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'73$this->source); })()), "getText", [], "method"falsefalsetrue73), 73$this->source);
  186.                     yield "
  187.                     </span>
  188.                   </a>
  189.                 ";
  190.                 }
  191.                 // line 78
  192.                 yield "              </p>
  193.             ";
  194.             }
  195.             // line 80
  196.             yield "
  197.             <p>
  198.               ";
  199.             // line 82
  200.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""inputType", ["placeholder" => "Add text type here like email , address or phone""width" => 450]);
  201.             yield "
  202.             </p>
  203.           </div>
  204.         </div>
  205.       </div>
  206.           ";
  207.             // line 90
  208.             yield "
  209.         ";
  210.             ++$context['loop']['index0'];
  211.             ++$context['loop']['index'];
  212.             $context['loop']['first'] = false;
  213.             if (isset($context['loop']['length'])) {
  214.                 --$context['loop']['revindex0'];
  215.                 --$context['loop']['revindex'];
  216.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  217.             }
  218.         }
  219.         $_parent $context['_parent'];
  220.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  221.         $context array_intersect_key($context$_parent) + $_parent;
  222.         // line 92
  223.         yield "      </div>
  224.     </div></div>
  225.         <hr/>
  226.       </div>
  227.     </div>
  228.   </div>
  229.   <!--/Page Navigation -->
  230.   <footer class=\"hidden\">
  231.     <div id=\"footer-container\">
  232.       <div id=\"backtotop\" class=\"button-wrap left\">
  233.         <div class=\"icon-wrap parallax-wrap\">
  234.           <div class=\"button-icon parallax-element\">
  235.             <i class=\"fa-solid fa-angle-up\"></i>
  236.           </div>
  237.         </div>
  238.         <div class=\"button-text sticky left\">
  239.           <span data-hover=\"Back Top\">
  240.             ";
  241.         // line 114
  242.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""backTop", ["placeholder" => "Back Top""width" => 450]);
  243.         yield "
  244.           </span>
  245.         </div>
  246.       </div>
  247.       <div class=\"footer-middle\">
  248.         <div class=\"copyright\">
  249.           ";
  250.         // line 122
  251.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now""Y"), "html"nulltrue);
  252.         yield "
  253.           ©
  254.           ";
  255.         // line 124
  256.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""allRightsReserved", ["placeholder" => "All rights reserved.""width" => 360]);
  257.         yield "
  258.         </div>
  259.       </div>
  260.       <div class=\"socials-wrap socials-wrap-New\">
  261.         ";
  262.         // line 133
  263.         yield "
  264.         <div class=\"socials-text\">
  265.           ";
  266.         // line 136
  267.         yield "
  268.           ";
  269.         // line 138
  270.         $context['_parent'] = $context;
  271.         $context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""termsBlock")));
  272.         $context['loop'] = [
  273.           'parent' => $context['_parent'],
  274.           'index0' => 0,
  275.           'index'  => 1,
  276.           'first'  => true,
  277.         ];
  278.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  279.             $length count($context['_seq']);
  280.             $context['loop']['revindex0'] = $length 1;
  281.             $context['loop']['revindex'] = $length;
  282.             $context['loop']['length'] = $length;
  283.             $context['loop']['last'] = === $length;
  284.         }
  285.         foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
  286.             // line 139
  287.             yield "
  288.            ";
  289.             // line 140
  290.             yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""termsBlockLink");
  291.             yield "
  292.             ";
  293.             // line 142
  294.             if (($context["l"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["loop"]) - 2))) {
  295.                 // line 143
  296.                 yield "                |
  297.             ";
  298.             }
  299.             // line 145
  300.             yield "         
  301.             ";
  302.             ++$context['loop']['index0'];
  303.             ++$context['loop']['index'];
  304.             $context['loop']['first'] = false;
  305.             if (isset($context['loop']['length'])) {
  306.                 --$context['loop']['revindex0'];
  307.                 --$context['loop']['revindex'];
  308.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  309.             }
  310.         }
  311.         $_parent $context['_parent'];
  312.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l'], $context['_parent'], $context['loop']);
  313.         $context array_intersect_key($context$_parent) + $_parent;
  314.         // line 147
  315.         yield "        </div>
  316.       </div>
  317.     </div>
  318.   </footer>
  319. </div>
  320. <!--/Footer -->
  321. ";
  322.         
  323.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  324.         
  325.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  326.         return; yield '';
  327.     }
  328.     /**
  329.      * @codeCoverageIgnore
  330.      */
  331.     public function getTemplateName()
  332.     {
  333.         return "includes/footer.html.twig";
  334.     }
  335.     /**
  336.      * @codeCoverageIgnore
  337.      */
  338.     public function isTraitable()
  339.     {
  340.         return false;
  341.     }
  342.     /**
  343.      * @codeCoverageIgnore
  344.      */
  345.     public function getDebugInfo()
  346.     {
  347.         return array (  342 => 147,  327 => 145,  323 => 143,  321 => 142,  316 => 140,  313 => 139,  296 => 138,  292 => 136,  288 => 133,  279 => 124,  274 => 122,  263 => 114,  239 => 92,  224 => 90,  216 => 82,  212 => 80,  208 => 78,  200 => 73,  192 => 71,  189 => 70,  183 => 68,  181 => 67,  177 => 65,  170 => 61,  166 => 59,  164 => 58,  161 => 57,  156 => 54,  154 => 49,  151 => 48,  149 => 47,  144 => 44,  139 => 42,  136 => 41,  133 => 40,  126 => 37,  124 => 36,  118 => 33,  114 => 31,  111 => 30,  108 => 29,  104 => 27,  101 => 26,  98 => 25,  95 => 24,  92 => 23,  90 => 22,  87 => 21,  70 => 20,  60 => 13,  46 => 1,);
  348.     }
  349.     public function getSourceContext()
  350.     {
  351.         return new Source("<!-- Footer -->
  352. <div>
  353.   <!-- Page Navigation -->
  354.   <div id=\"page-nav\">
  355.     <div class=\"page-nav-wrap\">
  356.       <div class=\"page-nav-caption footer-padding block-title marquee-title\">
  357.         <hr/>
  358.         
  359.           <div class=\"two_fifth two_fifth_margin\">
  360.             <div class=\"footer-desc\">
  361.               <img src=\"/assets/images/centric_logo_white_text.svg\" class=\"footer-logo\" alt=\"Centric USA Logo\">
  362.                 {{pimcore_wysiwyg(\"footer_content\")}}
  363.             </div>
  364.           </div>
  365.           <div class=\"three_fifth last\">
  366.         <div class=\"footer-content-wrapper footer-desc2\">
  367.           <div class=\"footer-content\">
  368.         {% for i in pimcore_iterate_block(pimcore_block('mainlinkblock')) %}
  369.           {% set delay = 0 %}
  370.           {% if loop.index == 1 %}
  371.             {% set delay = 100 %}
  372.           {% elseif loop.index % 2 == 0 %}
  373.             {% set delay = 200 %}
  374.           {% else %}
  375.             {% set delay = 300 %}
  376.           {% endif %}
  377.        
  378.           
  379.         <div class=\"one_third_f has-animation \" data-delay=\"{{ delay }}\">
  380.         <div class=\"box-icon-wrapper inline-boxes\">
  381.           <div class=\"box-icon\">
  382.             {% if editmode %}
  383.               {{ pimcore_input('iconClass', {'placeholder': 'add class name like paper-plane , map-marker , phone' ,\"width\": 450}) }}
  384.             {% else %}
  385.               {% set iconClass = pimcore_input('iconClass') %}
  386.               <i class=\"fa fa-{{ iconClass }} fa-2x\" aria-hidden=\"true\"></i>
  387.             {% endif %}
  388.           </div>
  389.           <div class=\"box-icon-content footer-p\">
  390.             {% if editmode %}
  391.               Select Type: 
  392.               {{ pimcore_select(\"type\", {
  393.                     \"width\": 110,
  394.                     \"reload\": true,
  395.                     \"store\": [
  396.                         [\"link\", \"link\"],
  397.                         [\"text\", \"text\"]]}) }}
  398.             {% endif %}
  399.             {% if pimcore_select(\"type\").getData() == \"text\" %}
  400.               <p class=\"no-margins\">
  401.                 {{ pimcore_input('name', {'placeholder': 'Add text here like address or phone' ,\"width\": 450}) }}
  402.               </p>
  403.             {% elseif pimcore_select(\"type\").getData() == \"link\" %}
  404.               <p class=\"no-margins\">
  405.                 {% if editmode %}
  406.                   {{ pimcore_link('link') }}
  407.                 {% else %}
  408.                   {% set link = pimcore_link('link') %}
  409.                   <a href=\"{{ link.getHref() }}\" class=\"link\" target=\"{{ link.getTarget() }}\">
  410.                     <span>
  411.                       {{ link.getText() | raw }}
  412.                     </span>
  413.                   </a>
  414.                 {% endif %}
  415.               </p>
  416.             {% endif %}
  417.             <p>
  418.               {{ pimcore_input('inputType', {'placeholder': 'Add text type here like email , address or phone' ,\"width\": 450}) }}
  419.             </p>
  420.           </div>
  421.         </div>
  422.       </div>
  423.           {# {% if loop.index == 3 %}
  424.             <div class=\"one_third has-animation\" data-delay=\"100\"></div>
  425.           {% endif %} #}
  426.         {% endfor %}
  427.       </div>
  428.     </div></div>
  429.         <hr/>
  430.       </div>
  431.     </div>
  432.   </div>
  433.   <!--/Page Navigation -->
  434.   <footer class=\"hidden\">
  435.     <div id=\"footer-container\">
  436.       <div id=\"backtotop\" class=\"button-wrap left\">
  437.         <div class=\"icon-wrap parallax-wrap\">
  438.           <div class=\"button-icon parallax-element\">
  439.             <i class=\"fa-solid fa-angle-up\"></i>
  440.           </div>
  441.         </div>
  442.         <div class=\"button-text sticky left\">
  443.           <span data-hover=\"Back Top\">
  444.             {{ pimcore_input('backTop', {'placeholder': 'Back Top' , width : 450}) }}
  445.           </span>
  446.         </div>
  447.       </div>
  448.       <div class=\"footer-middle\">
  449.         <div class=\"copyright\">
  450.           {{ 'now'|date('Y') }}
  451.           ©
  452.           {{ pimcore_input('allRightsReserved', {'placeholder': 'All rights reserved.' , width : 360}) }}
  453.         </div>
  454.       </div>
  455.       <div class=\"socials-wrap socials-wrap-New\">
  456.         {# <div class=\"socials-icon\">
  457.           <i class=\"fa-solid fa-share-nodes\"></i>
  458.         </div> #}
  459.         <div class=\"socials-text\">
  460.           {# {{ pimcore_input('followUs', {'placeholder': 'Follow Us' , width : 450}) }} #}
  461.           {% for l in pimcore_iterate_block(pimcore_block('termsBlock')) %}
  462.            {{ pimcore_link('termsBlockLink') }}
  463.             {% if l < loop|length -2 %}
  464.                 |
  465.             {% endif %}
  466.          
  467.             {% endfor %}
  468.         </div>
  469.       </div>
  470.     </div>
  471.   </footer>
  472. </div>
  473. <!--/Footer -->
  474. ""includes/footer.html.twig""/var/www/html/templates/includes/footer.html.twig");
  475.     }
  476.     
  477.     public function checkSecurity()
  478.     {
  479.         static $tags = array("for" => 20"set" => 22"if" => 23);
  480.         static $filters = array("escape" => 33"raw" => 73"date" => 122"length" => 142);
  481.         static $functions = array("pimcore_wysiwyg" => 13"pimcore_iterate_block" => 20"pimcore_block" => 20"pimcore_input" => 37"pimcore_select" => 49"pimcore_link" => 68);
  482.         try {
  483.             $this->sandbox->checkSecurity(
  484.                 ['for''set''if'],
  485.                 ['escape''raw''date''length'],
  486.                 ['pimcore_wysiwyg''pimcore_iterate_block''pimcore_block''pimcore_input''pimcore_select''pimcore_link'],
  487.                 $this->source
  488.             );
  489.         } catch (SecurityError $e) {
  490.             $e->setSourceContext($this->source);
  491.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  492.                 $e->setTemplateLine($tags[$e->getTagName()]);
  493.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  494.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  495.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  496.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  497.             }
  498.             throw $e;
  499.         }
  500.     }
  501. }