var/cache/dev/twig/88/88ec76e14b92afc16ae8cb23e99676251f25d08cd3f132d56841cbeda139132d.php line 36

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-snippets.html.twig */
  14. class __TwigTemplate_c963d358097d5fc9fcc893344db638fbea5d2446f37e1d35e2c142df1eb18dec 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.             'snippets' => [$this'block_snippets'],
  25.             'headscripts' => [$this'block_headscripts'],
  26.             'inlinescripts' => [$this'block_inlinescripts'],
  27.         ];
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout-snippets.html.twig"));
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout-snippets.html.twig"));
  36.         // line 4
  37.         echo "
  38. ";
  39.         // line 5
  40.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'5$this->source); })())) {
  41.             // line 6
  42.             echo "
  43.     <html>
  44.     <head>
  45.     ";
  46.             // line 17
  47.             echo "    ";
  48.             ob_start();
  49.             // line 18
  50.             echo "        ";
  51.             // line 19
  52.             echo "        ";
  53.             // line 20
  54.             echo "        
  55.         ";
  56.             // line 21
  57.             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"falsefalsefalse21);
  58.             // line 22
  59.             echo "        ";
  60.             // line 23
  61.             echo "        ";
  62.             // line 24
  63.             echo "        ";
  64.             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);
  65.             // line 25
  66.             echo "        ";
  67.             // line 26
  68.             echo "        <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  69.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  70.         ";
  71.             // line 28
  72.             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"falsefalsefalse28);
  73.             // line 29
  74.             echo "
  75.         ";
  76.             // line 30
  77.             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"falsefalsefalse30);
  78.             // line 31
  79.             echo "        ";
  80.             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"falsefalsefalse31);
  81.             // line 32
  82.             echo "        ";
  83.             twig_get_attribute($this->env$this->sourcecall_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []), "prependFile", [=> "/static/js/exkglobal.js"], "method"falsefalsefalse32);
  84.             // line 33
  85.             echo "        ";
  86.             // line 34
  87.             echo "        ";
  88.             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"falsefalsefalse34);
  89.             // line 35
  90.             echo "        ";
  91.             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"falsefalsefalse35);
  92.             // line 36
  93.             echo "        ";
  94.             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"falsefalsefalse36);
  95.             // line 37
  96.             echo "    ";
  97.             $___internal_379c9315b63822e9eb0a0f17223de041c94881453236009bf66fa03803ef99eb_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  98.             // line 17
  99.             echo twig_spaceless($___internal_379c9315b63822e9eb0a0f17223de041c94881453236009bf66fa03803ef99eb_);
  100.             // line 38
  101.             echo "
  102.     ";
  103.             // line 39
  104.             echo call_user_func_array($this->env->getFunction('pimcore_head_link')->getCallable(), []);
  105.             echo "
  106.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  107.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
  108.     </head>
  109.     <body class=\"editmode\">
  110.         
  111. ";
  112.         }
  113.         // line 49
  114.         echo "
  115. ";
  116.         // line 50
  117.         $this->displayBlock('snippets'$context$blocks);
  118.         // line 51
  119.         echo "
  120. ";
  121.         // line 52
  122.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'52$this->source); })())) {
  123.             // line 53
  124.             echo "
  125. ";
  126.             // line 55
  127.             $this->displayBlock('headscripts'$context$blocks);
  128.             // line 58
  129.             echo "
  130. ";
  131.             // line 59
  132.             $this->displayBlock('inlinescripts'$context$blocks);
  133.             // line 62
  134.             echo "
  135.     </body>
  136.     </html>
  137.     
  138. ";
  139.         }
  140.         
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  142.         
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  144.     }
  145.     // line 50
  146.     public function block_snippets($context, array $blocks = [])
  147.     {
  148.         $macros $this->macros;
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  150.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippets"));
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippets"));
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  157.     }
  158.     // line 55
  159.     public function block_headscripts($context, array $blocks = [])
  160.     {
  161.         $macros $this->macros;
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  166.         // line 56
  167.         echo "    ";
  168.         echo call_user_func_array($this->env->getFunction('pimcore_head_script')->getCallable(), []);
  169.         echo "
  170. ";
  171.         
  172.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  173.         
  174.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  175.     }
  176.     // line 59
  177.     public function block_inlinescripts($context, array $blocks = [])
  178.     {
  179.         $macros $this->macros;
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  182.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  184.         // line 60
  185.         echo "
  186. ";
  187.         
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  189.         
  190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  191.     }
  192.     public function getTemplateName()
  193.     {
  194.         return "layout-snippets.html.twig";
  195.     }
  196.     public function isTraitable()
  197.     {
  198.         return false;
  199.     }
  200.     public function getDebugInfo()
  201.     {
  202.         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,);
  203.     }
  204.     public function getSourceContext()
  205.     {
  206.         return new Source("{#
  207.     Ce fichier est utilisé pour l'édition du footer dans l'admin
  208. #}
  209. {% if editmode %}
  210.     <html>
  211.     <head>
  212.     {# 
  213.     Enregistre la liste des fichiers CSS et JS
  214.     
  215.     Attention:
  216.     Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
  217.     Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
  218.     #}
  219.     {% apply spaceless %}
  220.         {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  221.         {# we use the view helper to have cache buster functionality #}
  222.         
  223.         {% do pimcore_head_link().appendStylesheet('/static/framework/uikit-3.5.6/css/uikit.min.css') %}
  224.         {# {% do pimcore_head_link().appendStylesheet('/static/framework/uikit-3.5.6/css/uikit-rtl.min.css') %} #}
  225.         {#% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %#}
  226.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
  227.         {# GOOGLE FONTS #}
  228.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  229.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  230.         {% 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') %}
  231.         {% do pimcore_head_script().prependFile(asset('/static/js/apik.js')) %}
  232.         {% do pimcore_head_script().prependFile(asset('/static/js/main.js')) %}
  233.         {% do pimcore_head_script().prependFile('/static/js/exkglobal.js') %}
  234.         {#% do pimcore_head_script().prependFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %#}
  235.         {% do pimcore_head_script().prependFile('https://code.jquery.com/jquery-3.6.0.min.js') %}
  236.         {% do pimcore_head_script().prependFile('/static/framework/uikit-3.5.6/js/uikit-icons.min.js') %}
  237.         {% do pimcore_head_script().prependFile('/static/framework/uikit-3.5.6/js/uikit.min.js') %}
  238.     {% endapply %}
  239.     {{ pimcore_head_link() }}
  240.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  241.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">
  242.     </head>
  243.     <body class=\"editmode\">
  244.         
  245. {% endif %}
  246. {% block snippets %}{% endblock %}
  247. {% if editmode %}
  248. {# output scripts added before #}
  249. {% block headscripts %}
  250.     {{ pimcore_head_script() }}
  251. {% endblock %}
  252. {% block inlinescripts %}
  253. {% endblock %}
  254.     </body>
  255.     </html>
  256.     
  257. {% endif %}""layout-snippets.html.twig""/var/www/mynursery.apik-pp.be/www/templates/layout-snippets.html.twig");
  258.     }
  259. }