var/cache/dev/twig/d7/d767752a13c3fe609d7b5afacc0059e4.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* layout/base.html.twig */
  16. class __TwigTemplate_6e24767e5d399b92230a33b018e705d9 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. 'title' => [$this, 'block_title'],
  30. 'content' => [$this, 'block_content'],
  31. 'sidebar' => [$this, 'block_sidebar'],
  32. ];
  33. $this->sandbox = $this->extensions[SandboxExtension::class];
  34. $this->checkSecurity();
  35. }
  36. protected function doDisplay(array $context, array $blocks = []): iterable
  37. {
  38. $macros = $this->macros;
  39. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout/base.html.twig"));
  43. // line 1
  44. yield "<!DOCTYPE html>
  45. <html lang=\"de\">
  46. <head>
  47. <meta charset=\"UTF-8\">
  48. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  49. <title>";
  50. // line 6
  51. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  52. yield "</title>
  53. <link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/bootstrap.css?";
  54. // line 8
  55. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\UtilsExtension']->getMd5File("/static/css/bootstrap.css"), "html", null, true);
  56. yield "\"/>
  57. <link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/styles.css?";
  58. // line 9
  59. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\UtilsExtension']->getMd5File("/static/css/styles.css"), "html", null, true);
  60. yield "\"/>
  61. <script src=\"/static/js/app.js?";
  62. // line 10
  63. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\Extension\UtilsExtension']->getMd5File("/static/js/app.js"), "html", null, true);
  64. yield "\" type=\"text/javascript\"></script>
  65. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  66. <link rel=\"icon\" type=\"image/vnd.icon\" href=\"/var/assets/Layout/Logo.png\">
  67. <meta name=\"robots\" content=\"index\"/>
  68. <meta name=\"description\" content=\"Faschingskomitee der Bauhaus Universität Weimar e.V.\"/>
  69. </head>
  70. <body data-bs-theme=\"light\">
  71. ";
  72. // line 18
  73. if (( !array_key_exists("document", $context) || !(isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 18, $this->source); })()))) {
  74. // line 19
  75. yield " ";
  76. $context["document"] = Pimcore\Model\Document::getById(1);
  77. // line 20
  78. yield " ";
  79. }
  80. // line 21
  81. yield " ";
  82. $context["navStartNode"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 21, $this->source); })()), "getProperty", ["navigation_root"], "method", false, false, true, 21);
  83. // line 22
  84. yield "
  85. ";
  86. // line 23
  87. if ( !$this->env->getTest('instanceof')->getCallable()((isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 23, $this->source); })()), "\\Pimcore\\Model\\Document")) {
  88. // line 24
  89. yield " ";
  90. $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  91. // line 25
  92. yield " ";
  93. }
  94. // line 26
  95. yield "
  96. ";
  97. // line 27
  98. $context["mainNavigation"] = $this->extensions['App\Twig\Extension\NavigationExtension']->mainNavigation($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 27, $this->source); })()), 27, $this->source), $this->sandbox->ensureToStringAllowed((isset($context["navStartNode"]) || array_key_exists("navStartNode", $context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.', 27, $this->source); })()), 27, $this->source));
  99. // line 28
  100. yield "
  101. ";
  102. // line 30
  103. yield " <button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  104. <span class=\"navbar-toggler-icon\"></span>
  105. </button>
  106. <div class=\"container-fluid\">
  107. ";
  108. // line 36
  109. yield " <header class=\"row py-3\">
  110. <div class=\"col-12 d-flex justify-content-between align-items-center\">
  111. <a href=\"/\" class=\"\">
  112. ";
  113. // line 39
  114. yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, Pimcore\Model\Asset::getByPath("/Layout/Logo.png"), "thumbnail", ["default"], "method", false, false, true, 39), "html", [["imgAttributes" => ["id" => "logo"]]], "method", false, false, true, 39), 39, $this->source);
  115. yield "
  116. </a>
  117. <div class=\"d-flex align-items-center gap-2\">
  118. ";
  119. // line 43
  120. yield " <button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  121. <span class=\"navbar-toggler-icon\"></span>
  122. </button>
  123. ";
  124. // line 47
  125. yield " <button class=\"btn btn-contrast\" type=\"button\" aria-label=\"Toggle theme\" data-bs-toggle=\"theme\">
  126. <svg class=\"icon-light\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
  127. <path d=\"M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"/>
  128. </svg>
  129. <svg class=\"icon-dark\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
  130. <path d=\"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"/>
  131. </svg>
  132. </button>
  133. </div>
  134. </div>
  135. </header>
  136. <div class=\"row\">
  137. ";
  138. // line 61
  139. yield " <div class=\"col-md-2\">
  140. <div class=\"nav-wrapper\">
  141. <nav class=\"py-4 bg-light offcanvas-md offcanvas-start\" tabindex=\"-1\" id=\"mainNavigation\" aria-labelledby=\"mainNavigationLabel\">
  142. <div class=\"offcanvas-header d-md-none\">
  143. <h5 class=\"offcanvas-title\" id=\"mainNavigationLabel\">Menü</h5>
  144. <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-label=\"Close\"></button>
  145. </div>
  146. <div class=\"offcanvas-body p-0\">
  147. <ul class=\"nav flex-column\">
  148. ";
  149. // line 70
  150. $context['_parent'] = $context;
  151. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["mainNavigation"]) || array_key_exists("mainNavigation", $context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.', 70, $this->source); })()));
  152. foreach ($context['_seq'] as $context["_key"] => $context["page"]) {
  153. // line 71
  154. yield " <li class=\"nav-item\">
  155. <a class=\"nav-link ";
  156. // line 72
  157. if (CoreExtension::getAttribute($this->env, $this->source, $context["page"], "active", [], "any", false, false, true, 72)) {
  158. yield "active";
  159. }
  160. yield "\" href=\"";
  161. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["page"], "href", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
  162. yield "\">";
  163. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["page"], "label", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
  164. yield "</a>
  165. </li>
  166. ";
  167. }
  168. $_parent = $context['_parent'];
  169. unset($context['_seq'], $context['_key'], $context['page'], $context['_parent']);
  170. $context = array_intersect_key($context, $_parent) + $_parent;
  171. // line 75
  172. yield " </ul>
  173. </div>
  174. </nav>
  175. </div>
  176. </div>
  177. ";
  178. // line 82
  179. yield " <div class=\"content-wrapper\">
  180. <div class=\"row flex-grow-1\">
  181. ";
  182. // line 85
  183. yield " <main class=\"col-md-8 py-4\">
  184. ";
  185. // line 87
  186. yield " <nav aria-label=\"breadcrumb\" class=\"mb-4\">
  187. <ol class=\"breadcrumb\">
  188. ";
  189. // line 89
  190. $context["mainNavStartNode"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 89, $this->source); })()), "getProperty", ["navigation_root"], "method", false, false, true, 89);
  191. // line 90
  192. yield " ";
  193. if (Twig\Extension\CoreExtension::testEmpty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 90, $this->source); })()))) {
  194. // line 91
  195. yield " ";
  196. $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  197. // line 92
  198. yield " ";
  199. }
  200. // line 93
  201. yield " ";
  202. if (((CoreExtension::getAttribute($this->env, $this->source, (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, true, 93) != CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 93, $this->source); })()), "id", [], "any", false, false, true, 93)) || (CoreExtension::getAttribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 93, $this->source); })()), "key", [], "any", false, false, true, 93) == "exceptionPage_1678441938013"))) {
  203. // line 94
  204. yield " ";
  205. $context["breadcrumbs"] = $this->extensions['App\Twig\Extension\UtilsExtension']->buildBreadcrumbs($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 94, $this->source); })()), 94, $this->source), $this->sandbox->ensureToStringAllowed((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode", $context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.', 94, $this->source); })()), 94, $this->source));
  206. // line 95
  207. yield " ";
  208. $context['_parent'] = $context;
  209. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 95, $this->source); })()));
  210. $context['loop'] = [
  211. 'parent' => $context['_parent'],
  212. 'index0' => 0,
  213. 'index' => 1,
  214. 'first' => true,
  215. ];
  216. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  217. $length = count($context['_seq']);
  218. $context['loop']['revindex0'] = $length - 1;
  219. $context['loop']['revindex'] = $length;
  220. $context['loop']['length'] = $length;
  221. $context['loop']['last'] = 1 === $length;
  222. }
  223. foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
  224. // line 96
  225. yield " ";
  226. if ( !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, true, 96)) {
  227. // line 97
  228. yield " ";
  229. $context["label"] = (((Twig\Extension\CoreExtension::length($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 97), 97, $this->source)) > 50)) ? ((Twig\Extension\CoreExtension::slice($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 97), 97, $this->source), 0, 50) . "…")) : (CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 97)));
  230. // line 98
  231. yield " <li class=\"breadcrumb-item\">
  232. <a href=\"";
  233. // line 99
  234. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "url", [], "any", false, false, true, 99), 99, $this->source), "html", null, true);
  235. yield "\" class=\"text-decoration-none\">
  236. ";
  237. // line 100
  238. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["label"]) || array_key_exists("label", $context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.', 100, $this->source); })()), 100, $this->source), "html", null, true);
  239. yield "
  240. </a>
  241. </li>
  242. ";
  243. } else {
  244. // line 104
  245. yield " <li class=\"breadcrumb-item active\" aria-current=\"page\">
  246. ";
  247. // line 105
  248. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "label", [], "any", false, false, true, 105), 105, $this->source), "html", null, true);
  249. yield "
  250. </li>
  251. ";
  252. }
  253. // line 108
  254. yield " ";
  255. ++$context['loop']['index0'];
  256. ++$context['loop']['index'];
  257. $context['loop']['first'] = false;
  258. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  259. --$context['loop']['revindex0'];
  260. --$context['loop']['revindex'];
  261. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  262. }
  263. }
  264. $_parent = $context['_parent'];
  265. unset($context['_seq'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
  266. $context = array_intersect_key($context, $_parent) + $_parent;
  267. // line 109
  268. yield " ";
  269. }
  270. // line 110
  271. yield " </ol>
  272. </nav>
  273. ";
  274. // line 114
  275. yield " ";
  276. yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
  277. // line 115
  278. yield " </main>
  279. ";
  280. // line 118
  281. yield " <aside class=\"col-md-4 py-4\">
  282. <h2>Sponsoren</h2>
  283. ";
  284. // line 120
  285. yield Twig\Extension\CoreExtension::include($this->env, $context, "content/spnsoren/view.html.twig");
  286. yield "
  287. ";
  288. // line 122
  289. yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);
  290. // line 123
  291. yield " </aside>
  292. </div>
  293. ";
  294. // line 127
  295. yield " <footer class=\"row\">
  296. <div class=\"col-12\">
  297. ";
  298. // line 129
  299. yield $this->env->getFunction('pimcore_inc')->getCallable()("/Meta/footer");
  300. yield "
  301. </div>
  302. </footer>
  303. </div>
  304. </div>
  305. </div>
  306. </body>
  307. </html>
  308. ";
  309. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  310. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  311. yield from [];
  312. }
  313. // line 6
  314. /**
  315. * @return iterable<null|scalar|\Stringable>
  316. */
  317. public function block_title(array $context, array $blocks = []): iterable
  318. {
  319. $macros = $this->macros;
  320. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  321. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  322. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  323. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  324. yield "Mensa Fasching";
  325. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  326. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  327. yield from [];
  328. }
  329. // line 114
  330. /**
  331. * @return iterable<null|scalar|\Stringable>
  332. */
  333. public function block_content(array $context, array $blocks = []): iterable
  334. {
  335. $macros = $this->macros;
  336. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  338. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  340. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  341. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  342. yield from [];
  343. }
  344. // line 122
  345. /**
  346. * @return iterable<null|scalar|\Stringable>
  347. */
  348. public function block_sidebar(array $context, array $blocks = []): iterable
  349. {
  350. $macros = $this->macros;
  351. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  352. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
  353. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  354. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
  355. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  356. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  357. yield from [];
  358. }
  359. /**
  360. * @codeCoverageIgnore
  361. */
  362. public function getTemplateName(): string
  363. {
  364. return "layout/base.html.twig";
  365. }
  366. /**
  367. * @codeCoverageIgnore
  368. */
  369. public function isTraitable(): bool
  370. {
  371. return false;
  372. }
  373. /**
  374. * @codeCoverageIgnore
  375. */
  376. public function getDebugInfo(): array
  377. {
  378. return array ( 384 => 122, 362 => 114, 339 => 6, 317 => 129, 313 => 127, 308 => 123, 306 => 122, 301 => 120, 297 => 118, 293 => 115, 290 => 114, 285 => 110, 282 => 109, 268 => 108, 262 => 105, 259 => 104, 252 => 100, 248 => 99, 245 => 98, 242 => 97, 239 => 96, 221 => 95, 218 => 94, 215 => 93, 212 => 92, 209 => 91, 206 => 90, 204 => 89, 200 => 87, 197 => 85, 193 => 82, 185 => 75, 170 => 72, 167 => 71, 163 => 70, 152 => 61, 137 => 47, 132 => 43, 126 => 39, 121 => 36, 114 => 30, 111 => 28, 109 => 27, 106 => 26, 103 => 25, 100 => 24, 98 => 23, 95 => 22, 92 => 21, 89 => 20, 86 => 19, 84 => 18, 73 => 10, 69 => 9, 65 => 8, 60 => 6, 53 => 1,);
  379. }
  380. public function getSourceContext(): Source
  381. {
  382. return new Source("<!DOCTYPE html>
  383. <html lang=\"de\">
  384. <head>
  385. <meta charset=\"UTF-8\">
  386. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  387. <title>{% block title %}Mensa Fasching{% endblock %}</title>
  388. <link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/bootstrap.css?{{ md5_file('/static/css/bootstrap.css') }}\"/>
  389. <link rel=\"stylesheet\" type=\"text/css\" href=\"/static/css/styles.css?{{ md5_file('/static/css/styles.css') }}\"/>
  390. <script src=\"/static/js/app.js?{{ md5_file('/static/js/app.js') }}\" type=\"text/javascript\"></script>
  391. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  392. <link rel=\"icon\" type=\"image/vnd.icon\" href=\"/var/assets/Layout/Logo.png\">
  393. <meta name=\"robots\" content=\"index\"/>
  394. <meta name=\"description\" content=\"Faschingskomitee der Bauhaus Universität Weimar e.V.\"/>
  395. </head>
  396. <body data-bs-theme=\"light\">
  397. {% if not document is defined or not document %}
  398. {% set document = pimcore_document(1) %}
  399. {% endif %}
  400. {% set navStartNode = document.getProperty('navigation_root') %}
  401. {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  402. {% set navStartNode = pimcore_document(1) %}
  403. {% endif %}
  404. {% set mainNavigation = app_navigation_main(document, navStartNode) %}
  405. {# Mobile Navigation Toggle Button #}
  406. <button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  407. <span class=\"navbar-toggler-icon\"></span>
  408. </button>
  409. <div class=\"container-fluid\">
  410. {# Fixierter Header #}
  411. <header class=\"row py-3\">
  412. <div class=\"col-12 d-flex justify-content-between align-items-center\">
  413. <a href=\"/\" class=\"\">
  414. {{ pimcore_asset_by_path('/Layout/Logo.png').thumbnail('default').html({'imgAttributes': { 'id': 'logo' }})|raw }}
  415. </a>
  416. <div class=\"d-flex align-items-center gap-2\">
  417. {# Mobile Navigation Toggle Button #}
  418. <button class=\"navbar-toggler d-md-none\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-controls=\"mainNavigation\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  419. <span class=\"navbar-toggler-icon\"></span>
  420. </button>
  421. {# Contrast Mode Toggle Button #}
  422. <button class=\"btn btn-contrast\" type=\"button\" aria-label=\"Toggle theme\" data-bs-toggle=\"theme\">
  423. <svg class=\"icon-light\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
  424. <path d=\"M8 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z\"/>
  425. </svg>
  426. <svg class=\"icon-dark\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" viewBox=\"0 0 16 16\">
  427. <path d=\"M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z\"/>
  428. </svg>
  429. </button>
  430. </div>
  431. </div>
  432. </header>
  433. <div class=\"row\">
  434. {# Fixierte linke Navigation #}
  435. <div class=\"col-md-2\">
  436. <div class=\"nav-wrapper\">
  437. <nav class=\"py-4 bg-light offcanvas-md offcanvas-start\" tabindex=\"-1\" id=\"mainNavigation\" aria-labelledby=\"mainNavigationLabel\">
  438. <div class=\"offcanvas-header d-md-none\">
  439. <h5 class=\"offcanvas-title\" id=\"mainNavigationLabel\">Menü</h5>
  440. <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" data-bs-target=\"#mainNavigation\" aria-label=\"Close\"></button>
  441. </div>
  442. <div class=\"offcanvas-body p-0\">
  443. <ul class=\"nav flex-column\">
  444. {% for page in mainNavigation %}
  445. <li class=\"nav-item\">
  446. <a class=\"nav-link {% if page.active %}active{% endif %}\" href=\"{{ page.href }}\">{{ page.label }}</a>
  447. </li>
  448. {% endfor %}
  449. </ul>
  450. </div>
  451. </nav>
  452. </div>
  453. </div>
  454. {# Scrollbarer Content-Bereich #}
  455. <div class=\"content-wrapper\">
  456. <div class=\"row flex-grow-1\">
  457. {# Hauptinhalt mit Breadcrumb #}
  458. <main class=\"col-md-8 py-4\">
  459. {# Breadcrumb Navigation #}
  460. <nav aria-label=\"breadcrumb\" class=\"mb-4\">
  461. <ol class=\"breadcrumb\">
  462. {% set mainNavStartNode = document.getProperty('navigation_root') %}
  463. {% if mainNavStartNode is empty %}
  464. {% set mainNavStartNode = pimcore_document(1) %}
  465. {% endif %}
  466. {% if mainNavStartNode.id != document.id or document.key == 'exceptionPage_1678441938013' %}
  467. {% set breadcrumbs = app_navigation_breadcrumbs(document, mainNavStartNode) %}
  468. {% for breadcrumb in breadcrumbs %}
  469. {% if not loop.last %}
  470. {% set label = breadcrumb.label|length > 50 ? breadcrumb.label|slice(0, 50) ~ '…' : breadcrumb.label %}
  471. <li class=\"breadcrumb-item\">
  472. <a href=\"{{ breadcrumb.url }}\" class=\"text-decoration-none\">
  473. {{ label }}
  474. </a>
  475. </li>
  476. {% else %}
  477. <li class=\"breadcrumb-item active\" aria-current=\"page\">
  478. {{ breadcrumb.label }}
  479. </li>
  480. {% endif %}
  481. {% endfor %}
  482. {% endif %}
  483. </ol>
  484. </nav>
  485. {# Seiteninhalt #}
  486. {% block content %}{% endblock %}
  487. </main>
  488. {# Schmale rechte Spalte #}
  489. <aside class=\"col-md-4 py-4\">
  490. <h2>Sponsoren</h2>
  491. {{ include('content/spnsoren/view.html.twig') }}
  492. {% block sidebar %}{% endblock %}
  493. </aside>
  494. </div>
  495. {# Footer #}
  496. <footer class=\"row\">
  497. <div class=\"col-12\">
  498. {{ pimcore_inc('/Meta/footer') }}
  499. </div>
  500. </footer>
  501. </div>
  502. </div>
  503. </div>
  504. </body>
  505. </html>
  506. ", "layout/base.html.twig", "/var/www/vhosts/mensa-fasching.de/uat/releases/20250218080531/templates/layout/base.html.twig");
  507. }
  508. public function checkSecurity()
  509. {
  510. static $tags = ["block" => 6, "if" => 18, "set" => 19, "for" => 70];
  511. static $filters = ["escape" => 8, "raw" => 39, "length" => 97, "slice" => 97];
  512. static $functions = ["md5_file" => 8, "pimcore_document" => 19, "app_navigation_main" => 27, "pimcore_asset_by_path" => 39, "app_navigation_breadcrumbs" => 94, "include" => 120, "pimcore_inc" => 129];
  513. try {
  514. $this->sandbox->checkSecurity(
  515. ['block', 'if', 'set', 'for'],
  516. ['escape', 'raw', 'length', 'slice'],
  517. ['md5_file', 'pimcore_document', 'app_navigation_main', 'pimcore_asset_by_path', 'app_navigation_breadcrumbs', 'include', 'pimcore_inc'],
  518. $this->source
  519. );
  520. } catch (SecurityError $e) {
  521. $e->setSourceContext($this->source);
  522. if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  523. $e->setTemplateLine($tags[$e->getTagName()]);
  524. } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  525. $e->setTemplateLine($filters[$e->getFilterName()]);
  526. } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  527. $e->setTemplateLine($functions[$e->getFunctionName()]);
  528. }
  529. throw $e;
  530. }
  531. }
  532. }