|
@@ -1,145 +0,0 @@
|
|
-<?php
|
|
|
|
-
|
|
|
|
-use Twig\Environment;
|
|
|
|
-use Twig\Error\LoaderError;
|
|
|
|
-use Twig\Error\RuntimeError;
|
|
|
|
-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;
|
|
|
|
-
|
|
|
|
-/* themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig */
|
|
|
|
-class __TwigTemplate_80c8e4feeacb9fefc4e2091e76c55cfbaa6ecc6148939c1bb3c304237bdf00ab extends \Twig\Template
|
|
|
|
-{
|
|
|
|
- public function __construct(Environment $env)
|
|
|
|
- {
|
|
|
|
- parent::__construct($env);
|
|
|
|
-
|
|
|
|
- $this->parent = false;
|
|
|
|
-
|
|
|
|
- $this->blocks = [
|
|
|
|
- 'content' => [$this, 'block_content'],
|
|
|
|
- ];
|
|
|
|
- $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
|
|
|
|
- $tags = ["set" => 31, "if" => 33, "block" => 48];
|
|
|
|
- $filters = ["escape" => 38];
|
|
|
|
- $functions = [];
|
|
|
|
-
|
|
|
|
- try {
|
|
|
|
- $this->sandbox->checkSecurity(
|
|
|
|
- ['set', 'if', 'block'],
|
|
|
|
- ['escape'],
|
|
|
|
- []
|
|
|
|
- );
|
|
|
|
- } catch (SecurityError $e) {
|
|
|
|
- $e->setSourceContext($this->getSourceContext());
|
|
|
|
-
|
|
|
|
- if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
|
|
|
|
- $e->setTemplateLine($tags[$e->getTagName()]);
|
|
|
|
- } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
|
|
|
|
- $e->setTemplateLine($filters[$e->getFilterName()]);
|
|
|
|
- } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
|
|
|
|
- $e->setTemplateLine($functions[$e->getFunctionName()]);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- throw $e;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- protected function doDisplay(array $context, array $blocks = [])
|
|
|
|
- {
|
|
|
|
- // line 30
|
|
|
|
- echo "
|
|
|
|
-";
|
|
|
|
- // line 31
|
|
|
|
- $context["class"] = $this->getAttribute($this->getAttribute($this->getAttribute([0 => ($context["elements"] ?? null)], 0, [], "array"), "content", []), "#view_id", [], "array");
|
|
|
|
- // line 32
|
|
|
|
- echo "
|
|
|
|
-";
|
|
|
|
- // line 33
|
|
|
|
- if ((((($context["class"] ?? null) == "programme") || (($context["class"] ?? null) == "publications")) || (($context["class"] ?? null) == "bibliographie"))) {
|
|
|
|
- // line 34
|
|
|
|
- echo " ";
|
|
|
|
- $context["addClass"] = "container";
|
|
|
|
- }
|
|
|
|
- // line 36
|
|
|
|
- echo "
|
|
|
|
-
|
|
|
|
-<div class=\"";
|
|
|
|
- // line 38
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["class"] ?? null)), "html", null, true);
|
|
|
|
- echo " ";
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["addClass"] ?? null)), "html", null, true);
|
|
|
|
- echo "\">
|
|
|
|
-
|
|
|
|
-";
|
|
|
|
- // line 40
|
|
|
|
- if ((($context["class"] ?? null) == "programme")) {
|
|
|
|
- // line 41
|
|
|
|
- echo " ";
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_prefix"] ?? null)), "html", null, true);
|
|
|
|
- echo "
|
|
|
|
- ";
|
|
|
|
- // line 42
|
|
|
|
- if (($context["label"] ?? null)) {
|
|
|
|
- // line 43
|
|
|
|
- echo " <h2";
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_attributes"] ?? null)), "html", null, true);
|
|
|
|
- echo ">";
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null)), "html", null, true);
|
|
|
|
- echo "</h2>
|
|
|
|
- ";
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- // line 46
|
|
|
|
- echo "
|
|
|
|
- ";
|
|
|
|
- // line 47
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title_suffix"] ?? null)), "html", null, true);
|
|
|
|
- echo "
|
|
|
|
- ";
|
|
|
|
- // line 48
|
|
|
|
- $this->displayBlock('content', $context, $blocks);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public function block_content($context, array $blocks = [])
|
|
|
|
- {
|
|
|
|
- // line 49
|
|
|
|
- echo " ";
|
|
|
|
- echo $this->env->getExtension('Drupal\Core\Template\TwigExtension')->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null)), "html", null, true);
|
|
|
|
- echo "
|
|
|
|
- ";
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public function getTemplateName()
|
|
|
|
- {
|
|
|
|
- return "themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig";
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public function isTraitable()
|
|
|
|
- {
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public function getDebugInfo()
|
|
|
|
- {
|
|
|
|
- return array ( 112 => 49, 106 => 48, 102 => 47, 99 => 46, 90 => 43, 88 => 42, 83 => 41, 81 => 40, 74 => 38, 70 => 36, 66 => 34, 64 => 33, 61 => 32, 59 => 31, 56 => 30,);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
|
|
|
|
- public function getSource()
|
|
|
|
- {
|
|
|
|
- @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
|
|
|
|
-
|
|
|
|
- return $this->getSourceContext()->getCode();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public function getSourceContext()
|
|
|
|
- {
|
|
|
|
- return new Source("", "themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig", "/var/www/html/web/themes/custom/popsu_colloque/template/block/block--mainpagecontent.html.twig");
|
|
|
|
- }
|
|
|
|
-}
|
|
|