var/cache/dev/twig/bd/bd201441acbd7610f5f55736235de14c.php line 39

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. /* theme/show.html.twig */
  14. class __TwigTemplate_467da2f96499b1cdb15574d063432d9c 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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""theme/show.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""theme/show.html.twig"));
  39.         // line 3
  40.         if ( !(null === (isset($context["theme"]) || array_key_exists("theme"$context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.'3$this->source); })()))) {
  41.             // line 4
  42.             $context["title"] = ("Thème : " twig_get_attribute($this->env$this->source, (isset($context["theme"]) || array_key_exists("theme"$context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.'4$this->source); })()), "name", [], "any"falsefalsefalse4));
  43.         } else {
  44.             // line 6
  45.             $context["title"] = ("Thème : " . (isset($context["slug"]) || array_key_exists("slug"$context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.'6$this->source); })()));
  46.         }
  47.         // line 11
  48.         $context["activeMenu"] = "infos-pratiques";
  49.         // line 1
  50.         $this->parent $this->loadTemplate("base.html.twig""theme/show.html.twig"1);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 9
  58.     public function block_title($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'9$this->source); })()), "html"nulltrue);
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 12
  72.     public function block_body($context, array $blocks = [])
  73.     {
  74.         $macros $this->macros;
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  79.         // line 13
  80.         echo "\t";
  81.         $this->loadTemplate("common/searchResult.html.twig""theme/show.html.twig"13)->display(twig_array_merge($context, ["listWithThumbnails" => (isset($context["listWithThumbnails"]) || array_key_exists("listWithThumbnails"$context) ? $context["listWithThumbnails"] : (function () { throw new RuntimeError('Variable "listWithThumbnails" does not exist.'13$this->source); })()), "term" => (isset($context["slug"]) || array_key_exists("slug"$context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.'13$this->source); })()), "title" => (isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'13$this->source); })()), "articles" => (isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'13$this->source); })()), "events" => (isset($context["events"]) || array_key_exists("events"$context) ? $context["events"] : (function () { throw new RuntimeError('Variable "events" does not exist.'13$this->source); })()), "questionAnswers" => (isset($context["questionAnswers"]) || array_key_exists("questionAnswers"$context) ? $context["questionAnswers"] : (function () { throw new RuntimeError('Variable "questionAnswers" does not exist.'13$this->source); })()), "structures" => (isset($context["structures"]) || array_key_exists("structures"$context) ? $context["structures"] : (function () { throw new RuntimeError('Variable "structures" does not exist.'13$this->source); })()), "theme" => (isset($context["theme"]) || array_key_exists("theme"$context) ? $context["theme"] : (function () { throw new RuntimeError('Variable "theme" does not exist.'13$this->source); })())]));
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     public function getTemplateName()
  88.     {
  89.         return "theme/show.html.twig";
  90.     }
  91.     public function isTraitable()
  92.     {
  93.         return false;
  94.     }
  95.     public function getDebugInfo()
  96.     {
  97.         return array (  99 => 13,  89 => 12,  70 => 9,  59 => 1,  57 => 11,  54 => 6,  51 => 4,  49 => 3,  36 => 1,);
  98.     }
  99.     public function getSourceContext()
  100.     {
  101.         return new Source("{% extends 'base.html.twig' %}
  102. {% if theme is not null %}
  103. \t{% set title = \"Thème : \" ~ theme.name %}
  104. {% else %}
  105. \t{% set title = \"Thème : \" ~ slug %}
  106. {% endif %}
  107. {% block title %}{{ title }}{% endblock %}
  108. {% set activeMenu = \"infos-pratiques\" %}
  109. {% block body %}
  110. \t{% include 'common/searchResult.html.twig' with {'listWithThumbnails': listWithThumbnails, 'term': slug, 'title': title, 'articles': articles, 'events': events, 'questionAnswers': questionAnswers, 'structures': structures, 'theme': theme } %}
  111. {% endblock %}
  112. ""theme/show.html.twig""/home/ovow2306/public_html/ici-grenoble/ici-gre-back-dev/templates/theme/show.html.twig");
  113.     }
  114. }