var/cache/dev/twig/fa/faf62509795d3a4987201169e10121af.php line 55

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. /* layout.html.twig */
  14. class __TwigTemplate_28b712b41d9aecbe04b04e465f6de2c8 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.             'widgets' => [$this'block_widgets'],
  24.             'body' => [$this'block_body'],
  25.             'header' => [$this'block_header'],
  26.             'slider' => [$this'block_slider'],
  27.             'flash_messages' => [$this'block_flash_messages'],
  28.             'layout' => [$this'block_layout'],
  29.             'footer' => [$this'block_footer'],
  30.             'modal' => [$this'block_modal'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "/base.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  45.         $this->parent $this->loadTemplate("/base.html.twig""layout.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 3
  53.     public function block_widgets($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""widgets"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""widgets"));
  60.         // line 4
  61.         echo "<!-- Share Buttons -->
  62. <script type='text/javascript' src='https://platform-api.sharethis.com/js/sharethis.js#property=609b84b818d187001189f0cd&product=sop' async='async'></script>
  63. <!-- Cookie Widget -->
  64. <script type=\"text/javascript\" charset=\"UTF-8\" src=\"//cdn.cookie-script.com/s/f6359593d1eb103441b0a11c4f5d26ef.js\"></script>
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.     }
  71.     // line 11
  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 12
  80.         echo "    ";
  81.         $this->displayParentBlock("body"$context$blocks);
  82.         echo "
  83.     ";
  84.         // line 13
  85.         $this->displayBlock('header'$context$blocks);
  86.         // line 16
  87.         echo "
  88.     ";
  89.         // line 17
  90.         $this->displayBlock('slider'$context$blocks);
  91.         // line 19
  92.         echo "
  93.     ";
  94.         // line 20
  95.         $this->displayBlock('flash_messages'$context$blocks);
  96.         // line 27
  97.         echo "
  98.     ";
  99.         // line 28
  100.         $this->displayBlock('layout'$context$blocks);
  101.         // line 32
  102.         echo "
  103.     ";
  104.         // line 33
  105.         $this->displayBlock('footer'$context$blocks);
  106.         // line 36
  107.         echo "    </div>
  108.     ";
  109.         // line 38
  110.         $this->displayBlock('modal'$context$blocks);
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     // line 13
  117.     public function block_header($context, array $blocks = [])
  118.     {
  119.         $macros $this->macros;
  120.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  121.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  123.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  124.         // line 14
  125.         echo "        ";
  126.         $this->loadTemplate("/_header.html.twig""layout.html.twig"14)->display($context);
  127.         // line 15
  128.         echo "    ";
  129.         
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.     }
  134.     // line 17
  135.     public function block_slider($context, array $blocks = [])
  136.     {
  137.         $macros $this->macros;
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""slider"));
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""slider"));
  142.         // line 18
  143.         echo "    ";
  144.         
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  146.         
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  148.     }
  149.     // line 20
  150.     public function block_flash_messages($context, array $blocks = [])
  151.     {
  152.         $macros $this->macros;
  153.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  154.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flash_messages"));
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  156.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flash_messages"));
  157.         // line 21
  158.         echo "        ";
  159.         $context['_parent'] = $context;
  160.         $context['_seq'] = twig_ensure_traversable(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.'21$this->source); })()), "flashes", [=> "success"], "method"falsefalsefalse21));
  161.         foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  162.             // line 22
  163.             echo "            <div class=\"alert alert-success text-center\">
  164.                 ";
  165.             // line 23
  166.             echo $context["message"];
  167.             echo "
  168.             </div>
  169.         ";
  170.         }
  171.         $_parent $context['_parent'];
  172.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  173.         $context array_intersect_key($context$_parent) + $_parent;
  174.         // line 26
  175.         echo "    ";
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.         
  179.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  180.     }
  181.     // line 28
  182.     public function block_layout($context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  189.         // line 29
  190.         echo "        <!-- Newsletter -->
  191.         ";
  192.         // line 30
  193.         $this->loadTemplate("/frontend/_newsletter.html.twig""layout.html.twig"30)->display($context);
  194.         // line 31
  195.         echo "    ";
  196.         
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  198.         
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  200.     }
  201.     // line 33
  202.     public function block_footer($context, array $blocks = [])
  203.     {
  204.         $macros $this->macros;
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  209.         // line 34
  210.         echo "        ";
  211.         $this->loadTemplate("/_footer.html.twig""layout.html.twig"34)->display($context);
  212.         // line 35
  213.         echo "    ";
  214.         
  215.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  216.         
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  218.     }
  219.     // line 38
  220.     public function block_modal($context, array $blocks = [])
  221.     {
  222.         $macros $this->macros;
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  224.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modal"));
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  226.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modal"));
  227.         // line 39
  228.         echo "
  229.     ";
  230.         
  231.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  232.         
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  234.     }
  235.     public function getTemplateName()
  236.     {
  237.         return "layout.html.twig";
  238.     }
  239.     public function isTraitable()
  240.     {
  241.         return false;
  242.     }
  243.     public function getDebugInfo()
  244.     {
  245.         return array (  279 => 39,  269 => 38,  259 => 35,  256 => 34,  246 => 33,  236 => 31,  234 => 30,  231 => 29,  221 => 28,  211 => 26,  202 => 23,  199 => 22,  194 => 21,  184 => 20,  174 => 18,  164 => 17,  154 => 15,  151 => 14,  141 => 13,  131 => 38,  127 => 36,  125 => 33,  122 => 32,  120 => 28,  117 => 27,  115 => 20,  112 => 19,  110 => 17,  107 => 16,  105 => 13,  100 => 12,  90 => 11,  75 => 4,  65 => 3,  42 => 1,);
  246.     }
  247.     public function getSourceContext()
  248.     {
  249.         return new Source("{% extends '/base.html.twig' %}
  250. {% block widgets %}
  251. <!-- Share Buttons -->
  252. <script type='text/javascript' src='https://platform-api.sharethis.com/js/sharethis.js#property=609b84b818d187001189f0cd&product=sop' async='async'></script>
  253. <!-- Cookie Widget -->
  254. <script type=\"text/javascript\" charset=\"UTF-8\" src=\"//cdn.cookie-script.com/s/f6359593d1eb103441b0a11c4f5d26ef.js\"></script>
  255. {% endblock %}
  256. {% block body %}
  257.     {{ parent() }}
  258.     {% block header %}
  259.         {% include '/_header.html.twig' %}
  260.     {% endblock header %}
  261.     {% block slider %}
  262.     {% endblock %}
  263.     {% block flash_messages %}
  264.         {% for message in app.flashes('success') %}
  265.             <div class=\"alert alert-success text-center\">
  266.                 {{ message|raw }}
  267.             </div>
  268.         {% endfor %}
  269.     {% endblock %}
  270.     {% block layout %}
  271.         <!-- Newsletter -->
  272.         {% include '/frontend/_newsletter.html.twig' %}
  273.     {% endblock %}
  274.     {% block footer %}
  275.         {% include '/_footer.html.twig' %}
  276.     {% endblock footer %}
  277.     </div>
  278.     {% block modal %}
  279.     {% endblock %}
  280. {% endblock %}
  281. ""layout.html.twig""/var/www/html/motus/templates/layout.html.twig");
  282.     }
  283. }