var/cache/dev/twig/3b/3b77143a4e89c2542c70c9991f7eb61e.php line 116

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. /* Block/lm_global_header.twig */
  14. class __TwigTemplate_1d715debeb055f3bb4fa82e77366208b extends \Eccube\Twig\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.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/lm_global_header.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/lm_global_header.twig"));
  35.         // line 1
  36.         echo "<div id=\"header-1-wrapper\">
  37.   <div id=\"header-1\">
  38.     <div id=\"header-1-1\">
  39.       <div id=\"header-1-1-1\" class=\"s\">
  40.       </div>
  41.       <div class=\"cart-in-box\">
  42.         ";
  43.         // line 7
  44.         $context["totalPrice"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_price();
  45.         // line 8
  46.         echo "        ";
  47.         $context["totalQuantity"] = $this->extensions['Eccube\Twig\Extension\CartServiceExtension']->get_carts_total_quantity();
  48.         // line 9
  49.         echo "        <a href=\"";
  50.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  51.         echo "\" rel=\"nofollow\">
  52.           <img class=\"cart-img\" width=\"150px\" height=\"50px\" src=\"/images/header/cart.png\" alt=\"カートを見る\" onmouseover=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/cart_on.png'\" onmouseout=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/cart.png'\">
  53.         </a>
  54.         <div class=\"item-count\">
  55.           商品合計:&nbsp;
  56.           <span><b>";
  57.         // line 15
  58.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'15$this->source); })()), 15$this->source)), "html"nulltrue);
  59.         echo "</b>点</span>
  60.         </div>
  61.         <div class=\"return-shipping\">
  62.           &yen;&nbsp;<b>";
  63.         // line 19
  64.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["totalPrice"]) || array_key_exists("totalPrice"$context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.'19$this->source); })()), 19$this->source)), "html"nulltrue);
  65.         echo "</b>
  66.         </div>
  67.         <div class=\"tax-in\">(税込)</div>
  68.         <a href=\"/contact/fax/\" rel=\"nofollow\">
  69.           <img width=\"110px\" height=\"50px\" class=\"fax-img\" src=\"/images/header/fax.png\" alt=\"FAX\" onmouseover=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/fax_on.png'\" onmouseout=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/fax.png'\">
  70.         </a>
  71.         <a href=\"";
  72.         // line 26
  73.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  74.         echo "\" rel=\"nofollow\">
  75.           <img width=\"130px\" height=\"50px\" class=\"mail-img\" src=\"/images/header/mail.png\" alt=\"メール\" onmouseover=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/mail_on.png'\" onmouseout=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/mail.png'\">
  76.         </a>
  77.       </div>
  78.     </div>
  79.   </div>
  80. </div>
  81. <div id=\"header-2\">
  82. \t";
  83.         // line 34
  84.         $context["current_path"] = twig_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.'34$this->source); })()), "request", [], "any"falsefalsetrue34), "get", [=> "_route"], "method"falsefalsetrue34);
  85.         // line 35
  86.         echo "  <div class=\"header-2-inner\">
  87.     <div class=\"fl\">
  88.       <div id=\"logo\">
  89. \t      ";
  90.         // line 38
  91.         if (((isset($context["current_path"]) || array_key_exists("current_path"$context) ? $context["current_path"] : (function () { throw new RuntimeError('Variable "current_path" does not exist.'38$this->source); })()) == "homepage")) {
  92.             // line 39
  93.             echo "          <a href=\"";
  94.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  95.             echo "\"><h1><img width=\"230px\" height=\"75px\" src=\"/images/header/site_logo.jpg\" alt=\"";
  96.             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\ServiceExtension']->SetHeaderH1(), "html"nulltrue);
  97.             echo "\"></h1></a>
  98.         ";
  99.         } else {
  100.             // line 41
  101.             echo "          <a href=\"";
  102.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  103.             echo "\"><img width=\"230px\" height=\"75px\" src=\"/images/header/site_logo.jpg\" alt=\"";
  104.             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\ServiceExtension']->SetHeaderH1(), "html"nulltrue);
  105.             echo "\"></a>
  106.         ";
  107.         }
  108.         // line 43
  109.         echo "      </div>
  110.     </div>
  111.     <div class=\"fr\">
  112.       <img width=\"450px\" height=\"55px\" src=\"/images/header/service.jpg\" alt=\"ユニフォーム ネット販売最大手の安心感が誇るサービスと実績\">
  113.       <img width=\"280px\" height=\"85px\" src=\"/images/header/freedial.jpg\" alt=\"電話注文できます 見積り、お問合せは無料\">
  114.     </div>
  115.   </div>
  116. </div>
  117. <div id=\"header-3\">
  118.   <div class=\"header-3-inner\">
  119.     <div class=\"fl\">
  120.       <form class=\"d-flex flex-center-vertial\" style=\"width: 492px; height: 46.5px\" action=\"";
  121.         // line 54
  122.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("item_searchlist");
  123.         echo "\" method=\"get\">
  124.         <input type=\"hidden\" name=\"hantei\" value=\"検索\">
  125.         <div class=\"serch-box\">
  126.           <input type=\"text\" name=\"searchtext\" value=\"";
  127.         // line 57
  128.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruetrue57), "get", [=> "searchtext"], "method"truetruetrue57) && (twig_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.'57$this->source); })()), "request", [], "any"falsefalsetrue57), "get", [=> "searchtext"], "method"falsefalsetrue57) != ""))) {
  129.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_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.'57$this->source); })()), "request", [], "any"falsefalsetrue57), "get", [=> "searchtext"], "method"falsefalsetrue57), 57$this->source), "html"nulltrue);
  130.         }
  131.         echo "\" placeholder=\"商品名、品番、ブランド、キーワード\" autocomplete=\"off\" style=\"height: 34px; width: ";
  132.         echo (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) ? ("436px;") : ("442px;"));
  133.         echo "\" required />
  134.           <input type=\"image\" name=\"image\" src=\"/images/header/search.png\" class=\"fl\" alt=\"検索\" width=\"50\" height=\"34\" />
  135.         </div>
  136.       </form>
  137.     </div>
  138.     <div class=\"login-area fr\">
  139.       ";
  140.         // line 63
  141.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  142.             // line 64
  143.             echo "        <div id=\"loggin\">
  144. \t\t\t\t\t<div class=\"loggin-box\">
  145. \t\t\t\t\t\t<div class=\"loggin-detail\">
  146.               <span>";
  147.             // line 67
  148.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPhpFunctions("mb_strimwidth"$this->sandbox->ensureToStringAllowed(twig_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.'67$this->source); })()), "user", [], "any"falsefalsetrue67), "company_name", [], "any"falsefalsetrue67), 67$this->source), 050"...");
  149.             echo "</span>
  150. \t\t\t\t\t\t</div>
  151. \t\t\t\t\t\t<div class=\"loggin-detail mt5px\">
  152.               <span>";
  153.             // line 70
  154.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPhpFunctions("mb_strimwidth"$this->sandbox->ensureToStringAllowed(twig_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.'70$this->source); })()), "user", [], "any"falsefalsetrue70), "full_name", [], "any"falsefalsetrue70), 70$this->source), 050"...");
  155.             echo "</span> 様 【お客様番号】<span>";
  156.             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\ServiceExtension']->GetCustomerBangou($this->sandbox->ensureToStringAllowed(twig_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.'70$this->source); })()), "user", [], "any"falsefalsetrue70), "LmCustomerId", [], "any"falsefalsetrue70), 70$this->source)), "html"nulltrue);
  157.             echo "</span>
  158. \t\t\t\t\t\t</div>
  159. \t\t\t\t\t</div>
  160.           <div class=\"mt10px fl\">
  161.             <a href=\"";
  162.             // line 74
  163.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
  164.             echo "\" rel=\"nofollow\">
  165.               <img src=\"/images/header/mypage.png\" alt=\"マイページ\" width=\"80\" height=\"25\" />
  166.             </a>
  167.             <a class=\"ml10px\" href=\"";
  168.             // line 77
  169.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("logout");
  170.             echo "\" rel=\"nofollow\">
  171.               <img src=\"/images/header/logout.png\" alt=\"ログアウト\" width=\"80\" height=\"25\" />
  172.             </a>
  173.           </div>
  174. \t\t\t\t</div>
  175.       ";
  176.         } else {
  177.             // line 83
  178.             echo "        <div class=\"welcome-area flex\">
  179. \t\t\t\t\t<div class=\"sitemap-link\">
  180. \t\t\t\t\t\t<a href=\"/sitemap/\">サイトマップ</a>
  181. \t\t\t\t\t</div>
  182. \t\t\t\t\t<ul id=\"welcome-msg\">
  183. \t\t\t\t\t\t<li>
  184. \t\t\t\t\t\t\t<span>ようこそ ゲスト様</span>
  185. \t\t\t\t\t\t\t<a href=\"";
  186.             // line 91
  187.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  188.             echo "\" rel=\"nofollow\"><img src=\"/images/header/member.png\" alt=\"新規会員登録\" width=\"95\" height=\"25\" /></a>
  189. \t\t\t\t\t\t</li>
  190. \t\t\t\t\t\t<li>
  191. \t\t\t\t\t\t\t<span><b>再注文</b></span>
  192. \t\t\t\t\t\t\t<span>ならまずログイン!</span><a href=\"/mypage/login/\" rel=\"nofollow\"><img src=\"/images/header/login.png\" alt=\"ログイン\" width=\"75\" height=\"25\" /></a>
  193. \t\t\t\t\t\t</li>
  194. \t\t\t\t\t</ul>
  195. \t\t\t\t</div><!-- /.flex -->
  196.       ";
  197.         }
  198.         // line 100
  199.         echo "    </div>
  200.   </div>
  201. </div>
  202. ";
  203.         
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  205.         
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  207.     }
  208.     public function getTemplateName()
  209.     {
  210.         return "Block/lm_global_header.twig";
  211.     }
  212.     public function isTraitable()
  213.     {
  214.         return false;
  215.     }
  216.     public function getDebugInfo()
  217.     {
  218.         return array (  212 => 100,  200 => 91,  190 => 83,  181 => 77,  175 => 74,  166 => 70,  160 => 67,  155 => 64,  153 => 63,  140 => 57,  134 => 54,  121 => 43,  113 => 41,  105 => 39,  103 => 38,  98 => 35,  96 => 34,  85 => 26,  75 => 19,  68 => 15,  58 => 9,  55 => 8,  53 => 7,  45 => 1,);
  219.     }
  220.     public function getSourceContext()
  221.     {
  222.         return new Source("<div id=\"header-1-wrapper\">
  223.   <div id=\"header-1\">
  224.     <div id=\"header-1-1\">
  225.       <div id=\"header-1-1-1\" class=\"s\">
  226.       </div>
  227.       <div class=\"cart-in-box\">
  228.         {% set totalPrice = get_carts_total_price() %}
  229.         {% set totalQuantity = get_carts_total_quantity() %}
  230.         <a href=\"{{ url('cart') }}\" rel=\"nofollow\">
  231.           <img class=\"cart-img\" width=\"150px\" height=\"50px\" src=\"/images/header/cart.png\" alt=\"カートを見る\" onmouseover=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/cart_on.png'\" onmouseout=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/cart.png'\">
  232.         </a>
  233.         <div class=\"item-count\">
  234.           商品合計:&nbsp;
  235.           <span><b>{{ totalQuantity | number_format }}</b>点</span>
  236.         </div>
  237.         <div class=\"return-shipping\">
  238.           &yen;&nbsp;<b>{{ totalPrice | number_format }}</b>
  239.         </div>
  240.         <div class=\"tax-in\">(税込)</div>
  241.         <a href=\"/contact/fax/\" rel=\"nofollow\">
  242.           <img width=\"110px\" height=\"50px\" class=\"fax-img\" src=\"/images/header/fax.png\" alt=\"FAX\" onmouseover=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/fax_on.png'\" onmouseout=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/fax.png'\">
  243.         </a>
  244.         <a href=\"{{ url('contact') }}\" rel=\"nofollow\">
  245.           <img width=\"130px\" height=\"50px\" class=\"mail-img\" src=\"/images/header/mail.png\" alt=\"メール\" onmouseover=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/mail_on.png'\" onmouseout=\"this.src='https://img0.land-mark.biz/ut_img/public_images/header/mail.png'\">
  246.         </a>
  247.       </div>
  248.     </div>
  249.   </div>
  250. </div>
  251. <div id=\"header-2\">
  252. \t{% set current_path = app.request.get('_route') %}
  253.   <div class=\"header-2-inner\">
  254.     <div class=\"fl\">
  255.       <div id=\"logo\">
  256. \t      {% if current_path == 'homepage' %}
  257.           <a href=\"{{ url('homepage') }}\"><h1><img width=\"230px\" height=\"75px\" src=\"/images/header/site_logo.jpg\" alt=\"{{ HeaderH1() }}\"></h1></a>
  258.         {% else %}
  259.           <a href=\"{{ url('homepage') }}\"><img width=\"230px\" height=\"75px\" src=\"/images/header/site_logo.jpg\" alt=\"{{ HeaderH1() }}\"></a>
  260.         {% endif %}
  261.       </div>
  262.     </div>
  263.     <div class=\"fr\">
  264.       <img width=\"450px\" height=\"55px\" src=\"/images/header/service.jpg\" alt=\"ユニフォーム ネット販売最大手の安心感が誇るサービスと実績\">
  265.       <img width=\"280px\" height=\"85px\" src=\"/images/header/freedial.jpg\" alt=\"電話注文できます 見積り、お問合せは無料\">
  266.     </div>
  267.   </div>
  268. </div>
  269. <div id=\"header-3\">
  270.   <div class=\"header-3-inner\">
  271.     <div class=\"fl\">
  272.       <form class=\"d-flex flex-center-vertial\" style=\"width: 492px; height: 46.5px\" action=\"{{ url('item_searchlist') }}\" method=\"get\">
  273.         <input type=\"hidden\" name=\"hantei\" value=\"検索\">
  274.         <div class=\"serch-box\">
  275.           <input type=\"text\" name=\"searchtext\" value=\"{% if app.request.get('searchtext') is defined and app.request.get('searchtext') != '' %}{{ app.request.get('searchtext') }}{% endif %}\" placeholder=\"商品名、品番、ブランド、キーワード\" autocomplete=\"off\" style=\"height: 34px; width: {{ is_granted('ROLE_USER') ? '436px;' : '442px;' }}\" required />
  276.           <input type=\"image\" name=\"image\" src=\"/images/header/search.png\" class=\"fl\" alt=\"検索\" width=\"50\" height=\"34\" />
  277.         </div>
  278.       </form>
  279.     </div>
  280.     <div class=\"login-area fr\">
  281.       {% if is_granted('ROLE_USER') %}
  282.         <div id=\"loggin\">
  283. \t\t\t\t\t<div class=\"loggin-box\">
  284. \t\t\t\t\t\t<div class=\"loggin-detail\">
  285.               <span>{{ php_mb_strimwidth(app.user.company_name, 0, 50, \"...\") }}</span>
  286. \t\t\t\t\t\t</div>
  287. \t\t\t\t\t\t<div class=\"loggin-detail mt5px\">
  288.               <span>{{ php_mb_strimwidth(app.user.full_name, 0, 50, \"...\") }}</span> 様 【お客様番号】<span>{{ GetCustomerBangou(app.user.LmCustomerId) }}</span>
  289. \t\t\t\t\t\t</div>
  290. \t\t\t\t\t</div>
  291.           <div class=\"mt10px fl\">
  292.             <a href=\"{{ url('mypage') }}\" rel=\"nofollow\">
  293.               <img src=\"/images/header/mypage.png\" alt=\"マイページ\" width=\"80\" height=\"25\" />
  294.             </a>
  295.             <a class=\"ml10px\" href=\"{{ url('logout') }}\" rel=\"nofollow\">
  296.               <img src=\"/images/header/logout.png\" alt=\"ログアウト\" width=\"80\" height=\"25\" />
  297.             </a>
  298.           </div>
  299. \t\t\t\t</div>
  300.       {% else %}
  301.         <div class=\"welcome-area flex\">
  302. \t\t\t\t\t<div class=\"sitemap-link\">
  303. \t\t\t\t\t\t<a href=\"/sitemap/\">サイトマップ</a>
  304. \t\t\t\t\t</div>
  305. \t\t\t\t\t<ul id=\"welcome-msg\">
  306. \t\t\t\t\t\t<li>
  307. \t\t\t\t\t\t\t<span>ようこそ ゲスト様</span>
  308. \t\t\t\t\t\t\t<a href=\"{{ url('entry') }}\" rel=\"nofollow\"><img src=\"/images/header/member.png\" alt=\"新規会員登録\" width=\"95\" height=\"25\" /></a>
  309. \t\t\t\t\t\t</li>
  310. \t\t\t\t\t\t<li>
  311. \t\t\t\t\t\t\t<span><b>再注文</b></span>
  312. \t\t\t\t\t\t\t<span>ならまずログイン!</span><a href=\"/mypage/login/\" rel=\"nofollow\"><img src=\"/images/header/login.png\" alt=\"ログイン\" width=\"75\" height=\"25\" /></a>
  313. \t\t\t\t\t\t</li>
  314. \t\t\t\t\t</ul>
  315. \t\t\t\t</div><!-- /.flex -->
  316.       {% endif %}
  317.     </div>
  318.   </div>
  319. </div>
  320. ""Block/lm_global_header.twig""/var/www/html/app/template/default/Block/lm_global_header.twig");
  321.     }
  322.     
  323.     public function checkSecurity()
  324.     {
  325.         static $tags = array("set" => 7"if" => 38);
  326.         static $filters = array("escape" => 15"number_format" => 15);
  327.         static $functions = array("get_carts_total_price" => 7"get_carts_total_quantity" => 8"url" => 9"HeaderH1" => 39"is_granted" => 57"php_mb_strimwidth" => 67"GetCustomerBangou" => 70);
  328.         try {
  329.             $this->sandbox->checkSecurity(
  330.                 ['set''if'],
  331.                 ['escape''number_format'],
  332.                 ['get_carts_total_price''get_carts_total_quantity''url''HeaderH1''is_granted''php_mb_strimwidth''GetCustomerBangou']
  333.             );
  334.         } catch (SecurityError $e) {
  335.             $e->setSourceContext($this->source);
  336.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  337.                 $e->setTemplateLine($tags[$e->getTagName()]);
  338.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  339.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  340.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  341.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  342.             }
  343.             throw $e;
  344.         }
  345.     }
  346. }