var/cache/dev/twig/b3/b341d3238c96d2836b27f3b7abc68fa4.php line 50
- <?php
- use Twig\Environment;
- use Twig\Error\LoaderError;
- use Twig\Error\RuntimeError;
- use Twig\Extension\SandboxExtension;
- 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;
- /* @FOSUser/layout.html.twig */
- class __TwigTemplate_06737f4ce10caae6c87e6ef2453df311 extends Template
- {
- private $source;
- private $macros = [];
- public function __construct(Environment $env)
- {
- parent::__construct($env);
- $this->source = $this->getSourceContext();
- $this->blocks = [
- 'javascripts_head' => [$this, 'block_javascripts_head'],
- 'body' => [$this, 'block_body'],
- 'fos_user_content' => [$this, 'block_fos_user_content'],
- ];
- }
- protected function doGetParent(array $context)
- {
- // line 1
- return "base.html.twig";
- }
- protected function doDisplay(array $context, array $blocks = [])
- {
- $macros = $this->macros;
- $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FOSUser/layout.html.twig"));
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@FOSUser/layout.html.twig"));
- $this->parent = $this->loadTemplate("base.html.twig", "@FOSUser/layout.html.twig", 1);
- $this->parent->display($context, array_merge($this->blocks, $blocks));
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
- }
- // line 3
- public function block_javascripts_head($context, array $blocks = [])
- {
- $macros = $this->macros;
- $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_head"));
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts_head"));
- // line 4
- $this->displayParentBlock("javascripts_head", $context, $blocks);
- echo "
- <script type=\"text/javascript\">
- var alice_on = '";
- // line 6
- echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["config_manager"]) || array_key_exists("config_manager", $context) ? $context["config_manager"] : (function () { throw new RuntimeError('Variable "config_manager" does not exist.', 6, $this->source); })()), "getValue", [0 => "alice_on"], "method", false, false, false, 6), "html", null, true);
- echo "';
- </script>
- ";
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
- }
- // line 9
- public function block_body($context, array $blocks = [])
- {
- $macros = $this->macros;
- $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
- // line 10
- echo "<div id=\"cont-body\" class=\"container\">
- ";
- // line 21
- echo "
- ";
- // line 31
- echo "
- <div>
- ";
- // line 33
- $this->displayBlock('fos_user_content', $context, $blocks);
- // line 35
- echo " </div>
- </div>
- ";
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
- }
- // line 33
- public function block_fos_user_content($context, array $blocks = [])
- {
- $macros = $this->macros;
- $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fos_user_content"));
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "fos_user_content"));
- // line 34
- echo " ";
- $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
- $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
- }
- public function getTemplateName()
- {
- return "@FOSUser/layout.html.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- return array ( 132 => 34, 122 => 33, 110 => 35, 108 => 33, 104 => 31, 101 => 21, 98 => 10, 88 => 9, 75 => 6, 70 => 4, 60 => 3, 37 => 1,);
- }
- public function getSourceContext()
- {
- return new Source("{% extends 'base.html.twig' %}
- {% block javascripts_head %}
- {{ parent() }}
- <script type=\"text/javascript\">
- var alice_on = '{{ config_manager.getValue('alice_on') }}';
- </script>
- {% endblock %}
- {% block body %}
- <div id=\"cont-body\" class=\"container\">
- {# <div>
- {% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
- {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
- <a href=\"{{ path('fos_user_security_logout') }}\">
- {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
- </a>
- {% else %}
- <a href=\"{{ path('fos_user_security_login') }}\">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>
- {% endif %}
- </div>#}
- {#{% if app.request.hasPreviousSession %}
- {% for type, messages in app.session.flashBag.all %}
- {% for message in messages %}
- <div class=\"{{ type }}\">
- {{ message|trans({}, 'FOSUserBundle') }}
- </div>
- {% endfor %}
- {% endfor %}
- {% endif %}#}
- <div>
- {% block fos_user_content %}
- {% endblock fos_user_content %}
- </div>
- </div>
- {% endblock %}
- ", "@FOSUser/layout.html.twig", "/home/alien/www/eurochange/templates/bundles/FOSUserBundle/layout.html.twig");
- }
- }