var/cache/dev/twig/23/23ab9d5d351221a7f97f4a7f425076a9.php line 255

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-no-menu.html.twig */
  14. class __TwigTemplate_5a23775ee3b7ef371128473ba15402f2 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.             'content' => [$this'block_content'],
  27.             'headscripts' => [$this'block_headscripts'],
  28.             'inlinescripts' => [$this'block_inlinescripts'],
  29.             'snippetscripts' => [$this'block_snippetscripts'],
  30.         ];
  31.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout-no-menu.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout-no-menu.html.twig"));
  40.         // line 1
  41.         echo "
  42. <!DOCTYPE html>
  43. <html dir=\"ltr\" lang=\"";
  44.         // line 3
  45.         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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), "html"nulltrue);
  46.         echo "\">
  47. <head>
  48.     
  49.     ";
  50.         // line 7
  51.         $this->loadTemplate("head/metas.html.twig""layout-no-menu.html.twig"7)->display($context);
  52.         // line 8
  53.         echo "
  54.     ";
  55.         // line 16
  56.         echo "    ";
  57.         ob_start();
  58.         // line 17
  59.         echo "        ";
  60.         // line 18
  61.         echo "        ";
  62.         // line 19
  63.         echo "        
  64.         ";
  65.         // line 20
  66.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css"], "method"falsefalsefalse20);
  67.         // line 21
  68.         echo "        ";
  69.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css"], "method"falsefalsefalse21);
  70.         // line 22
  71.         echo "
  72.         ";
  73.         // line 23
  74.         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/vendor/outdatedbrowser/outdatedbrowser.min.css")], "method"falsefalsefalse23);
  75.         // line 24
  76.         echo "        ";
  77.         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"falsefalsefalse24);
  78.         // line 25
  79.         echo "        ";
  80.         // line 26
  81.         echo "        
  82.         ";
  83.         // line 29
  84.         echo "        ";
  85.         // line 30
  86.         echo "       ";
  87.         // line 31
  88.         echo "        ";
  89.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [=> "https://use.typekit.net/lal0zga.css"], "method"falsefalsefalse31);
  90.         // line 32
  91.         echo "
  92.         ";
  93.         // line 34
  94.         echo "
  95.         ";
  96.         // line 35
  97.         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.'35$this->source); })()), "property", [=> "new-website"], "method"falsefalsefalse35)) {
  98.             // line 36
  99.             echo "            ";
  100.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://www.google.com/recaptcha/api.js?render=6LcMEv0eAAAAAGqziCU59GigxzVk5-ao1zof4wAJ"], "method"falsefalsefalse36);
  101.             // line 37
  102.             echo "        ";
  103.         }
  104.         // line 38
  105.         echo "        
  106.         ";
  107.         // line 39
  108.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js"], "method"falsefalsefalse39);
  109.         // line 40
  110.         echo "        ";
  111.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"], "method"falsefalsefalse40);
  112.         // line 41
  113.         echo "        ";
  114.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js"], "method"falsefalsefalse41);
  115.         // line 42
  116.         echo "        ";
  117.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> "/static/vendor/outdatedbrowser/outdatedbrowser.min.js"], "method"falsefalsefalse42);
  118.         // line 43
  119.         echo "
  120.         ";
  121.         // line 44
  122.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method"falsefalsefalse44);
  123.         // line 45
  124.         echo "        ";
  125.         twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/main.js")], "method"falsefalsefalse45);
  126.         // line 46
  127.         echo "    ";
  128.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  129.         // line 16
  130.         echo twig_spaceless($___internal_parse_0_);
  131.         // line 47
  132.         echo "
  133.     ";
  134.         // line 49
  135.         echo "
  136.     ";
  137.         // line 50
  138.         $this->displayBlock('head_stylesheets'$context$blocks);
  139.         // line 53
  140.         echo "
  141.     ";
  142.         // line 55
  143.         echo "
  144.     ";
  145.         // line 56
  146.         $this->displayBlock('head_stylesheets_footer'$context$blocks);
  147.         // line 59
  148.         echo "
  149.     ";
  150.         // line 60
  151.         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.'60$this->source); })()))) {
  152.             // line 61
  153.             echo "        ";
  154.             $context["document"] = Pimcore\Model\Document::getById(1);
  155.             // line 62
  156.             echo "    ";
  157.         }
  158.         // line 63
  159.         echo "
  160.     ";
  161.         // line 65
  162.         echo "    
  163.     
  164.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  165.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  166.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  167.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  168.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  169.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  170.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  171.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  172.     <meta name=\"theme-color\" content=\"#ffffff\">
  173.     
  174.     
  175.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  176.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
  177. </head>
  178. <body class=\"";
  179.         // line 83
  180.         echo twig_escape_filter($this->envtwig_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.'83$this->source); })()), "property", [=> "universe"], "method"falsefalsefalse83), "html"nulltrue);
  181.         echo " ";
  182.         echo (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'83$this->source); })())) ? ("apk-cms-pimcore") : (""));
  183.         echo " ";
  184.         echo ((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.'83$this->source); })()), "property", [=> "new-website"], "method"falsefalsefalse83)) ? ("new-website") : (""));
  185.         echo "\">
  186. <!-- ============== Outdated Browser =========== -->
  187. <div id=\"outdated\"></div>
  188. ";
  189.         // line 90
  190.         echo "
  191. ";
  192.         // line 92
  193.         $this->displayBlock('content'$context$blocks);
  194.         // line 93
  195.         echo "
  196. ";
  197.         // line 94
  198.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'94$this->source); })())) {
  199.             // line 95
  200.             echo "    <div class=\"uk-container apk-container-1400 uk-margin-medium-bottom\">
  201.         <div class=\"uk-alert-danger\" uk-alert>
  202.             <h1 class=\"uk-h1\">Texte dans le footer</h1>
  203.             ";
  204.             // line 98
  205.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""bottom-footerlink");
  206.             echo "
  207.         </div>
  208.     </div>
  209. ";
  210.         }
  211.         // line 102
  212.         echo "
  213. ";
  214.         // line 103
  215.         $context["showFooterText"] = false;
  216.         // line 104
  217.         $context["footerBackgroundColor"] = false;
  218.         // line 105
  219.         if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""bottom-footerlink"), "isEmpty", [], "any"falsefalsefalse105)) {
  220.             // line 106
  221.             echo "    ";
  222.             $context["showFooterText"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""bottom-footerlink");
  223.         }
  224.         // line 108
  225.         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.'108$this->source); })()), "getProperty", [=> "footerBackgroundColor"], "method"falsefalsefalse108)) {
  226.             // line 109
  227.             echo "    ";
  228.             $context["footerBackgroundColor"] = 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.'109$this->source); })()), "getProperty", [=> "footerBackgroundColor"], "method"falsefalsefalse109);
  229.         }
  230.         // line 112
  231.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'112$this->source); })())) {
  232.             // line 113
  233.             echo "    ";
  234.             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.'113$this->source); })()), "property", [=> "new-website"], "method"falsefalsefalse113)) {
  235.                 // line 114
  236.                 echo "        ";
  237.                 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.'114$this->source); })()), "request", [], "any"falsefalsefalse114), "locale", [], "any"falsefalsefalse114)) . "/Snippets/footer"), ["showFooterText" =>                 // line 115
  238. (isset($context["showFooterText"]) || array_key_exists("showFooterText"$context) ? $context["showFooterText"] : (function () { throw new RuntimeError('Variable "showFooterText" does not exist.'115$this->source); })()), "footerBackgroundColor" =>                 // line 116
  239. (isset($context["footerBackgroundColor"]) || array_key_exists("footerBackgroundColor"$context) ? $context["footerBackgroundColor"] : (function () { throw new RuntimeError('Variable "footerBackgroundColor" does not exist.'116$this->source); })())]]);
  240.                 // line 118
  241.                 echo "
  242.     ";
  243.             } elseif (call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/happymagnecaps/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 119
  244. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'119$this->source); })()), "request", [], "any"falsefalsefalse119), "locale", [], "any"falsefalsefalse119)) . "/Snippets/footer")])) {
  245.                 // line 120
  246.                 echo "        ";
  247.                 echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/happymagnecaps/" 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.'120$this->source); })()), "request", [], "any"falsefalsefalse120), "locale", [], "any"falsefalsefalse120)) . "/Snippets/footer")]);
  248.                 echo "
  249.     ";
  250.             } else {
  251.                 // line 122
  252.                 echo "        ";
  253.                 echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
  254.                 echo "
  255.     ";
  256.             }
  257.         }
  258.         // line 125
  259.         echo "
  260. ";
  261.         // line 127
  262.         $this->displayBlock('headscripts'$context$blocks);
  263.         // line 130
  264.         echo "
  265. ";
  266.         // line 132
  267.         $this->displayBlock('inlinescripts'$context$blocks);
  268.         // line 135
  269.         echo "
  270. ";
  271.         // line 137
  272.         $this->displayBlock('snippetscripts'$context$blocks);
  273.         // line 140
  274.         echo "
  275. <script>
  276.     window.addEventListener(\"load\", function () {
  277.         window.cookieconsent.initialise({
  278.             \"palette\": {
  279.                 \"popup\": {
  280.                     \"text\": \"#ffffff\",
  281.                     \"background\": \"#E40233\",
  282.                 },
  283.                 \"button\": {
  284.                     \"text\": \"#E40233\",
  285.                     \"background\": \"#ffffff\",
  286.                 }
  287.             },
  288.             \"content\": {
  289.                 \"message\": \"";
  290.         // line 155
  291.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nous utilisons des cookies et d'autres technologies pour assurer à tous les utilisateurs de ce site internet la meilleure expérience possible."), "html"nulltrue);
  292.         echo " ";
  293.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En accédant à ce site, vous acceptez notre politique de cookies. "), "html"nulltrue);
  294.         echo "\",
  295.                 \"dismiss\": \"";
  296.         // line 156
  297.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("j'accepte"), "html"nulltrue);
  298.         echo "\",
  299.                 \"link\": \"";
  300.         // line 157
  301.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html"nulltrue);
  302.         echo "\",
  303.                 \"href\": \"";
  304.         // line 158
  305.         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.'158$this->source); })()), "getProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsefalse158)) {
  306.             echo " ";
  307.             echo twig_escape_filter($this->envtwig_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.'158$this->source); })()), "getProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsefalse158), "html"nulltrue);
  308.             echo " ";
  309.         }
  310.         echo "\"
  311.             }
  312.         })
  313.     });
  314.     // Plain Javascript
  315.     //event listener: DOM ready
  316.     function addLoadEvent(func) {
  317.         var oldonload = window.onload;
  318.         if (typeof window.onload != 'function') {
  319.             window.onload = func;
  320.         } else {
  321.             window.onload = function() {
  322.                 if (oldonload) {
  323.                     oldonload();
  324.                 }
  325.                 func();
  326.             }
  327.         }
  328.     }
  329.     //call plugin function after DOM ready
  330.     addLoadEvent(function(){
  331.         outdatedBrowser({
  332.             bgColor: '#f25648',
  333.             color: '#ffffff',
  334.             lowerThan: 'borderImage',
  335.             languagePath: '/static/vendor/outdatedbrowser/lang/";
  336.         // line 184
  337.         echo twig_escape_filter($this->envtwig_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.'184$this->source); })()), "getProperty", [=> "language"], "method"falsefalsefalse184), "html"nulltrue);
  338.         echo ".html'
  339.         })
  340.     });
  341.     // Using jQuery (version that supports IE < 9)
  342.     \$( document ).ready(function() {
  343.         outdatedBrowser({
  344.             bgColor: '#f25648',
  345.             color: '#ffffff',
  346.             lowerThan: 'borderImage',
  347.             languagePath: '/static/vendor/outdatedbrowser/lang/";
  348.         // line 193
  349.         echo twig_escape_filter($this->envtwig_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.'193$this->source); })()), "getProperty", [=> "language"], "method"falsefalsefalse193), "html"nulltrue);
  350.         echo ".html'
  351.         })
  352.     })
  353. </script>
  354. </body>
  355. </html>";
  356.         $this->deferred->resolve($this$context$blocks);
  357.         
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  359.         
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  361.     }
  362.     public function block_head_stylesheets($context, array $blocks = [])
  363.     {
  364.         $this->deferred->defer($this'head_stylesheets');
  365.     }
  366.     // line 50
  367.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  368.     {
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  370.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  372.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  373.         // line 51
  374.         echo "        ";
  375.         echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  376.         echo "
  377.     ";
  378.         
  379.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  380.         
  381.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  382.         $this->deferred->resolve($this$context$blocks);
  383.     }
  384.     public function block_head_stylesheets_footer($context, array $blocks = [])
  385.     {
  386.         $this->deferred->defer($this'head_stylesheets_footer');
  387.     }
  388.     // line 56
  389.     public function block_head_stylesheets_footer_deferred($context, array $blocks = [])
  390.     {
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  393.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  395.         // line 57
  396.         echo "        
  397.     ";
  398.         
  399.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  400.         
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  402.         $this->deferred->resolve($this$context$blocks);
  403.     }
  404.     // line 92
  405.     public function block_content($context, array $blocks = [])
  406.     {
  407.         $macros $this->macros;
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  412.         
  413.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  414.         
  415.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  416.     }
  417.     // line 127
  418.     public function block_headscripts($context, array $blocks = [])
  419.     {
  420.         $macros $this->macros;
  421.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  422.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  424.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  425.         // line 128
  426.         echo "    ";
  427.         echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
  428.         echo "
  429. ";
  430.         
  431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  432.         
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  434.     }
  435.     // line 132
  436.     public function block_inlinescripts($context, array $blocks = [])
  437.     {
  438.         $macros $this->macros;
  439.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  441.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  443.         // line 133
  444.         echo "
  445. ";
  446.         
  447.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  448.         
  449.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  450.     }
  451.     // line 137
  452.     public function block_snippetscripts($context, array $blocks = [])
  453.     {
  454.         $macros $this->macros;
  455.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  456.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  457.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  458.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  459.         // line 138
  460.         echo "
  461. ";
  462.         
  463.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  464.         
  465.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  466.     }
  467.     public function getTemplateName()
  468.     {
  469.         return "layout-no-menu.html.twig";
  470.     }
  471.     public function isTraitable()
  472.     {
  473.         return false;
  474.     }
  475.     public function getDebugInfo()
  476.     {
  477.         return array (  512 => 138,  502 => 137,  491 => 133,  481 => 132,  468 => 128,  458 => 127,  440 => 92,  428 => 57,  419 => 56,  400 => 51,  391 => 50,  368 => 193,  356 => 184,  323 => 158,  319 => 157,  315 => 156,  309 => 155,  292 => 140,  290 => 137,  286 => 135,  284 => 132,  280 => 130,  278 => 127,  275 => 125,  268 => 122,  262 => 120,  260 => 119,  257 => 118,  255 => 116,  254 => 115,  252 => 114,  249 => 113,  247 => 112,  243 => 109,  241 => 108,  237 => 106,  235 => 105,  233 => 104,  231 => 103,  228 => 102,  221 => 98,  216 => 95,  214 => 94,  211 => 93,  209 => 92,  205 => 90,  193 => 83,  173 => 65,  170 => 63,  167 => 62,  164 => 61,  162 => 60,  159 => 59,  157 => 56,  154 => 55,  151 => 53,  149 => 50,  146 => 49,  143 => 47,  141 => 16,  138 => 46,  135 => 45,  133 => 44,  130 => 43,  127 => 42,  124 => 41,  121 => 40,  119 => 39,  116 => 38,  113 => 37,  110 => 36,  108 => 35,  105 => 34,  102 => 32,  99 => 31,  97 => 30,  95 => 29,  91 => 26,  89 => 25,  86 => 24,  84 => 23,  81 => 22,  78 => 21,  76 => 20,  73 => 19,  71 => 18,  69 => 17,  66 => 16,  63 => 8,  61 => 7,  54 => 3,  50 => 1,);
  478.     }
  479.     public function getSourceContext()
  480.     {
  481.         return new Source("
  482. <!DOCTYPE html>
  483. <html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
  484. <head>
  485.     
  486.     {% include \"head/metas.html.twig\" %}
  487.     {# 
  488.     Enregistre la liste des fichiers CSS et JS
  489.     
  490.     Attention:
  491.     Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
  492.     Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
  493.     #}
  494.     {% apply spaceless %}
  495.         {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  496.         {# we use the view helper to have cache buster functionality #}
  497.         
  498.         {% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css') %}
  499.         {% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %}
  500.         {% do pimcore_head_link().appendStylesheet(asset('/static/vendor/outdatedbrowser/outdatedbrowser.min.css')) %}
  501.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
  502.         {#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
  503.         
  504.         {# Adobe Font #}
  505.         {#% do pimcore_head_link().appendStylesheet('https://use.typekit.net/cdw7sie.css') %#}
  506.        {# {% do pimcore_head_link().appendStylesheet('https://use.typekit.net/rjz1kgr.css') %}#}
  507.         {% do pimcore_head_link().appendStylesheet('https://use.typekit.net/lal0zga.css') %}
  508.         {# A rendre dynamique #}
  509.         {% if not document.property('new-website') %}
  510.             {% do pimcore_head_script().appendFile('https://www.google.com/recaptcha/api.js?render=6LcMEv0eAAAAAGqziCU59GigxzVk5-ao1zof4wAJ') %}
  511.         {% endif %}
  512.         
  513.         {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js') %}
  514.         {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js') %}
  515.         {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %}
  516.         {% do pimcore_head_script().appendFile('/static/vendor/outdatedbrowser/outdatedbrowser.min.js') %}
  517.         {% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
  518.         {% do pimcore_head_script().appendFile(asset('/static/js/main.js')) %}
  519.     {% endapply %}
  520.     {# Affiche les styles CSS personnalisés pour toutes les pages #}
  521.     {% block head_stylesheets deferred %}
  522.         {{ pimcore_head_link() }}
  523.     {% endblock %}
  524.     {# Affiche les styles CSS personnalisés propres au footer #}
  525.     {% block head_stylesheets_footer deferred %}
  526.         
  527.     {% endblock %}
  528.     {% if not document is defined or not document %}
  529.         {% set document = pimcore_document(1) %}
  530.     {% endif %}
  531.     {# Favicons (utilisez RealFaviconGenerator) #}
  532.     
  533.     
  534.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  535.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  536.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  537.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  538.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  539.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  540.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  541.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  542.     <meta name=\"theme-color\" content=\"#ffffff\">
  543.     
  544.     
  545.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  546.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
  547. </head>
  548. <body class=\"{{ document.property('universe') }} {{ editmode ? \"apk-cms-pimcore\" : \"\" }} {{ document.property('new-website') ? \"new-website\" : \"\" }}\">
  549. <!-- ============== Outdated Browser =========== -->
  550. <div id=\"outdated\"></div>
  551. {# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
  552. {# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
  553. {% block content %}{% endblock %}
  554. {% if editmode %}
  555.     <div class=\"uk-container apk-container-1400 uk-margin-medium-bottom\">
  556.         <div class=\"uk-alert-danger\" uk-alert>
  557.             <h1 class=\"uk-h1\">Texte dans le footer</h1>
  558.             {{ pimcore_wysiwyg('bottom-footerlink') }}
  559.         </div>
  560.     </div>
  561. {% endif %}
  562. {% set showFooterText = false %}
  563. {% set footerBackgroundColor = false %}
  564. {% if not pimcore_wysiwyg('bottom-footerlink').isEmpty %}
  565.     {% set showFooterText = pimcore_wysiwyg('bottom-footerlink') %}
  566. {% endif %}
  567. {% if document.getProperty('footerBackgroundColor') %}
  568.     {% set footerBackgroundColor = document.getProperty('footerBackgroundColor') %}
  569. {% endif %}
  570. {# Affiche le footer + condition pour le nouveau site web #}
  571. {% if not editmode %}
  572.     {% if document.property('new-website') %}
  573.         {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\",{
  574.             'showFooterText': showFooterText,
  575.             'footerBackgroundColor' : footerBackgroundColor
  576.             })
  577.         }}
  578.     {% elseif pimcore_inc(\"/happymagnecaps/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
  579.         {{ pimcore_inc(\"/happymagnecaps/\" ~ app.request.locale ~ \"/Snippets/footer\") }}
  580.     {% else %}
  581.         {{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
  582.     {% endif %}
  583. {% endif %}
  584. {# output scripts added before #}
  585. {% block headscripts %}
  586.     {{ pimcore_head_script() }}
  587. {% endblock %}
  588. {% block inlinescripts  %}
  589. {% endblock %}
  590. {% block snippetscripts  %}
  591. {% endblock %}
  592. <script>
  593.     window.addEventListener(\"load\", function () {
  594.         window.cookieconsent.initialise({
  595.             \"palette\": {
  596.                 \"popup\": {
  597.                     \"text\": \"#ffffff\",
  598.                     \"background\": \"#E40233\",
  599.                 },
  600.                 \"button\": {
  601.                     \"text\": \"#E40233\",
  602.                     \"background\": \"#ffffff\",
  603.                 }
  604.             },
  605.             \"content\": {
  606.                 \"message\": \"{{ 'Nous utilisons des cookies et d\\'autres technologies pour assurer à tous les utilisateurs de ce site internet la meilleure expérience possible.' |trans }} {{ 'En accédant à ce site, vous acceptez notre politique de cookies. '|trans }}\",
  607.                 \"dismiss\": \"{{ 'j\\'accepte' |trans }}\",
  608.                 \"link\": \"{{ 'En savoir plus' |trans }}\",
  609.                 \"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
  610.             }
  611.         })
  612.     });
  613.     // Plain Javascript
  614.     //event listener: DOM ready
  615.     function addLoadEvent(func) {
  616.         var oldonload = window.onload;
  617.         if (typeof window.onload != 'function') {
  618.             window.onload = func;
  619.         } else {
  620.             window.onload = function() {
  621.                 if (oldonload) {
  622.                     oldonload();
  623.                 }
  624.                 func();
  625.             }
  626.         }
  627.     }
  628.     //call plugin function after DOM ready
  629.     addLoadEvent(function(){
  630.         outdatedBrowser({
  631.             bgColor: '#f25648',
  632.             color: '#ffffff',
  633.             lowerThan: 'borderImage',
  634.             languagePath: '/static/vendor/outdatedbrowser/lang/{{ document.getProperty('language') }}.html'
  635.         })
  636.     });
  637.     // Using jQuery (version that supports IE < 9)
  638.     \$( document ).ready(function() {
  639.         outdatedBrowser({
  640.             bgColor: '#f25648',
  641.             color: '#ffffff',
  642.             lowerThan: 'borderImage',
  643.             languagePath: '/static/vendor/outdatedbrowser/lang/{{ document.getProperty('language') }}.html'
  644.         })
  645.     })
  646. </script>
  647. </body>
  648. </html>""layout-no-menu.html.twig""/var/www/magnecapsv2.atypic-pp.be/www/templates/layout-no-menu.html.twig");
  649.     }
  650. }