var/cache/dev/twig/9e/9e7443ba12e3ae5cc4187e6088e7379954cab3ba1e8bff563e3d3395ec3e3fc9.php line 219

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. /* layout.html.twig */
  14. class __TwigTemplate_29dd8e851c90f2bbac5617f996d710e5bc4d7f9d4d750d8a94b3b7e60e7382bd extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'head_stylesheets' => [$this'block_head_stylesheets'],
  25.             'head_stylesheets_footer' => [$this'block_head_stylesheets_footer'],
  26.             'headscripts' => [$this'block_headscripts'],
  27.             'inlinescripts' => [$this'block_inlinescripts'],
  28.             'snippetscripts' => [$this'block_snippetscripts'],
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html dir=\"ltr\" lang=\"";
  41.         // line 2
  42.         echo twig_escape_filter($this->envtwig_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.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "locale", [], "any"falsefalsefalse2), "html"nulltrue);
  43.         echo "\">
  44. <head>
  45.     
  46.     ";
  47.         // line 6
  48.         $this->loadTemplate("head/metas.html.twig""layout.html.twig"6)->display($context);
  49.         // line 7
  50.         echo "
  51.     ";
  52.         // line 8
  53.         ob_start();
  54.         // line 9
  55.         echo "    
  56.         ";
  57.         // line 10
  58.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "/static/framework/uikit-3.5.6/css/uikit.min.css"], "method"falsefalsefalse10);
  59.         // line 11
  60.         echo "        ";
  61.         // line 12
  62.         echo "        ";
  63.         // line 13
  64.         echo "        ";
  65.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/application.min.css")], "method"falsefalsefalse13);
  66.         // line 14
  67.         echo "        ";
  68.         // line 15
  69.         echo "        <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  70.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  71.         ";
  72.         // line 17
  73.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://fonts.googleapis.com/css2?family=Manjari:wght@100;400;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,500&display=swap"], "method"falsefalsefalse17);
  74.         // line 18
  75.         echo "
  76.         ";
  77.         // line 19
  78.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method"falsefalsefalse19);
  79.         // line 20
  80.         echo "        ";
  81.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/main.js")], "method"falsefalsefalse20);
  82.         // line 21
  83.         echo "        ";
  84.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> "/static/js/exkglobal.js"], "method"falsefalsefalse21);
  85.         // line 22
  86.         echo "        ";
  87.         // line 23
  88.         echo "        ";
  89.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> "https://code.jquery.com/jquery-3.6.0.min.js"], "method"falsefalsefalse23);
  90.         // line 24
  91.         echo "        ";
  92.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> "/static/framework/uikit-3.5.6/js/uikit-icons.min.js"], "method"falsefalsefalse24);
  93.         // line 25
  94.         echo "        ";
  95.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> "/static/framework/uikit-3.5.6/js/uikit.min.js"], "method"falsefalsefalse25);
  96.         // line 26
  97.         echo "        
  98.     ";
  99.         $___internal_39c5875b7a42ed6f18fa8d4ff9d949c4432b0d3f272244647ca6e809ba8079df_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  100.         // line 8
  101.         echo twig_spaceless($___internal_39c5875b7a42ed6f18fa8d4ff9d949c4432b0d3f272244647ca6e809ba8079df_);
  102.         // line 28
  103.         echo "
  104.     ";
  105.         // line 29
  106.         $this->displayBlock('head_stylesheets'$context$blocks);
  107.         // line 32
  108.         echo "    
  109.     ";
  110.         // line 34
  111.         $this->displayBlock('head_stylesheets_footer'$context$blocks);
  112.         // line 37
  113.         echo "
  114.     ";
  115.         // line 38
  116.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'38$this->source); })()))) {
  117.             // line 39
  118.             echo "        ";
  119.             $context["document"] = Pimcore\Model\Document::getById(1);
  120.             // line 40
  121.             echo "    ";
  122.         }
  123.         // line 41
  124.         echo "
  125.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  126.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
  127.     ";
  128.         // line 46
  129.         echo "    <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  130.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  131.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  132.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  133.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  134.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  135.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  136.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  137.     <meta name=\"theme-color\" content=\"#ffffff\">
  138.     ";
  139.         // line 57
  140.         echo "    ";
  141.         $context["cookiebotKey"] = $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotKey");
  142.         // line 58
  143.         echo "    <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"";
  144.         echo twig_escape_filter($this->env, (isset($context["cookiebotKey"]) || array_key_exists("cookiebotKey"$context) ? $context["cookiebotKey"] : (function () { throw new RuntimeError('Variable "cookiebotKey" does not exist.'58$this->source); })()), "html"nulltrue);
  145.         echo "\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>
  146. </head>
  147. <body>
  148.     ";
  149.         // line 64
  150.         echo "    ";
  151.         // line 65
  152.         echo "    ";
  153.         if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name") == "Your website name")) {
  154.             // line 66
  155.             echo "        ";
  156.             echo "<p class=\"uk-alert-danger\" uk-alert>Attention, n'oubliez pas de traduire 'Your website name' et les autres chaines de traduction via Tools > Translations > Shared Translation.</p>";
  157.             echo "
  158.     ";
  159.         }
  160.         // line 68
  161.         echo "    ";
  162.         if ( !twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'68$this->source); })()), "hasProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsefalse68)) {
  163.             // line 69
  164.             echo "        ";
  165.             echo "<p class=\"uk-alert-danger\" uk-alert>Attention, n'oubliez pas de créer la propriété 'politiqueDeConfidentialite' (type Document) à la racine du site et de la faire pointer vers la page Politique de confidentialité (pour le bandeau des cookies).</p>";
  166.             echo "
  167.     ";
  168.         }
  169.         // line 71
  170.         echo "
  171.     ";
  172.         // line 73
  173.         echo "    ";
  174.         $this->loadTemplate("includes/header.html.twig""layout.html.twig"73)->display($context);
  175.         // line 74
  176.         echo "
  177.     ";
  178.         // line 75
  179.         $this->displayBlock("content"$context$blocks);
  180.         echo "
  181.     <input id=\"see-business-detail\" type=\"hidden\" value=\"";
  182.         // line 76
  183.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Voir la fiche"), "html"nulltrue);
  184.         echo "\">
  185.     <input id=\"lieu-partenaire-translate\" type=\"hidden\" value=\"";
  186.         // line 77
  187.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lieu partenaire"), "html"nulltrue);
  188.         echo "\">
  189.    ";
  190.         // line 79
  191.         echo "    ";
  192.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'79$this->source); })())) {
  193.             // line 80
  194.             echo "        ";
  195.             if (twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'80$this->source); })()), "getProperty", [=> "isHomepage"], "method"falsefalsefalse80)) {
  196.                 // line 81
  197.                 echo "            ";
  198.                 echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/" 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.'81$this->source); })()), "request", [], "any"falsefalsefalse81), "locale", [], "any"falsefalsefalse81)) . "/Snippets/newsletter"), ["param" => "formSuccess"]]);
  199.                 echo "
  200.         ";
  201.             } else {
  202.                 // line 83
  203.                 echo "            ";
  204.                 echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/" 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.'83$this->source); })()), "request", [], "any"falsefalsefalse83), "locale", [], "any"falsefalsefalse83)) . "/Snippets/fast-search")]);
  205.                 echo "
  206.         ";
  207.             }
  208.             // line 85
  209.             echo "    ";
  210.         }
  211.         // line 86
  212.         echo "
  213.     ";
  214.         // line 88
  215.         echo "    ";
  216.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'88$this->source); })())) {
  217.             // line 89
  218.             echo "    ";
  219.             if (call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/" 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.'89$this->source); })()), "request", [], "any"falsefalsefalse89), "locale", [], "any"falsefalsefalse89)) . "/Snippets/footer")])) {
  220.                 // line 90
  221.                 echo "        ";
  222.                 echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/" 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.'90$this->source); })()), "request", [], "any"falsefalsefalse90), "locale", [], "any"falsefalsefalse90)) . "/Snippets/footer")]);
  223.                 echo "
  224.     ";
  225.             } else {
  226.                 // line 92
  227.                 echo "        ";
  228.                 echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
  229.                 echo "
  230.     ";
  231.             }
  232.             // line 94
  233.             echo "    ";
  234.         }
  235.         // line 95
  236.         echo "
  237.     ";
  238.         // line 96
  239.         $this->loadTemplate("/includes/unsub-modal.html.twig""layout.html.twig"96)->display($context);
  240.         // line 97
  241.         echo "
  242.     ";
  243.         // line 99
  244.         echo "    ";
  245.         // line 100
  246.         echo "
  247.     ";
  248.         // line 102
  249.         echo "    ";
  250.         $this->displayBlock('headscripts'$context$blocks);
  251.         // line 105
  252.         echo "
  253.     ";
  254.         // line 107
  255.         $this->displayBlock('inlinescripts'$context$blocks);
  256.         // line 110
  257.         echo "
  258.     ";
  259.         // line 112
  260.         $this->displayBlock('snippetscripts'$context$blocks);
  261.         // line 115
  262.         echo "    
  263.     ";
  264.         // line 118
  265.         echo "    
  266.     ";
  267.         // line 143
  268.         echo "    
  269.    
  270. </body>
  271. </html>";
  272.         
  273.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  274.         
  275.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  276.     }
  277.     // line 29
  278.     public function block_head_stylesheets($context, array $blocks = [])
  279.     {
  280.         $macros $this->macros;
  281.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  282.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  283.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  285.         // line 30
  286.         echo "        ";
  287.         echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  288.         echo "
  289.     ";
  290.         
  291.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  292.         
  293.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  294.     }
  295.     // line 34
  296.     public function block_head_stylesheets_footer($context, array $blocks = [])
  297.     {
  298.         $macros $this->macros;
  299.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  300.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  302.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  303.         // line 35
  304.         echo "        
  305.     ";
  306.         
  307.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  308.         
  309.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  310.     }
  311.     // line 102
  312.     public function block_headscripts($context, array $blocks = [])
  313.     {
  314.         $macros $this->macros;
  315.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  316.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  317.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  319.         // line 103
  320.         echo "    ";
  321.         echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
  322.         echo "
  323.     ";
  324.         
  325.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  326.         
  327.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  328.     }
  329.     // line 107
  330.     public function block_inlinescripts($context, array $blocks = [])
  331.     {
  332.         $macros $this->macros;
  333.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  334.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  335.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  336.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  337.         // line 108
  338.         echo "    ";
  339.         echo call_user_func_array($this->env->getFunction('pimcore_inline_script')->getCallable(), []);
  340.         echo "
  341.     ";
  342.         
  343.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  344.         
  345.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  346.     }
  347.     // line 112
  348.     public function block_snippetscripts($context, array $blocks = [])
  349.     {
  350.         $macros $this->macros;
  351.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  352.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  353.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  355.         // line 113
  356.         echo "
  357.     ";
  358.         
  359.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  360.         
  361.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  362.     }
  363.     public function getTemplateName()
  364.     {
  365.         return "layout.html.twig";
  366.     }
  367.     public function isTraitable()
  368.     {
  369.         return false;
  370.     }
  371.     public function getDebugInfo()
  372.     {
  373.         return array (  399 => 113,  389 => 112,  376 => 108,  366 => 107,  353 => 103,  343 => 102,  332 => 35,  322 => 34,  309 => 30,  299 => 29,  286 => 143,  283 => 118,  279 => 115,  277 => 112,  273 => 110,  271 => 107,  267 => 105,  264 => 102,  261 => 100,  259 => 99,  256 => 97,  254 => 96,  251 => 95,  248 => 94,  242 => 92,  236 => 90,  233 => 89,  230 => 88,  227 => 86,  224 => 85,  218 => 83,  212 => 81,  209 => 80,  206 => 79,  202 => 77,  198 => 76,  194 => 75,  191 => 74,  188 => 73,  185 => 71,  179 => 69,  176 => 68,  170 => 66,  167 => 65,  165 => 64,  156 => 58,  153 => 57,  141 => 46,  135 => 41,  132 => 40,  129 => 39,  127 => 38,  124 => 37,  122 => 34,  118 => 32,  116 => 29,  113 => 28,  111 => 8,  107 => 26,  104 => 25,  101 => 24,  98 => 23,  96 => 22,  93 => 21,  90 => 20,  88 => 19,  85 => 18,  83 => 17,  79 => 15,  77 => 14,  74 => 13,  72 => 12,  70 => 11,  68 => 10,  65 => 9,  63 => 8,  60 => 7,  58 => 6,  51 => 2,  48 => 1,);
  374.     }
  375.     public function getSourceContext()
  376.     {
  377.         return new Source("<!DOCTYPE html>
  378. <html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
  379. <head>
  380.     
  381.     {% include \"head/metas.html.twig\" %}
  382.     {% apply spaceless %}
  383.     
  384.         {% do pimcore_head_link().appendStylesheet('/static/framework/uikit-3.5.6/css/uikit.min.css') %}
  385.         {# {% do pimcore_head_link().appendStylesheet('/static/framework/uikit-3.5.6/css/uikit-rtl.min.css') %} #}
  386.         {#% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %#}
  387.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
  388.         {# GOOGLE FONTS #}
  389.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  390.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  391.         {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css2?family=Manjari:wght@100;400;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,500&display=swap') %}
  392.         {% do pimcore_head_script().prependFile(asset('/static/js/apik.js')) %}
  393.         {% do pimcore_head_script().prependFile(asset('/static/js/main.js')) %}
  394.         {% do pimcore_head_script().prependFile('/static/js/exkglobal.js') %}
  395.         {#% do pimcore_head_script().prependFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %#}
  396.         {% do pimcore_head_script().prependFile('https://code.jquery.com/jquery-3.6.0.min.js') %}
  397.         {% do pimcore_head_script().prependFile('/static/framework/uikit-3.5.6/js/uikit-icons.min.js') %}
  398.         {% do pimcore_head_script().prependFile('/static/framework/uikit-3.5.6/js/uikit.min.js') %}
  399.         
  400.     {% endapply %}
  401.     {% block head_stylesheets %}
  402.         {{ pimcore_head_link() }}
  403.     {% endblock %}
  404.     
  405.     {% block head_stylesheets_footer %}
  406.         
  407.     {% endblock %}
  408.     {% if not document is defined or not document %}
  409.         {% set document = pimcore_document(1) %}
  410.     {% endif %}
  411.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  412.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
  413.     {# FAVICON #}
  414.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  415.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  416.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  417.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  418.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  419.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  420.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  421.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  422.     <meta name=\"theme-color\" content=\"#ffffff\">
  423.     {# cookiebot #}
  424.     {% set cookiebotKey = pimcore_website_config('cookiebotKey') %}
  425.     <script id=\"Cookiebot\" src=\"https://consent.cookiebot.com/uc.js\" data-cbid=\"{{ cookiebotKey }}\" data-blockingmode=\"auto\" type=\"text/javascript\"></script>
  426. </head>
  427. <body>
  428.     {# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
  429.     {# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
  430.     {% if \"Your website name\"|trans == \"Your website name\" %}
  431.         {{ '<p class=\"uk-alert-danger\" uk-alert>Attention, n\\'oubliez pas de traduire \\'Your website name\\' et les autres chaines de traduction via Tools > Translations > Shared Translation.</p>' }}
  432.     {% endif %}
  433.     {% if not document.hasProperty('politiqueDeConfidentialite') %}
  434.         {{ '<p class=\"uk-alert-danger\" uk-alert>Attention, n\\'oubliez pas de créer la propriété \\'politiqueDeConfidentialite\\' (type Document) à la racine du site et de la faire pointer vers la page Politique de confidentialité (pour le bandeau des cookies).</p>' }}
  435.     {% endif %}
  436.     {# Affiche le  header #}
  437.     {% include \"includes/header.html.twig\" %}
  438.     {{ block('content') }}
  439.     <input id=\"see-business-detail\" type=\"hidden\" value=\"{{ \"Voir la fiche\"|trans }}\">
  440.     <input id=\"lieu-partenaire-translate\" type=\"hidden\" value=\"{{ \"Lieu partenaire\"|trans }}\">
  441.    {# Affiche la newsletter #}
  442.     {% if not editmode %}
  443.         {% if document.getProperty('isHomepage') %}
  444.             {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/newsletter\", { 'param' : 'formSuccess'} ) }}
  445.         {% else %}
  446.             {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/fast-search\") }}
  447.         {% endif %}
  448.     {% endif %}
  449.     {# Affiche le footer #}
  450.     {% if not editmode %}
  451.     {% if pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
  452.         {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") }}
  453.     {% else %}
  454.         {{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
  455.     {% endif %}
  456.     {% endif %}
  457.     {% include \"/includes/unsub-modal.html.twig\" %}
  458.     {# Affiche les fichiers CSS et JS #}
  459.     {# {{ pimcore_head_script() }} #}
  460.     {# output scripts added before #}
  461.     {% block headscripts %}
  462.     {{ pimcore_head_script() }}
  463.     {% endblock %}
  464.     {% block inlinescripts  %}
  465.     {{ pimcore_inline_script() }}
  466.     {% endblock %}
  467.     {% block snippetscripts  %}
  468.     {% endblock %}
  469.     
  470.     {# {{ pimcore_head_script() }} #}
  471.     
  472.     {#
  473.     <script>
  474.         window.addEventListener(\"load\", function () {
  475.             window.cookieconsent.initialise({
  476.                 \"palette\": {
  477.                     \"popup\": {
  478.                         \"text\": \"#ffffff\",
  479.                         \"background\": \"#F4B183\",
  480.                     },
  481.                     \"button\": {
  482.                         \"text\": \"#FFFFFF\",
  483.                         \"background\": \"#EB6919\",
  484.                     }
  485.                 },
  486.                 \"content\": {
  487.                     \"message\": \"{{ 'We use cookies and other technologies to ensure everyone who uses this website the best possible experience. By accessing this website, you accept and agree to our cookies policy.' |trans }}\",
  488.                     \"dismiss\": \"{{ 'I agree' |trans }}\",
  489.                     \"link\": \"{{ 'Read more' |trans }}\",
  490.                     \"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
  491.                 }
  492.             })
  493.         });
  494.     </script>
  495.     #}
  496.     
  497.    
  498. </body>
  499. </html>""layout.html.twig""/var/www/mynursery.apik-pp.be/www/templates/layout.html.twig");
  500.     }
  501. }