var/cache/dev/twig/fc/fcc299eaca8fe222c26dc77e69326a5f8f834baa1931ec1534c67a3624fd033e.php line 143

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. /* content/baseImmemory.html.twig */
  14. class __TwigTemplate_c7ff677054db4f6c8be7ccfa0f89881d2e5ec93b538bb2f408df846c9d49ce49 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.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.             'javascripts' => [$this'block_javascripts'],
  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""content/baseImmemory.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""content/baseImmemory.html.twig"));
  36.         // line 1
  37.         echo "<!DOCTYPE html>
  38. <html>
  39.     <head>
  40.         <meta charset=\"UTF-8\" />
  41.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  42.         <meta name=\"description\" content=\"Autobiographie de Chris Marker.
  43. Produit par le Centre Georges Pompidou, le Musée National d'Art Moderne, le Service nouveaux media et Les Films de l'Astrophore, à Paris, Nosferatu, à Helsinki, et le Centre pour l'image contemporaine de Saint-Gervais,
  44.  à Genève, ce projet est au départ un cédérom, qui consiste en un immense assemblage de fragments (images, textes et son), que l'utilisateur peut parcourir à sa guise, recréant autant d'histoires (ou biographies) que de parcours.\" />
  45.         <meta name=\"keywords\" content=\"Chris Marker\" />
  46.         <meta name=\"author\" content=\"Justarigolo & Webgiciel\" />
  47.         <meta name=\"copyright\" content=\"© CC 2021\" />
  48.         <!-- favicon -->
  49.         <link rel=\"shortcut icon\" href=\"";
  50.         // line 15
  51.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'15$this->source); })()), "html"nulltrue);
  52.         echo "/modules/favicon.ico\">
  53.         <!-- titre -->
  54.         <title>";
  55.         // line 18
  56.         $this->displayBlock('title'$context$blocks);
  57.         echo "</title>
  58.         <!-- bootstrap -->
  59.         <link rel=\"stylesheet\" href=\"";
  60.         // line 21
  61.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'21$this->source); })()), "html"nulltrue);
  62.         echo "/modules/bootstrap-4.5.3/css/bootstrap.min.css\">
  63.         <!-- fontawesome -->
  64.         <script src=\"https://kit.fontawesome.com/97264cb235.js\" crossorigin=\"anonymous\"></script>
  65.         <!-- ckeditor -->
  66.         <script src=\"https://cdn.ckeditor.com/4.16.1/standard/ckeditor.js\"></script>
  67.         <!-- jquery-ui -->
  68.         <link rel=\"stylesheet\" href=\"";
  69.         // line 30
  70.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'30$this->source); })()), "html"nulltrue);
  71.         echo "/modules/js/jquery-ui-1.12.1.custom/jquery-ui.min.css\">
  72.         <!-- css -->
  73. \t\t
  74. \t\t<link rel=\"stylesheet\" href=\"";
  75.         // line 34
  76.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'34$this->source); })()), "html"nulltrue);
  77.         echo "/css/style.css\">
  78. \t\t
  79.         ";
  80.         // line 36
  81.         if ( !(null === 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.'36$this->source); })()), "user", [], "any"falsefalsefalse36))) {
  82.             // line 37
  83.             echo "          ";
  84.             if ((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_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.'37$this->source); })()), "user", [], "any"falsefalsefalse37), "roles", [], "any"falsefalsefalse37), 0, [], "array"falsefalsefalse37), "ROLE_ADMIN"))) {
  85.                 // line 38
  86.                 echo "            <link rel=\"stylesheet\" href=\"";
  87.                 echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'38$this->source); })()), "html"nulltrue);
  88.                 echo "/css/style_Administrateur.css\">
  89.           ";
  90.             } else {
  91.                 // line 40
  92.                 echo "            <link rel=\"stylesheet\" href=\"";
  93.                 echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'40$this->source); })()), "html"nulltrue);
  94.                 echo "/css/style_Membre.css\">
  95.           ";
  96.             }
  97.             // line 42
  98.             echo "        ";
  99.         } else {
  100.             // line 43
  101.             echo "            <link rel=\"stylesheet\" href=\"";
  102.             echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'43$this->source); })()), "html"nulltrue);
  103.             echo "/css/style_Visiteur.css\">
  104.         ";
  105.         }
  106.         // line 45
  107.         echo "
  108.         <link rel=\"stylesheet\" href=\"";
  109.         // line 46
  110.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'46$this->source); })()), "html"nulltrue);
  111.         echo "/css/stylePrint.css\" type=\"text/css\" media=\"print\">
  112.     </head>
  113.     <body>
  114.   \t\t<div id=\"base\" class=\"sticky-top\">
  115.         ";
  116.         // line 53
  117.         $this->loadTemplate("content/elements/navBarImmemory.html.twig""content/baseImmemory.html.twig"53)->display($context);
  118.         // line 54
  119.         echo "  \t\t</div>
  120.       ";
  121.         // line 56
  122.         $this->displayBlock('body'$context$blocks);
  123.         // line 57
  124.         echo "
  125.         <!-- bootstrap -->
  126.         <script src=\"";
  127.         // line 60
  128.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'60$this->source); })()), "html"nulltrue);
  129.         echo "/modules/js/jquery-3.5.1.min.js\"></script>
  130.         <script src=\"";
  131.         // line 61
  132.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'61$this->source); })()), "html"nulltrue);
  133.         echo "/modules/bootstrap-4.5.3/js/bootstrap.bundle.min.js\"></script>
  134.         <!-- jquery-ui -->
  135.         <script src=\"";
  136.         // line 64
  137.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'64$this->source); })()), "html"nulltrue);
  138.         echo "/modules/js/jquery-ui-1.12.1.custom/external/jquery/jquery.js\"></script>
  139.         <script src=\"";
  140.         // line 65
  141.         echo twig_escape_filter($this->env, (isset($context["pathLocal"]) || array_key_exists("pathLocal"$context) ? $context["pathLocal"] : (function () { throw new RuntimeError('Variable "pathLocal" does not exist.'65$this->source); })()), "html"nulltrue);
  142.         echo "/modules/js/jquery-ui-1.12.1.custom/jquery-ui.min.js\"></script>
  143.         <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  144.         <!-- js -->
  145.         ";
  146.         // line 70
  147.         $this->displayBlock('javascripts'$context$blocks);
  148.         // line 71
  149.         echo "    </body>
  150. </html>
  151. ";
  152.         
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  154.         
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  156.     }
  157.     // line 18
  158.     public function block_title($context, array $blocks = [])
  159.     {
  160.         $macros $this->macros;
  161.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  165.         echo "Immemory";
  166.         
  167.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  168.         
  169.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  170.     }
  171.     // line 56
  172.     public function block_body($context, array $blocks = [])
  173.     {
  174.         $macros $this->macros;
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  179.         
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  181.         
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  183.     }
  184.     // line 70
  185.     public function block_javascripts($context, array $blocks = [])
  186.     {
  187.         $macros $this->macros;
  188.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  189.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  190.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  191.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  192.         
  193.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  194.         
  195.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  196.     }
  197.     public function getTemplateName()
  198.     {
  199.         return "content/baseImmemory.html.twig";
  200.     }
  201.     public function isTraitable()
  202.     {
  203.         return false;
  204.     }
  205.     public function getDebugInfo()
  206.     {
  207.         return array (  223 => 70,  205 => 56,  186 => 18,  174 => 71,  172 => 70,  164 => 65,  160 => 64,  154 => 61,  150 => 60,  145 => 57,  143 => 56,  139 => 54,  137 => 53,  127 => 46,  124 => 45,  118 => 43,  115 => 42,  109 => 40,  103 => 38,  100 => 37,  98 => 36,  93 => 34,  86 => 30,  74 => 21,  68 => 18,  62 => 15,  46 => 1,);
  208.     }
  209.     public function getSourceContext()
  210.     {
  211.         return new Source("<!DOCTYPE html>
  212. <html>
  213.     <head>
  214.         <meta charset=\"UTF-8\" />
  215.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  216.         <meta name=\"description\" content=\"Autobiographie de Chris Marker.
  217. Produit par le Centre Georges Pompidou, le Musée National d'Art Moderne, le Service nouveaux media et Les Films de l'Astrophore, à Paris, Nosferatu, à Helsinki, et le Centre pour l'image contemporaine de Saint-Gervais,
  218.  à Genève, ce projet est au départ un cédérom, qui consiste en un immense assemblage de fragments (images, textes et son), que l'utilisateur peut parcourir à sa guise, recréant autant d'histoires (ou biographies) que de parcours.\" />
  219.         <meta name=\"keywords\" content=\"Chris Marker\" />
  220.         <meta name=\"author\" content=\"Justarigolo & Webgiciel\" />
  221.         <meta name=\"copyright\" content=\"© CC 2021\" />
  222.         <!-- favicon -->
  223.         <link rel=\"shortcut icon\" href=\"{{ pathLocal }}/modules/favicon.ico\">
  224.         <!-- titre -->
  225.         <title>{% block title %}Immemory{% endblock %}</title>
  226.         <!-- bootstrap -->
  227.         <link rel=\"stylesheet\" href=\"{{ pathLocal }}/modules/bootstrap-4.5.3/css/bootstrap.min.css\">
  228.         <!-- fontawesome -->
  229.         <script src=\"https://kit.fontawesome.com/97264cb235.js\" crossorigin=\"anonymous\"></script>
  230.         <!-- ckeditor -->
  231.         <script src=\"https://cdn.ckeditor.com/4.16.1/standard/ckeditor.js\"></script>
  232.         <!-- jquery-ui -->
  233.         <link rel=\"stylesheet\" href=\"{{ pathLocal }}/modules/js/jquery-ui-1.12.1.custom/jquery-ui.min.css\">
  234.         <!-- css -->
  235. \t\t
  236. \t\t<link rel=\"stylesheet\" href=\"{{ pathLocal }}/css/style.css\">
  237. \t\t
  238.         {% if app.user is not null %}
  239.           {% if app.user.roles[0] == \"ROLE_ADMIN\" %}
  240.             <link rel=\"stylesheet\" href=\"{{ pathLocal }}/css/style_Administrateur.css\">
  241.           {% else %}
  242.             <link rel=\"stylesheet\" href=\"{{ pathLocal }}/css/style_Membre.css\">
  243.           {% endif %}
  244.         {% else %}
  245.             <link rel=\"stylesheet\" href=\"{{ pathLocal }}/css/style_Visiteur.css\">
  246.         {% endif %}
  247.         <link rel=\"stylesheet\" href=\"{{ pathLocal }}/css/stylePrint.css\" type=\"text/css\" media=\"print\">
  248.     </head>
  249.     <body>
  250.   \t\t<div id=\"base\" class=\"sticky-top\">
  251.         {% include('content/elements/navBarImmemory.html.twig') %}
  252.   \t\t</div>
  253.       {% block body %}{% endblock %}
  254.         <!-- bootstrap -->
  255.         <script src=\"{{ pathLocal }}/modules/js/jquery-3.5.1.min.js\"></script>
  256.         <script src=\"{{ pathLocal }}/modules/bootstrap-4.5.3/js/bootstrap.bundle.min.js\"></script>
  257.         <!-- jquery-ui -->
  258.         <script src=\"{{ pathLocal }}/modules/js/jquery-ui-1.12.1.custom/external/jquery/jquery.js\"></script>
  259.         <script src=\"{{ pathLocal }}/modules/js/jquery-ui-1.12.1.custom/jquery-ui.min.js\"></script>
  260.         <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  261.         <!-- js -->
  262.         {% block javascripts %}{% endblock %}
  263.     </body>
  264. </html>
  265. ""content/baseImmemory.html.twig""/var/www/clients/client2/web14/web/templates/content/baseImmemory.html.twig");
  266.     }
  267. }