123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <?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");
- }
- }
|