<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* layout-no-menu.html.twig */
class __TwigTemplate_5a23775ee3b7ef371128473ba15402f2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head_stylesheets' => [$this, 'block_head_stylesheets'],
'head_stylesheets_footer' => [$this, 'block_head_stylesheets_footer'],
'content' => [$this, 'block_content'],
'headscripts' => [$this, 'block_headscripts'],
'inlinescripts' => [$this, 'block_inlinescripts'],
'snippetscripts' => [$this, 'block_snippetscripts'],
];
$this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout-no-menu.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout-no-menu.html.twig"));
// line 1
echo "
<!DOCTYPE html>
<html dir=\"ltr\" lang=\"";
// line 3
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 3), "locale", [], "any", false, false, false, 3), "html", null, true);
echo "\">
<head>
";
// line 7
$this->loadTemplate("head/metas.html.twig", "layout-no-menu.html.twig", 7)->display($context);
// line 8
echo "
";
// line 16
echo " ";
ob_start();
// line 17
echo " ";
// line 18
echo " ";
// line 19
echo "
";
// line 20
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css"], "method", false, false, false, 20);
// line 21
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css"], "method", false, false, false, 21);
// line 22
echo "
";
// line 23
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/vendor/outdatedbrowser/outdatedbrowser.min.css")], "method", false, false, false, 23);
// line 24
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/application.min.css")], "method", false, false, false, 24);
// line 25
echo " ";
// line 26
echo "
";
// line 29
echo " ";
// line 30
echo " ";
// line 31
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "https://use.typekit.net/lal0zga.css"], "method", false, false, false, 31);
// line 32
echo "
";
// line 34
echo "
";
// line 35
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", [0 => "new-website"], "method", false, false, false, 35)) {
// line 36
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://www.google.com/recaptcha/api.js?render=6LcMEv0eAAAAAGqziCU59GigxzVk5-ao1zof4wAJ"], "method", false, false, false, 36);
// line 37
echo " ";
}
// line 38
echo "
";
// line 39
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js"], "method", false, false, false, 39);
// line 40
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"], "method", false, false, false, 40);
// line 41
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js"], "method", false, false, false, 41);
// line 42
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => "/static/vendor/outdatedbrowser/outdatedbrowser.min.js"], "method", false, false, false, 42);
// line 43
echo "
";
// line 44
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method", false, false, false, 44);
// line 45
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "appendFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/main.js")], "method", false, false, false, 45);
// line 46
echo " ";
$___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 16
echo twig_spaceless($___internal_parse_0_);
// line 47
echo "
";
// line 49
echo "
";
// line 50
$this->displayBlock('head_stylesheets', $context, $blocks);
// line 53
echo "
";
// line 55
echo "
";
// line 56
$this->displayBlock('head_stylesheets_footer', $context, $blocks);
// line 59
echo "
";
// line 60
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); })()))) {
// line 61
echo " ";
$context["document"] = Pimcore\Model\Document::getById(1);
// line 62
echo " ";
}
// line 63
echo "
";
// line 65
echo "
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
<link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
</head>
<body class=\"";
// line 83
echo twig_escape_filter($this->env, 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", [0 => "universe"], "method", false, false, false, 83), "html", null, true);
echo " ";
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") : (""));
echo " ";
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", [0 => "new-website"], "method", false, false, false, 83)) ? ("new-website") : (""));
echo "\">
<!-- ============== Outdated Browser =========== -->
<div id=\"outdated\"></div>
";
// line 90
echo "
";
// line 92
$this->displayBlock('content', $context, $blocks);
// line 93
echo "
";
// line 94
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 94, $this->source); })())) {
// line 95
echo " <div class=\"uk-container apk-container-1400 uk-margin-medium-bottom\">
<div class=\"uk-alert-danger\" uk-alert>
<h1 class=\"uk-h1\">Texte dans le footer</h1>
";
// line 98
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "bottom-footerlink");
echo "
</div>
</div>
";
}
// line 102
echo "
";
// line 103
$context["showFooterText"] = false;
// line 104
$context["footerBackgroundColor"] = false;
// line 105
if ( !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "bottom-footerlink"), "isEmpty", [], "any", false, false, false, 105)) {
// line 106
echo " ";
$context["showFooterText"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "bottom-footerlink");
}
// line 108
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", [0 => "footerBackgroundColor"], "method", false, false, false, 108)) {
// line 109
echo " ";
$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", [0 => "footerBackgroundColor"], "method", false, false, false, 109);
}
// line 112
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 112, $this->source); })())) {
// line 113
echo " ";
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", [0 => "new-website"], "method", false, false, false, 113)) {
// line 114
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/" . twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 114), "locale", [], "any", false, false, false, 114)) . "/Snippets/footer"), ["showFooterText" => // line 115
(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
(isset($context["footerBackgroundColor"]) || array_key_exists("footerBackgroundColor", $context) ? $context["footerBackgroundColor"] : (function () { throw new RuntimeError('Variable "footerBackgroundColor" does not exist.', 116, $this->source); })())]]);
// line 118
echo "
";
} elseif (call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/happymagnecaps/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 119
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 119, $this->source); })()), "request", [], "any", false, false, false, 119), "locale", [], "any", false, false, false, 119)) . "/Snippets/footer")])) {
// line 120
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_inc')->getCallable(), [(("/happymagnecaps/" . twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 120), "locale", [], "any", false, false, false, 120)) . "/Snippets/footer")]);
echo "
";
} else {
// line 122
echo " ";
echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
echo "
";
}
}
// line 125
echo "
";
// line 127
$this->displayBlock('headscripts', $context, $blocks);
// line 130
echo "
";
// line 132
$this->displayBlock('inlinescripts', $context, $blocks);
// line 135
echo "
";
// line 137
$this->displayBlock('snippetscripts', $context, $blocks);
// line 140
echo "
<script>
window.addEventListener(\"load\", function () {
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"text\": \"#ffffff\",
\"background\": \"#E40233\",
},
\"button\": {
\"text\": \"#E40233\",
\"background\": \"#ffffff\",
}
},
\"content\": {
\"message\": \"";
// line 155
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", null, true);
echo " ";
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", null, true);
echo "\",
\"dismiss\": \"";
// line 156
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("j'accepte"), "html", null, true);
echo "\",
\"link\": \"";
// line 157
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html", null, true);
echo "\",
\"href\": \"";
// line 158
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", [0 => "politiqueDeConfidentialite"], "method", false, false, false, 158)) {
echo " ";
echo twig_escape_filter($this->env, 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", [0 => "politiqueDeConfidentialite"], "method", false, false, false, 158), "html", null, true);
echo " ";
}
echo "\"
}
})
});
// Plain Javascript
//event listener: DOM ready
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
//call plugin function after DOM ready
addLoadEvent(function(){
outdatedBrowser({
bgColor: '#f25648',
color: '#ffffff',
lowerThan: 'borderImage',
languagePath: '/static/vendor/outdatedbrowser/lang/";
// line 184
echo twig_escape_filter($this->env, 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.', 184, $this->source); })()), "getProperty", [0 => "language"], "method", false, false, false, 184), "html", null, true);
echo ".html'
})
});
// Using jQuery (version that supports IE < 9)
\$( document ).ready(function() {
outdatedBrowser({
bgColor: '#f25648',
color: '#ffffff',
lowerThan: 'borderImage',
languagePath: '/static/vendor/outdatedbrowser/lang/";
// line 193
echo twig_escape_filter($this->env, 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.', 193, $this->source); })()), "getProperty", [0 => "language"], "method", false, false, false, 193), "html", null, true);
echo ".html'
})
})
</script>
</body>
</html>";
$this->deferred->resolve($this, $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_head_stylesheets($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets');
}
// line 50
public function block_head_stylesheets_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
// line 51
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
public function block_head_stylesheets_footer($context, array $blocks = [])
{
$this->deferred->defer($this, 'head_stylesheets_footer');
}
// line 56
public function block_head_stylesheets_footer_deferred($context, array $blocks = [])
{
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets_footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets_footer"));
// line 57
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$this->deferred->resolve($this, $context, $blocks);
}
// line 92
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 127
public function block_headscripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
// line 128
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 132
public function block_inlinescripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
// line 133
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 137
public function block_snippetscripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippetscripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippetscripts"));
// line 138
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "layout-no-menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("
<!DOCTYPE html>
<html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
<head>
{% include \"head/metas.html.twig\" %}
{#
Enregistre la liste des fichiers CSS et JS
Attention:
Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
#}
{% apply spaceless %}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css') %}
{% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %}
{% do pimcore_head_link().appendStylesheet(asset('/static/vendor/outdatedbrowser/outdatedbrowser.min.css')) %}
{% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
{#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
{# Adobe Font #}
{#% do pimcore_head_link().appendStylesheet('https://use.typekit.net/cdw7sie.css') %#}
{# {% do pimcore_head_link().appendStylesheet('https://use.typekit.net/rjz1kgr.css') %}#}
{% do pimcore_head_link().appendStylesheet('https://use.typekit.net/lal0zga.css') %}
{# A rendre dynamique #}
{% if not document.property('new-website') %}
{% do pimcore_head_script().appendFile('https://www.google.com/recaptcha/api.js?render=6LcMEv0eAAAAAGqziCU59GigxzVk5-ao1zof4wAJ') %}
{% endif %}
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js') %}
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js') %}
{% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %}
{% do pimcore_head_script().appendFile('/static/vendor/outdatedbrowser/outdatedbrowser.min.js') %}
{% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
{% do pimcore_head_script().appendFile(asset('/static/js/main.js')) %}
{% endapply %}
{# Affiche les styles CSS personnalisés pour toutes les pages #}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
{# Affiche les styles CSS personnalisés propres au footer #}
{% block head_stylesheets_footer deferred %}
{% endblock %}
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{# Favicons (utilisez RealFaviconGenerator) #}
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
<link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
<link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
<link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
<meta name=\"msapplication-TileColor\" content=\"#da532c\">
<meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
<meta name=\"theme-color\" content=\"#ffffff\">
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
</head>
<body class=\"{{ document.property('universe') }} {{ editmode ? \"apk-cms-pimcore\" : \"\" }} {{ document.property('new-website') ? \"new-website\" : \"\" }}\">
<!-- ============== Outdated Browser =========== -->
<div id=\"outdated\"></div>
{# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
{# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
{% block content %}{% endblock %}
{% if editmode %}
<div class=\"uk-container apk-container-1400 uk-margin-medium-bottom\">
<div class=\"uk-alert-danger\" uk-alert>
<h1 class=\"uk-h1\">Texte dans le footer</h1>
{{ pimcore_wysiwyg('bottom-footerlink') }}
</div>
</div>
{% endif %}
{% set showFooterText = false %}
{% set footerBackgroundColor = false %}
{% if not pimcore_wysiwyg('bottom-footerlink').isEmpty %}
{% set showFooterText = pimcore_wysiwyg('bottom-footerlink') %}
{% endif %}
{% if document.getProperty('footerBackgroundColor') %}
{% set footerBackgroundColor = document.getProperty('footerBackgroundColor') %}
{% endif %}
{# Affiche le footer + condition pour le nouveau site web #}
{% if not editmode %}
{% if document.property('new-website') %}
{{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\",{
'showFooterText': showFooterText,
'footerBackgroundColor' : footerBackgroundColor
})
}}
{% elseif pimcore_inc(\"/happymagnecaps/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
{{ pimcore_inc(\"/happymagnecaps/\" ~ app.request.locale ~ \"/Snippets/footer\") }}
{% else %}
{{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
{% endif %}
{% endif %}
{# output scripts added before #}
{% block headscripts %}
{{ pimcore_head_script() }}
{% endblock %}
{% block inlinescripts %}
{% endblock %}
{% block snippetscripts %}
{% endblock %}
<script>
window.addEventListener(\"load\", function () {
window.cookieconsent.initialise({
\"palette\": {
\"popup\": {
\"text\": \"#ffffff\",
\"background\": \"#E40233\",
},
\"button\": {
\"text\": \"#E40233\",
\"background\": \"#ffffff\",
}
},
\"content\": {
\"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 }}\",
\"dismiss\": \"{{ 'j\\'accepte' |trans }}\",
\"link\": \"{{ 'En savoir plus' |trans }}\",
\"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
}
})
});
// Plain Javascript
//event listener: DOM ready
function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = func;
} else {
window.onload = function() {
if (oldonload) {
oldonload();
}
func();
}
}
}
//call plugin function after DOM ready
addLoadEvent(function(){
outdatedBrowser({
bgColor: '#f25648',
color: '#ffffff',
lowerThan: 'borderImage',
languagePath: '/static/vendor/outdatedbrowser/lang/{{ document.getProperty('language') }}.html'
})
});
// Using jQuery (version that supports IE < 9)
\$( document ).ready(function() {
outdatedBrowser({
bgColor: '#f25648',
color: '#ffffff',
lowerThan: 'borderImage',
languagePath: '/static/vendor/outdatedbrowser/lang/{{ document.getProperty('language') }}.html'
})
})
</script>
</body>
</html>", "layout-no-menu.html.twig", "/var/www/magnecapsv2.atypic-pp.be/www/templates/layout-no-menu.html.twig");
}
}