var/cache/dev/twig/ef/ef8985843a3f6da0fffdb4be255f9948.php line 71

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. /* article/detail.html.twig */
  14. class __TwigTemplate_8d5352b608f48823b46f07c0e85febf3 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 7
  31.         return "layouts/default.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""article/detail.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""article/detail.html.twig"));
  40.         $this->parent $this->loadTemplate("layouts/default.html.twig""article/detail.html.twig"7);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 9
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 10
  56.         echo "\t";
  57.         $this->loadTemplate("navigation/breadcrumb.html.twig""article/detail.html.twig"10)->display($context);
  58.         // line 11
  59.         echo "
  60. \t";
  61.         // line 13
  62.         $this->loadTemplate("navigation/prev-next.html.twig""article/detail.html.twig"13)->display(twig_array_merge($context, ["overview" => ((        // line 14
  63. array_key_exists("overview"$context)) ? (_twig_default_filter((isset($context["overview"]) || array_key_exists("overview"$context) ? $context["overview"] : (function () { throw new RuntimeError('Variable "overview" does not exist.'14$this->source); })()), null)) : (null)), "prev" => ((        // line 15
  64. array_key_exists("prev"$context)) ? (_twig_default_filter((isset($context["prev"]) || array_key_exists("prev"$context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.'15$this->source); })()), null)) : (null)), "next" => ((        // line 16
  65. array_key_exists("next"$context)) ? (_twig_default_filter((isset($context["next"]) || array_key_exists("next"$context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.'16$this->source); })()), null)) : (null))]));
  66.         // line 19
  67.         echo "
  68. \t";
  69.         // line 20
  70.         $this->loadTemplate("includes/areabrick.html.twig""article/detail.html.twig"20)->display(twig_array_merge($context, ["id" => "sections""controlsAlign" => "top"]));
  71.         // line 21
  72.         echo "
  73. \t";
  74.         // line 23
  75.         $this->loadTemplate("navigation/prev-next.html.twig""article/detail.html.twig"23)->display(twig_array_merge($context, ["overview" => ((        // line 24
  76. array_key_exists("overview"$context)) ? (_twig_default_filter((isset($context["overview"]) || array_key_exists("overview"$context) ? $context["overview"] : (function () { throw new RuntimeError('Variable "overview" does not exist.'24$this->source); })()), null)) : (null)), "prev" => ((        // line 25
  77. array_key_exists("prev"$context)) ? (_twig_default_filter((isset($context["prev"]) || array_key_exists("prev"$context) ? $context["prev"] : (function () { throw new RuntimeError('Variable "prev" does not exist.'25$this->source); })()), null)) : (null)), "next" => ((        // line 26
  78. array_key_exists("next"$context)) ? (_twig_default_filter((isset($context["next"]) || array_key_exists("next"$context) ? $context["next"] : (function () { throw new RuntimeError('Variable "next" does not exist.'26$this->source); })()), null)) : (null)), "bottom" => true]));
  79.         // line 30
  80.         echo "
  81. ";
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     public function getTemplateName()
  88.     {
  89.         return "article/detail.html.twig";
  90.     }
  91.     public function isTraitable()
  92.     {
  93.         return false;
  94.     }
  95.     public function getDebugInfo()
  96.     {
  97.         return array (  94 => 30,  92 => 26,  91 => 25,  90 => 24,  89 => 23,  86 => 21,  84 => 20,  81 => 19,  79 => 16,  78 => 15,  77 => 14,  76 => 13,  73 => 11,  70 => 10,  60 => 9,  37 => 7,);
  98.     }
  99.     public function getSourceContext()
  100.     {
  101.         return new Source("{#
  102. project: Pimcore - Schutzverband Nuernberg Rostbratwuerste
  103. User: erikb
  104. Year: 2022
  105. #}
  106. {% extends 'layouts/default.html.twig' %}
  107. {% block content %}
  108. \t{% include 'navigation/breadcrumb.html.twig' %}
  109. \t{%
  110. \t\tinclude 'navigation/prev-next.html.twig' with {
  111. \t\t\t'overview': overview|default(null),
  112. \t\t\t'prev': prev|default(null),
  113. \t\t\t'next': next|default(null)
  114. \t\t}
  115. \t%}
  116. \t{% include 'includes/areabrick.html.twig' with {'id': 'sections', 'controlsAlign': 'top' } %}
  117. \t{%
  118. \t\tinclude 'navigation/prev-next.html.twig' with {
  119. \t\t\t'overview': overview|default(null),
  120. \t\t\t'prev': prev|default(null),
  121. \t\t\t'next': next|default(null),
  122. \t\t\t'bottom': true
  123. \t\t}
  124. \t%}
  125. {% endblock content %}""article/detail.html.twig""/var/www/snr/staging.nuernberger-bratwuerste.de/templates/article/detail.html.twig");
  126.     }
  127.     
  128.     public function checkSecurity()
  129.     {
  130.         static $tags = array("include" => 10);
  131.         static $filters = array("default" => 14);
  132.         static $functions = array();
  133.         try {
  134.             $this->sandbox->checkSecurity(
  135.                 ['include'],
  136.                 ['default'],
  137.                 []
  138.             );
  139.         } catch (SecurityError $e) {
  140.             $e->setSourceContext($this->source);
  141.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  142.                 $e->setTemplateLine($tags[$e->getTagName()]);
  143.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  144.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  145.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  146.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  147.             }
  148.             throw $e;
  149.         }
  150.     }
  151. }