var/cache/dev/twig/46/4627e97a01925d828537a92f878dbaa3.php line 57

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. /* @NotarisFrontend/glossary/index.html.twig */
  14. class __TwigTemplate_9290bc53ab90efa6ab8eab558a4c7a26 extends \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->blocks = [
  23.             'title' => [$this, 'block_title'],
  24.             'extralinks' => [$this, 'block_extralinks'],
  25.             'body' => [$this, 'block_body'],
  26.             'footer' => [$this, 'block_footer'],
  27.             'extrajs' => [$this, 'block_extrajs'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@NotarisFrontend/layout2017.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/glossary/index.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@NotarisFrontend/glossary/index.html.twig"));
  42.         // line 3
  43.         $context["linked_url_nl"] = ((isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 3, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary.nl"));
  44.         // line 4
  45.         $context["linked_url_fr"] = ((isset($context["url_fr"]) || array_key_exists("url_fr", $context) ? $context["url_fr"] : (function () { throw new RuntimeError('Variable "url_fr" does not exist.', 4, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary.fr"));
  46.         // line 1
  47.         $this->parent = $this->loadTemplate("@NotarisFrontend/layout2017.html.twig", "@NotarisFrontend/glossary/index.html.twig", 1);
  48.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 6
  55.     public function block_title($context, array $blocks = [])
  56.     {
  57.         $macros = $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  62.         // line 7
  63.         echo "    ";
  64.         if (array_key_exists("notaryId", $context)) {
  65.             // line 8
  66.             echo "        <title>";
  67.             echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 8, $this->source); })()), "header1", [], "any", false, false, false, 8), ["<BR />" => " "]), "html", null, true);
  68.             echo " - ";
  69.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
  70.             echo "</title>
  71.     ";
  72.         } else {
  73.             // line 10
  74.             echo "        <title>";
  75.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
  76.             echo " ";
  77.             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("alg_basetitle"), "html", null, true);
  78.             echo "</title>
  79.     ";
  80.         }
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 14
  87.     public function block_extralinks($context, array $blocks = [])
  88.     {
  89.         $macros = $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extralinks"));
  94.         // line 15
  95.         echo "    ";
  96.         $context["hreflang_start_nl"] = (((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 15, $this->source); })()) . "://www.") . (isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 15, $this->source); })()));
  97.         // line 16
  98.         echo "    ";
  99.         $context["hreflang_start_x"] = (((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 16, $this->source); })()) . "://www.") . (isset($context["url_nl"]) || array_key_exists("url_nl", $context) ? $context["url_nl"] : (function () { throw new RuntimeError('Variable "url_nl" does not exist.', 16, $this->source); })()));
  100.         // line 17
  101.         echo "    ";
  102.         $context["hreflang_start_fr"] = (((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 17, $this->source); })()) . "://www.") . (isset($context["url_fr"]) || array_key_exists("url_fr", $context) ? $context["url_fr"] : (function () { throw new RuntimeError('Variable "url_fr" does not exist.', 17, $this->source); })()));
  103.         // line 18
  104.         echo "
  105.     ";
  106.         // line 19
  107.         $context["hreflang_x"] = ((isset($context["hreflang_start_x"]) || array_key_exists("hreflang_start_x", $context) ? $context["hreflang_start_x"] : (function () { throw new RuntimeError('Variable "hreflang_start_x" does not exist.', 19, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "nl", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 19, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 19, $this->source); })())]));
  108.         // line 20
  109.         echo "
  110.     ";
  111.         // line 21
  112.         $context["hreflang_nl"] = ((isset($context["hreflang_start_nl"]) || array_key_exists("hreflang_start_nl", $context) ? $context["hreflang_start_nl"] : (function () { throw new RuntimeError('Variable "hreflang_start_nl" does not exist.', 21, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "nl", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 21, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 21, $this->source); })())]));
  113.         // line 22
  114.         echo "    ";
  115.         $context["hreflang_fr"] = ((isset($context["hreflang_start_fr"]) || array_key_exists("hreflang_start_fr", $context) ? $context["hreflang_start_fr"] : (function () { throw new RuntimeError('Variable "hreflang_start_fr" does not exist.', 22, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "fr", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 22, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 22, $this->source); })())]));
  116.         // line 23
  117.         echo "
  118.     <link rel=\"alternate\" hreflang=\"nl-be\"
  119.           href=\"";
  120.         // line 25
  121.         echo twig_escape_filter($this->env, (isset($context["hreflang_nl"]) || array_key_exists("hreflang_nl", $context) ? $context["hreflang_nl"] : (function () { throw new RuntimeError('Variable "hreflang_nl" does not exist.', 25, $this->source); })()), "html", null, true);
  122.         echo "\" />
  123.     <link rel=\"alternate\" hreflang=\"fr-be\"
  124.           href=\"";
  125.         // line 27
  126.         echo twig_escape_filter($this->env, (isset($context["hreflang_fr"]) || array_key_exists("hreflang_fr", $context) ? $context["hreflang_fr"] : (function () { throw new RuntimeError('Variable "hreflang_fr" does not exist.', 27, $this->source); })()), "html", null, true);
  127.         echo "\" />
  128.     ";
  129.         // line 29
  130.         if (array_key_exists("notaryId", $context)) {
  131.             // line 30
  132.             echo "        ";
  133.             if ((twig_length_filter($this->env, (isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 30, $this->source); })())) > 0)) {
  134.                 // line 31
  135.                 echo "            ";
  136.                 $context['_parent'] = $context;
  137.                 $context['_seq'] = twig_ensure_traversable((isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 31, $this->source); })()));
  138.                 foreach ($context['_seq'] as $context["key"] => $context["site"]) {
  139.                     // line 32
  140.                     echo "                ";
  141.                     if (($context["key"] == "nl")) {
  142.                         // line 33
  143.                         echo "                    ";
  144.                         $context["hreflang_start_nl"] = (((isset($context["scheme_url"]) || array_key_exists("scheme_url", $context) ? $context["scheme_url"] : (function () { throw new RuntimeError('Variable "scheme_url" does not exist.', 33, $this->source); })()) . "://") . $context["site"]);
  145.                         // line 34
  146.                         echo "                ";
  147.                     }
  148.                     // line 35
  149.                     echo "                ";
  150.                     if (($context["key"] == "fr")) {
  151.                         // line 36
  152.                         echo "                    ";
  153.                         $context["hreflang_start_fr"] = (((isset($context["scheme_url"]) || array_key_exists("scheme_url", $context) ? $context["scheme_url"] : (function () { throw new RuntimeError('Variable "scheme_url" does not exist.', 36, $this->source); })()) . "://") . $context["site"]);
  154.                         // line 37
  155.                         echo "                ";
  156.                     }
  157.                     // line 38
  158.                     echo "            ";
  159.                 }
  160.                 $_parent = $context['_parent'];
  161.                 unset($context['_seq'], $context['_iterated'], $context['key'], $context['site'], $context['_parent'], $context['loop']);
  162.                 $context = array_intersect_key($context, $_parent) + $_parent;
  163.                 // line 39
  164.                 echo "            ";
  165.                 $context["hreflang_start_x"] = (((isset($context["scheme_url"]) || array_key_exists("scheme_url", $context) ? $context["scheme_url"] : (function () { throw new RuntimeError('Variable "scheme_url" does not exist.', 39, $this->source); })()) . "://") . twig_get_attribute($this->env, $this->source, (isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 39, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["notaryId"]) || array_key_exists("notaryId", $context) ? $context["notaryId"] : (function () { throw new RuntimeError('Variable "notaryId" does not exist.', 39, $this->source); })()), "locale", [], "any", false, false, false, 39), [], "array", false, false, false, 39));
  166.                 // line 40
  167.                 echo "            ";
  168.                 $context["hreflang_x"] = ((isset($context["hreflang_start_x"]) || array_key_exists("hreflang_start_x", $context) ? $context["hreflang_start_x"] : (function () { throw new RuntimeError('Variable "hreflang_start_x" does not exist.', 40, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => twig_get_attribute($this->env, $this->source, (isset($context["notaryId"]) || array_key_exists("notaryId", $context) ? $context["notaryId"] : (function () { throw new RuntimeError('Variable "notaryId" does not exist.', 40, $this->source); })()), "locale", [], "any", false, false, false, 40), "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 40, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 40, $this->source); })())]));
  169.                 // line 41
  170.                 echo "        ";
  171.             }
  172.             // line 42
  173.             echo "
  174.         ";
  175.             // line 43
  176.             $context["hreflang_nl"] = ((isset($context["hreflang_start_nl"]) || array_key_exists("hreflang_start_nl", $context) ? $context["hreflang_start_nl"] : (function () { throw new RuntimeError('Variable "hreflang_start_nl" does not exist.', 43, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "nl", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 43, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 43, $this->source); })())]));
  177.             // line 44
  178.             echo "        ";
  179.             $context["hreflang_fr"] = ((isset($context["hreflang_start_fr"]) || array_key_exists("hreflang_start_fr", $context) ? $context["hreflang_start_fr"] : (function () { throw new RuntimeError('Variable "hreflang_start_fr" does not exist.', 44, $this->source); })()) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => "fr", "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 44, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 44, $this->source); })())]));
  180.             // line 45
  181.             echo "
  182.         <link rel=\"alternate\" hreflang=\"nl\"
  183.               href=\"";
  184.             // line 47
  185.             echo twig_escape_filter($this->env, (isset($context["hreflang_nl"]) || array_key_exists("hreflang_nl", $context) ? $context["hreflang_nl"] : (function () { throw new RuntimeError('Variable "hreflang_nl" does not exist.', 47, $this->source); })()), "html", null, true);
  186.             echo "\" />
  187.         <link rel=\"alternate\" hreflang=\"fr\"
  188.               href=\"";
  189.             // line 49
  190.             echo twig_escape_filter($this->env, (isset($context["hreflang_fr"]) || array_key_exists("hreflang_fr", $context) ? $context["hreflang_fr"] : (function () { throw new RuntimeError('Variable "hreflang_fr" does not exist.', 49, $this->source); })()), "html", null, true);
  191.             echo "\" />
  192.     ";
  193.         }
  194.         // line 51
  195.         echo "
  196.     <link rel=\"canonical\" href=\"";
  197.         // line 52
  198.         echo twig_escape_filter($this->env, ((((isset($context["url_scheme"]) || array_key_exists("url_scheme", $context) ? $context["url_scheme"] : (function () { throw new RuntimeError('Variable "url_scheme" does not exist.', 52, $this->source); })()) . "://www.") . twig_get_attribute($this->env, $this->source, $context, ("url_" . (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 52, $this->source); })())), [], "array", false, false, false, 52)) . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["_locale" => (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 52, $this->source); })()), "selected_letter" => (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 52, $this->source); })()), "item" => (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 52, $this->source); })())])), "html", null, true);
  199.         echo "\"  />
  200.     <link rel=\"alternate\" hreflang=\"x-default\"
  201.           href=\"";
  202.         // line 56
  203.         echo twig_escape_filter($this->env, (isset($context["hreflang_x"]) || array_key_exists("hreflang_x", $context) ? $context["hreflang_x"] : (function () { throw new RuntimeError('Variable "hreflang_x" does not exist.', 56, $this->source); })()), "html", null, true);
  204.         echo "\" />
  205. ";
  206.         
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  208.         
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  210.     }
  211.     // line 60
  212.     public function block_body($context, array $blocks = [])
  213.     {
  214.         $macros = $this->macros;
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  219.         // line 61
  220.         echo "<!-- CONTENT -->
  221. <section class=\"content u-padding-top-large\">
  222.     <div class=\"u-hidden@mobile hidesmartphone\">
  223.       ";
  224.         // line 66
  225.         echo "        <aside id=\"content-left\" class=\"content-left-small\">
  226.             <nav class=\"notaris-nav\">
  227.                 <ul class=\"u-margin-left-none u-padding-left-none\">
  228.                     <li class=\"active\"><div class=\"activestate\" style=\"height: 32px; \">&nbsp;</div><a href=\"";
  229.         // line 69
  230.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary");
  231.         echo "\" title=\"";
  232.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
  233.         echo "\">";
  234.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("p_woordenboek"), "html", null, true);
  235.         echo "</a></li>
  236.                 </ul>
  237.             </nav>
  238.         </aside>
  239.     </div>
  240.     ";
  241.         // line 75
  242.         if ( !(isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 75, $this->source); })())) {
  243.             // line 76
  244.             echo "        ";
  245.             $context["selected_letter"] = "A";
  246.             // line 77
  247.             echo "    ";
  248.         }
  249.         // line 78
  250.         echo "
  251.     <!-- word list -->
  252.     <div id=\"content-center\" class=\"content-center-large notaris\">
  253.         <div id=\"content-center-header\">
  254.             <article class=\"niveau3 fillcolor\">
  255.                 <div class=\"article-content\">
  256.                     <h1 id=\"activeListWord\" class=\"";
  257.         // line 84
  258.         echo twig_escape_filter($this->env, twig_lower_filter($this->env, (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 84, $this->source); })())), "html", null, true);
  259.         echo "\">";
  260.         echo twig_escape_filter($this->env, twig_lower_filter($this->env, (isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 84, $this->source); })())), "html", null, true);
  261.         echo "</h1>
  262.                     <ul class=\"alfabet\">
  263.                         ";
  264.         // line 86
  265.         $context['_parent'] = $context;
  266.         $context['_seq'] = twig_ensure_traversable((isset($context["alphas"]) || array_key_exists("alphas", $context) ? $context["alphas"] : (function () { throw new RuntimeError('Variable "alphas" does not exist.', 86, $this->source); })()));
  267.         foreach ($context['_seq'] as $context["_key"] => $context["alpha"]) {
  268.             // line 87
  269.             echo "                        <li>
  270.                             ";
  271.             // line 88
  272.             if (twig_in_filter($context["alpha"], (isset($context["letters"]) || array_key_exists("letters", $context) ? $context["letters"] : (function () { throw new RuntimeError('Variable "letters" does not exist.', 88, $this->source); })()))) {
  273.                 // line 89
  274.                 echo "                            <a href=\"";
  275.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_glossary", ["selected_letter" => $context["alpha"]]), "html", null, true);
  276.                 echo "\" title=\"";
  277.                 echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["alpha"]), "html", null, true);
  278.                 echo "\" ";
  279.                 if (((isset($context["selected_letter"]) || array_key_exists("selected_letter", $context) ? $context["selected_letter"] : (function () { throw new RuntimeError('Variable "selected_letter" does not exist.', 89, $this->source); })()) == $context["alpha"])) {
  280.                     echo "class=\"hi\"";
  281.                 }
  282.                 echo ">";
  283.                 echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["alpha"]), "html", null, true);
  284.                 echo "</a>
  285.                             ";
  286.             } else {
  287.                 // line 91
  288.                 echo "                            <span>";
  289.                 echo twig_escape_filter($this->env, twig_lower_filter($this->env, $context["alpha"]), "html", null, true);
  290.                 echo "</span>
  291.                             ";
  292.             }
  293.             // line 93
  294.             echo "                        </li>
  295.                         ";
  296.         }
  297.         $_parent = $context['_parent'];
  298.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['alpha'], $context['_parent'], $context['loop']);
  299.         $context = array_intersect_key($context, $_parent) + $_parent;
  300.         // line 95
  301.         echo "                    </ul>
  302.                     <div class=\"cleaner\">&nbsp;</div>
  303.                 </div>
  304.             </article>
  305.         </div>
  306.         <section id=\"info\" class=\"no-margin\">
  307.             <div id=\"info-content\" class=\"niveau3\">
  308.                 ";
  309.         // line 104
  310.         if ((isset($context["glossaries"]) || array_key_exists("glossaries", $context) ? $context["glossaries"] : (function () { throw new RuntimeError('Variable "glossaries" does not exist.', 104, $this->source); })())) {
  311.             // line 105
  312.             echo "                    ";
  313.             $context['_parent'] = $context;
  314.             $context['_seq'] = twig_ensure_traversable((isset($context["glossaries"]) || array_key_exists("glossaries", $context) ? $context["glossaries"] : (function () { throw new RuntimeError('Variable "glossaries" does not exist.', 105, $this->source); })()));
  315.             foreach ($context['_seq'] as $context["_key"] => $context["glossary"]) {
  316.                 // line 106
  317.                 echo "                        <article>
  318.                             <a name=\"";
  319.                 // line 107
  320.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "slug", [], "any", false, false, false, 107), "html", null, true);
  321.                 echo "\"></a>
  322.                             <h2>
  323.                                 <a class=\"wordlistitem\" href=\"#";
  324.                 // line 109
  325.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "slug", [], "any", false, false, false, 109), "html", null, true);
  326.                 echo "\" title=\"";
  327.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "term", [], "any", false, false, false, 109), "html", null, true);
  328.                 echo "\">";
  329.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["glossary"], "term", [], "any", false, false, false, 109), "html", null, true);
  330.                 echo "</a>
  331.                             </h2>
  332.                             <div class=\"inner ";
  333.                 // line 111
  334.                 if (((isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 111, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["glossary"], "slug", [], "any", false, false, false, 111))) {
  335.                     echo "innershow";
  336.                 }
  337.                 echo "\">
  338.                                 ";
  339.                 // line 112
  340.                 echo twig_get_attribute($this->env, $this->source, $context["glossary"], "description", [], "any", false, false, false, 112);
  341.                 echo "
  342.                                 <div class=\"c-tags u-padding-bottom-tiny js-tags\">
  343.                                     ";
  344.                 // line 114
  345.                 $context['_parent'] = $context;
  346.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["glossary"], "tags", [], "any", false, false, false, 114));
  347.                 foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  348.                     // line 115
  349.                     echo "                                        <a data-slug=\"";
  350.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 115), "html", null, true);
  351.                     echo "\" data-tag-clicked=\"";
  352.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag_clicked");
  353.                     echo "\" href=\"";
  354.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("notaris_frontend_tag", ["tagSlug" => twig_get_attribute($this->env, $this->source, $context["tag"], "slug", [], "any", false, false, false, 115)]), "html", null, true);
  355.                     echo "\" title=\"";
  356.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 115), "html", null, true);
  357.                     echo "\" class=\"c-tags__item\"><small>";
  358.                     echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["tag"], "name", [], "any", false, false, false, 115), "html", null, true);
  359.                     echo "</small></a>
  360.                                     ";
  361.                 }
  362.                 $_parent = $context['_parent'];
  363.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  364.                 $context = array_intersect_key($context, $_parent) + $_parent;
  365.                 // line 117
  366.                 echo "                                </div>
  367.                                 <div class=\"cleaner\">&nbsp;</div>
  368.                             </div>
  369.                         </article>
  370.                     ";
  371.             }
  372.             $_parent = $context['_parent'];
  373.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['glossary'], $context['_parent'], $context['loop']);
  374.             $context = array_intersect_key($context, $_parent) + $_parent;
  375.             // line 122
  376.             echo "                ";
  377.         }
  378.         // line 123
  379.         echo "             </div>
  380.         </section>
  381.     </div>
  382.     ";
  383.         // line 129
  384.         $this->loadTemplate("@NotarisFrontend/navigation/mobilesubnav.html.twig", "@NotarisFrontend/glossary/index.html.twig", 129)->display(twig_array_merge($context, ["websiteSlug" => "", "isSven" => false, "isHome" => false, "subsite" => ""]));
  385.         // line 130
  386.         echo "</section>
  387. ";
  388.         
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  390.         
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  392.     }
  393.     // line 135
  394.     public function block_footer($context, array $blocks = [])
  395.     {
  396.         $macros = $this->macros;
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  399.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  401.         // line 136
  402.         echo "    ";
  403.         if (((isset($context["_locale"]) || array_key_exists("_locale", $context) ? $context["_locale"] : (function () { throw new RuntimeError('Variable "_locale" does not exist.', 136, $this->source); })()) == "fr")) {
  404.             // line 137
  405.             echo "        <div class=\"footer_message\">
  406.             <div class=\"container\">
  407.             </div>
  408.         </div>
  409.         <!-- sitemap -->
  410.         <div class=\"sitemap_wrapper\">
  411.             <div class=\"container\">
  412.                 <div class=\"clear\"></div>
  413.             </div>
  414.         </div>
  415.     ";
  416.         }
  417.         
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  419.         
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  421.     }
  422.     // line 154
  423.     public function block_extrajs($context, array $blocks = [])
  424.     {
  425.         $macros = $this->macros;
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "extrajs"));
  430.         
  431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  432.         
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  434.     }
  435.     public function getTemplateName()
  436.     {
  437.         return "@NotarisFrontend/glossary/index.html.twig";
  438.     }
  439.     public function isTraitable()
  440.     {
  441.         return false;
  442.     }
  443.     public function getDebugInfo()
  444.     {
  445.         return array (  468 => 154,  446 => 137,  443 => 136,  433 => 135,  420 => 130,  418 => 129,  410 => 123,  407 => 122,  397 => 117,  380 => 115,  376 => 114,  371 => 112,  365 => 111,  356 => 109,  351 => 107,  348 => 106,  343 => 105,  341 => 104,  330 => 95,  323 => 93,  317 => 91,  303 => 89,  301 => 88,  298 => 87,  294 => 86,  287 => 84,  279 => 78,  276 => 77,  273 => 76,  271 => 75,  258 => 69,  253 => 66,  247 => 61,  237 => 60,  225 => 56,  218 => 52,  215 => 51,  210 => 49,  205 => 47,  201 => 45,  198 => 44,  196 => 43,  193 => 42,  190 => 41,  187 => 40,  184 => 39,  178 => 38,  175 => 37,  172 => 36,  169 => 35,  166 => 34,  163 => 33,  160 => 32,  155 => 31,  152 => 30,  150 => 29,  145 => 27,  140 => 25,  136 => 23,  133 => 22,  131 => 21,  128 => 20,  126 => 19,  123 => 18,  120 => 17,  117 => 16,  114 => 15,  104 => 14,  88 => 10,  80 => 8,  77 => 7,  67 => 6,  56 => 1,  54 => 4,  52 => 3,  39 => 1,);
  446.     }
  447.     public function getSourceContext()
  448.     {
  449.         return new Source("{% extends '@NotarisFrontend/layout2017.html.twig' %}
  450. {% set linked_url_nl = url_nl ~ path('notaris_frontend_glossary.nl') %}
  451. {% set linked_url_fr = url_fr ~ path('notaris_frontend_glossary.fr') %}
  452. {% block title %}
  453.     {% if notaryId is defined %}
  454.         <title>{{ info.header1  | replace({\"<BR />\":\" \"}) }} - {{ 'p_woordenboek' | trans }}</title>
  455.     {% else %}
  456.         <title>{{ 'p_woordenboek' | trans }} {{ 'alg_basetitle' | trans }}</title>
  457.     {% endif %}
  458. {% endblock %}
  459. {% block extralinks %}
  460.     {% set hreflang_start_nl = url_scheme ~ '://www.' ~ url_nl %}
  461.     {% set hreflang_start_x = url_scheme ~ '://www.' ~ url_nl %}
  462.     {% set hreflang_start_fr = url_scheme ~ '://www.' ~ url_fr %}
  463.     {% set hreflang_x = hreflang_start_x ~ path('notaris_frontend_glossary', {_locale: 'nl', selected_letter: selected_letter, item: item}) %}
  464.     {% set hreflang_nl = hreflang_start_nl ~ path('notaris_frontend_glossary', {_locale: 'nl', selected_letter: selected_letter, item: item}) %}
  465.     {% set hreflang_fr = hreflang_start_fr ~ path('notaris_frontend_glossary', {_locale: 'fr', selected_letter: selected_letter, item: item}) %}
  466.     <link rel=\"alternate\" hreflang=\"nl-be\"
  467.           href=\"{{ hreflang_nl }}\" />
  468.     <link rel=\"alternate\" hreflang=\"fr-be\"
  469.           href=\"{{ hreflang_fr }}\" />
  470.     {% if notaryId is defined %}
  471.         {% if sites | length > 0 %}
  472.             {% for key, site in sites %}
  473.                 {% if key == 'nl' %}
  474.                     {% set hreflang_start_nl = scheme_url ~ '://' ~ site %}
  475.                 {% endif %}
  476.                 {% if key == 'fr' %}
  477.                     {% set hreflang_start_fr = scheme_url ~ '://' ~ site %}
  478.                 {% endif %}
  479.             {% endfor %}
  480.             {% set hreflang_start_x = scheme_url ~ '://' ~ sites[notaryId.locale] %}
  481.             {% set hreflang_x = hreflang_start_x ~ path('notaris_frontend_glossary', {_locale: notaryId.locale, selected_letter: selected_letter, item: item}) %}
  482.         {% endif %}
  483.         {% set hreflang_nl = hreflang_start_nl ~ path('notaris_frontend_glossary', {_locale: 'nl', selected_letter: selected_letter, item: item}) %}
  484.         {% set hreflang_fr = hreflang_start_fr ~ path('notaris_frontend_glossary', {_locale: 'fr', selected_letter: selected_letter, item: item}) %}
  485.         <link rel=\"alternate\" hreflang=\"nl\"
  486.               href=\"{{ hreflang_nl }}\" />
  487.         <link rel=\"alternate\" hreflang=\"fr\"
  488.               href=\"{{ hreflang_fr }}\" />
  489.     {% endif %}
  490.     <link rel=\"canonical\" href=\"{{ url_scheme ~ '://www.' ~ _context['url_' ~ locale] ~ path('notaris_frontend_glossary', {_locale: locale, selected_letter: selected_letter, item: item}) }}\"  />
  491.     <link rel=\"alternate\" hreflang=\"x-default\"
  492.           href=\"{{ hreflang_x }}\" />
  493. {% endblock %}
  494. {% block body %}
  495. <!-- CONTENT -->
  496. <section class=\"content u-padding-top-large\">
  497.     <div class=\"u-hidden@mobile hidesmartphone\">
  498.       {#include (\"\$root/embeds/sidenav.php\");#}
  499.         <aside id=\"content-left\" class=\"content-left-small\">
  500.             <nav class=\"notaris-nav\">
  501.                 <ul class=\"u-margin-left-none u-padding-left-none\">
  502.                     <li class=\"active\"><div class=\"activestate\" style=\"height: 32px; \">&nbsp;</div><a href=\"{{ path('notaris_frontend_glossary') }}\" title=\"{{ 'p_woordenboek' | trans }}\">{{ 'p_woordenboek' | trans }}</a></li>
  503.                 </ul>
  504.             </nav>
  505.         </aside>
  506.     </div>
  507.     {% if not selected_letter %}
  508.         {% set selected_letter = 'A' %}
  509.     {% endif %}
  510.     <!-- word list -->
  511.     <div id=\"content-center\" class=\"content-center-large notaris\">
  512.         <div id=\"content-center-header\">
  513.             <article class=\"niveau3 fillcolor\">
  514.                 <div class=\"article-content\">
  515.                     <h1 id=\"activeListWord\" class=\"{{ selected_letter | lower }}\">{{ selected_letter | lower }}</h1>
  516.                     <ul class=\"alfabet\">
  517.                         {% for alpha in alphas %}
  518.                         <li>
  519.                             {% if alpha in letters %}
  520.                             <a href=\"{{ path('notaris_frontend_glossary', {selected_letter: alpha}) }}\" title=\"{{ alpha | lower }}\" {% if selected_letter == alpha %}class=\"hi\"{% endif %}>{{ alpha | lower }}</a>
  521.                             {% else %}
  522.                             <span>{{ alpha | lower }}</span>
  523.                             {% endif %}
  524.                         </li>
  525.                         {% endfor %}
  526.                     </ul>
  527.                     <div class=\"cleaner\">&nbsp;</div>
  528.                 </div>
  529.             </article>
  530.         </div>
  531.         <section id=\"info\" class=\"no-margin\">
  532.             <div id=\"info-content\" class=\"niveau3\">
  533.                 {% if glossaries %}
  534.                     {% for glossary in glossaries %}
  535.                         <article>
  536.                             <a name=\"{{ glossary.slug }}\"></a>
  537.                             <h2>
  538.                                 <a class=\"wordlistitem\" href=\"#{{ glossary.slug }}\" title=\"{{ glossary.term }}\">{{ glossary.term }}</a>
  539.                             </h2>
  540.                             <div class=\"inner {% if item == glossary.slug %}innershow{% endif %}\">
  541.                                 {{ glossary.description | raw }}
  542.                                 <div class=\"c-tags u-padding-bottom-tiny js-tags\">
  543.                                     {% for tag in glossary.tags %}
  544.                                         <a data-slug=\"{{ tag.slug }}\" data-tag-clicked=\"{{ path('notaris_frontend_tag_clicked') }}\" href=\"{{ path('notaris_frontend_tag', {'tagSlug': tag.slug}) }}\" title=\"{{ tag.name }}\" class=\"c-tags__item\"><small>{{ tag.name }}</small></a>
  545.                                     {% endfor %}
  546.                                 </div>
  547.                                 <div class=\"cleaner\">&nbsp;</div>
  548.                             </div>
  549.                         </article>
  550.                     {% endfor %}
  551.                 {% endif %}
  552.              </div>
  553.         </section>
  554.     </div>
  555.     {% include '@NotarisFrontend/navigation/mobilesubnav.html.twig' with {'websiteSlug': '', 'isSven':false, 'isHome':false, 'subsite': ''} %}
  556. </section>
  557. {% endblock %}
  558. {% block footer %}
  559.     {% if _locale == \"fr\" %}
  560.         <div class=\"footer_message\">
  561.             <div class=\"container\">
  562.             </div>
  563.         </div>
  564.         <!-- sitemap -->
  565.         <div class=\"sitemap_wrapper\">
  566.             <div class=\"container\">
  567.                 <div class=\"clear\"></div>
  568.             </div>
  569.         </div>
  570.     {% endif %}
  571. {% endblock %}
  572. {% block extrajs %}
  573. {% endblock %}
  574. ", "@NotarisFrontend/glossary/index.html.twig", "/data/sites/web/notarisdc-projectsbe/subsites/apps/default/releases/7/src/Notaris/FrontendBundle/Resources/views/glossary/index.html.twig");
  575.     }
  576. }