<?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-snippets.html.twig */
class __TwigTemplate_c963d358097d5fc9fcc893344db638fbea5d2446f37e1d35e2c142df1eb18dec extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'snippets' => [$this, 'block_snippets'],
'headscripts' => [$this, 'block_headscripts'],
'inlinescripts' => [$this, 'block_inlinescripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout-snippets.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout-snippets.html.twig"));
// line 4
echo "
";
// line 5
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 5, $this->source); })())) {
// line 6
echo "
<html>
<head>
";
// line 17
echo " ";
ob_start();
// line 18
echo " ";
// line 19
echo " ";
// line 20
echo "
";
// line 21
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "/static/framework/uikit-3.5.6/css/uikit.min.css"], "method", false, false, false, 21);
// line 22
echo " ";
// line 23
echo " ";
// 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 " <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
";
// line 28
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []), "appendStylesheet", [0 => "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", false, false, false, 28);
// line 29
echo "
";
// line 30
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method", false, false, false, 30);
// line 31
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [0 => $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/main.js")], "method", false, false, false, 31);
// line 32
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [0 => "/static/js/exkglobal.js"], "method", false, false, false, 32);
// line 33
echo " ";
// line 34
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [0 => "https://code.jquery.com/jquery-3.6.0.min.js"], "method", false, false, false, 34);
// line 35
echo " ";
twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [0 => "/static/framework/uikit-3.5.6/js/uikit-icons.min.js"], "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(), []), "prependFile", [0 => "/static/framework/uikit-3.5.6/js/uikit.min.js"], "method", false, false, false, 36);
// line 37
echo " ";
$___internal_379c9315b63822e9eb0a0f17223de041c94881453236009bf66fa03803ef99eb_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 17
echo twig_spaceless($___internal_379c9315b63822e9eb0a0f17223de041c94881453236009bf66fa03803ef99eb_);
// line 38
echo "
";
// line 39
echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
echo "
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
</head>
<body class=\"editmode\">
";
}
// line 49
echo "
";
// line 50
$this->displayBlock('snippets', $context, $blocks);
// line 51
echo "
";
// line 52
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 52, $this->source); })())) {
// line 53
echo "
";
// line 55
$this->displayBlock('headscripts', $context, $blocks);
// line 58
echo "
";
// line 59
$this->displayBlock('inlinescripts', $context, $blocks);
// line 62
echo "
</body>
</html>
";
}
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 50
public function block_snippets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 55
public function block_headscripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "headscripts"));
// line 56
echo " ";
echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 59
public function block_inlinescripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inlinescripts"));
// line 60
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "layout-snippets.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 214 => 60, 204 => 59, 191 => 56, 181 => 55, 163 => 50, 147 => 62, 145 => 59, 142 => 58, 140 => 55, 137 => 53, 135 => 52, 132 => 51, 130 => 50, 127 => 49, 114 => 39, 111 => 38, 109 => 17, 106 => 37, 103 => 36, 100 => 35, 97 => 34, 95 => 33, 92 => 32, 89 => 31, 87 => 30, 84 => 29, 82 => 28, 78 => 26, 76 => 25, 73 => 24, 71 => 23, 69 => 22, 67 => 21, 64 => 20, 62 => 19, 60 => 18, 57 => 17, 51 => 6, 49 => 5, 46 => 4,);
}
public function getSourceContext()
{
return new Source("{#
Ce fichier est utilisé pour l'édition du footer dans l'admin
#}
{% if editmode %}
<html>
<head>
{#
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('/static/framework/uikit-3.5.6/css/uikit.min.css') %}
{# {% do pimcore_head_link().appendStylesheet('/static/framework/uikit-3.5.6/css/uikit-rtl.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/css/application.min.css')) %}
{# GOOGLE FONTS #}
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
{% 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') %}
{% do pimcore_head_script().prependFile(asset('/static/js/apik.js')) %}
{% do pimcore_head_script().prependFile(asset('/static/js/main.js')) %}
{% do pimcore_head_script().prependFile('/static/js/exkglobal.js') %}
{#% do pimcore_head_script().prependFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %#}
{% do pimcore_head_script().prependFile('https://code.jquery.com/jquery-3.6.0.min.js') %}
{% do pimcore_head_script().prependFile('/static/framework/uikit-3.5.6/js/uikit-icons.min.js') %}
{% do pimcore_head_script().prependFile('/static/framework/uikit-3.5.6/js/uikit.min.js') %}
{% endapply %}
{{ pimcore_head_link() }}
<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
</head>
<body class=\"editmode\">
{% endif %}
{% block snippets %}{% endblock %}
{% if editmode %}
{# output scripts added before #}
{% block headscripts %}
{{ pimcore_head_script() }}
{% endblock %}
{% block inlinescripts %}
{% endblock %}
</body>
</html>
{% endif %}", "layout-snippets.html.twig", "/var/www/mynursery.apik-pp.be/www/templates/layout-snippets.html.twig");
}
}