var/cache/dev/twig/6a/6a0c140152580665c97c2640684edce64cb2bd383677936318b9fbe94c430361.php line 63

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. /* base.html.twig */
  14. class __TwigTemplate_67b9626c49c51bdeca4ea949125c31fb38581358c48365d327639169010968c3 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.             'stylesheets' => [$this'block_stylesheets'],
  26.             'body' => [$this'block_body'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.         ];
  29.     }
  30.     protected function doDisplay(array $context, array $blocks = [])
  31.     {
  32.         $macros $this->macros;
  33.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  35.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base.html.twig"));
  37.         // line 1
  38.         echo "<!DOCTYPE html>
  39. <html>
  40.     <head>
  41.         <meta charset=\"UTF-8\">
  42.         <title>";
  43.         // line 5
  44.         $this->displayBlock('title'$context$blocks);
  45.         echo "</title>
  46.         ";
  47.         // line 6
  48.         $this->displayBlock('stylesheets'$context$blocks);
  49.         // line 9
  50.         echo "    </head>
  51.     <body>
  52.         ";
  53.         // line 11
  54.         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.'11$this->source); })()), "session", [], "any"falsefalsefalse11)) && twig_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.'11$this->source); })()), "session", [], "any"falsefalsefalse11), "started", [], "any"falsefalsefalse11))) {
  55.             // line 12
  56.             echo "            ";
  57.             $context["_flash_messages"] = 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.'12$this->source); })()), "session", [], "any"falsefalsefalse12), "flashbag", [], "any"falsefalsefalse12), "all", [], "any"falsefalsefalse12);
  58.             // line 13
  59.             echo "            ";
  60.             if ((=== twig_compare(twig_length_filter($this->env, (isset($context["_flash_messages"]) || array_key_exists("_flash_messages"$context) ? $context["_flash_messages"] : (function () { throw new RuntimeError('Variable "_flash_messages" does not exist.'13$this->source); })())), 0))) {
  61.                 // line 14
  62.                 echo "                <div id=\"flash-messages\">
  63.                     ";
  64.                 // line 15
  65.                 $context['_parent'] = $context;
  66.                 $context['_seq'] = twig_ensure_traversable((isset($context["_flash_messages"]) || array_key_exists("_flash_messages"$context) ? $context["_flash_messages"] : (function () { throw new RuntimeError('Variable "_flash_messages" does not exist.'15$this->source); })()));
  67.                 foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  68.                     // line 16
  69.                     echo "                        ";
  70.                     $context['_parent'] = $context;
  71.                     $context['_seq'] = twig_ensure_traversable($context["messages"]);
  72.                     foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  73.                         // line 17
  74.                         echo "                            <div class=\"alert alert-";
  75.                         echo twig_escape_filter($this->env$context["label"], "html"nulltrue);
  76.                         echo "\">
  77.                                 ";
  78.                         // line 18
  79.                         echo twig_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"])), "html"nulltrue);
  80.                         echo "
  81.                             </div>
  82.                         ";
  83.                     }
  84.                     $_parent $context['_parent'];
  85.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  86.                     $context array_intersect_key($context$_parent) + $_parent;
  87.                     // line 21
  88.                     echo "                    ";
  89.                 }
  90.                 $_parent $context['_parent'];
  91.                 unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  92.                 $context array_intersect_key($context$_parent) + $_parent;
  93.                 // line 22
  94.                 echo "                </div>
  95.             ";
  96.             }
  97.             // line 24
  98.             echo "        ";
  99.         }
  100.         // line 25
  101.         echo "        ";
  102.         $this->displayBlock('body'$context$blocks);
  103.         // line 26
  104.         echo "        ";
  105.         $this->displayBlock('javascripts'$context$blocks);
  106.         // line 28
  107.         echo "    </body>
  108. </html>
  109. ";
  110.         
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  112.         
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  114.     }
  115.     // line 5
  116.     public function block_title($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  123.         echo "Welcome!";
  124.         
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  126.         
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  128.     }
  129.     // line 6
  130.     public function block_stylesheets($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  135.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  137.         // line 7
  138.         echo "            <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css\" integrity=\"sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO\" crossorigin=\"anonymous\">
  139.         ";
  140.         
  141.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  142.         
  143.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  144.     }
  145.     // line 25
  146.     public function block_body($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""body"));
  151.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  153.         
  154.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  155.         
  156.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  157.     }
  158.     // line 26
  159.     public function block_javascripts($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""javascripts"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  166.         // line 27
  167.         echo "        ";
  168.         
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  170.         
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  172.     }
  173.     public function getTemplateName()
  174.     {
  175.         return "base.html.twig";
  176.     }
  177.     public function isTraitable()
  178.     {
  179.         return false;
  180.     }
  181.     public function getDebugInfo()
  182.     {
  183.         return array (  196 => 27,  186 => 26,  168 => 25,  157 => 7,  147 => 6,  128 => 5,  116 => 28,  113 => 26,  110 => 25,  107 => 24,  103 => 22,  97 => 21,  88 => 18,  83 => 17,  78 => 16,  74 => 15,  71 => 14,  68 => 13,  65 => 12,  63 => 11,  59 => 9,  57 => 6,  53 => 5,  47 => 1,);
  184.     }
  185.     public function getSourceContext()
  186.     {
  187.         return new Source("<!DOCTYPE html>
  188. <html>
  189.     <head>
  190.         <meta charset=\"UTF-8\">
  191.         <title>{% block title %}Welcome!{% endblock %}</title>
  192.         {% block stylesheets %}
  193.             <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css\" integrity=\"sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO\" crossorigin=\"anonymous\">
  194.         {% endblock %}
  195.     </head>
  196.     <body>
  197.         {% if app.session is not null and app.session.started %}
  198.             {% set _flash_messages = app.session.flashbag.all %}
  199.             {% if _flash_messages|length > 0 %}
  200.                 <div id=\"flash-messages\">
  201.                     {% for label, messages in _flash_messages %}
  202.                         {% for message in messages %}
  203.                             <div class=\"alert alert-{{ label }}\">
  204.                                 {{ message|trans|striptags }}
  205.                             </div>
  206.                         {% endfor %}
  207.                     {% endfor %}
  208.                 </div>
  209.             {% endif %}
  210.         {% endif %}
  211.         {% block body %}{% endblock %}
  212.         {% block javascripts %}
  213.         {% endblock %}
  214.     </body>
  215. </html>
  216. ""base.html.twig""/srv/www/vhosts/mdmUniHere/prj/templates/base.html.twig");
  217.     }
  218. }