var/cache/dev/twig/21/218948bc20c02c83f6225b7d479ce11d.php line 239

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. /* @PimcoreCore/Areabrick/wrapper.html.twig */
  16. class __TwigTemplate_1ac530aca04400da8409b144b681a62d 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. 'areabrickWrapper' => [$this, 'block_areabrickWrapper'],
  30. 'areabrickOpenTag' => [$this, 'block_areabrickOpenTag'],
  31. 'areabrickFrontend' => [$this, 'block_areabrickFrontend'],
  32. 'areabrickCloseTag' => [$this, 'block_areabrickCloseTag'],
  33. ];
  34. $this->sandbox = $this->extensions[SandboxExtension::class];
  35. $this->checkSecurity();
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PimcoreCore/Areabrick/wrapper.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PimcoreCore/Areabrick/wrapper.html.twig"));
  44. // line 4
  45. yield "
  46. ";
  47. // line 6
  48. yield "
  49. ";
  50. // line 10
  51. yield "
  52. ";
  53. // line 11
  54. if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 11, $this->source); })()) && (isset($context["isAreaBlock"]) || array_key_exists("isAreaBlock", $context) ? $context["isAreaBlock"] : (function () { throw new RuntimeError('Variable "isAreaBlock" does not exist.', 11, $this->source); })()))) {
  55. // line 12
  56. yield " <div class=\"pimcore_area_entry pimcore_block_entry\" ";
  57. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeOuterAttributes"]) || array_key_exists("editmodeOuterAttributes", $context) ? $context["editmodeOuterAttributes"] : (function () { throw new RuntimeError('Variable "editmodeOuterAttributes" does not exist.', 12, $this->source); })()), 12, $this->source);
  58. yield " ";
  59. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 12, $this->source); })()), 12, $this->source);
  60. yield ">
  61. <div class=\"pimcore_area_buttons\" ";
  62. // line 13
  63. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 13, $this->source); })()), 13, $this->source);
  64. yield ">
  65. <div class=\"pimcore_area_buttons_inner\">
  66. <div class=\"pimcore_block_plus_up\" ";
  67. // line 15
  68. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 15, $this->source); })()), 15, $this->source);
  69. yield "></div>
  70. <div class=\"pimcore_block_plus\" ";
  71. // line 16
  72. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 16, $this->source); })()), 16, $this->source);
  73. yield "></div>
  74. <div class=\"pimcore_block_minus\" ";
  75. // line 17
  76. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 17, $this->source); })()), 17, $this->source);
  77. yield "></div>
  78. <div class=\"pimcore_block_up\" ";
  79. // line 18
  80. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 18, $this->source); })()), 18, $this->source);
  81. yield "></div>
  82. <div class=\"pimcore_block_down\" ";
  83. // line 19
  84. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 19, $this->source); })()), 19, $this->source);
  85. yield "></div>
  86. <div class=\"pimcore_block_type\" ";
  87. // line 21
  88. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 21, $this->source); })()), 21, $this->source);
  89. yield "></div>
  90. <div class=\"pimcore_block_options\" ";
  91. // line 22
  92. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 22, $this->source); })()), 22, $this->source);
  93. yield "></div>
  94. <div class=\"pimcore_block_visibility\" ";
  95. // line 23
  96. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 23, $this->source); })()), 23, $this->source);
  97. yield "></div>
  98. ";
  99. // line 25
  100. if ((isset($context["editableDialog"]) || array_key_exists("editableDialog", $context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.', 25, $this->source); })())) {
  101. // line 26
  102. yield " <div class=\"pimcore_block_dialog\" ";
  103. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 26, $this->source); })()), 26, $this->source);
  104. yield " ";
  105. yield $this->sandbox->ensureToStringAllowed((isset($context["editableDialogAttributes"]) || array_key_exists("editableDialogAttributes", $context) ? $context["editableDialogAttributes"] : (function () { throw new RuntimeError('Variable "editableDialogAttributes" does not exist.', 26, $this->source); })()), 26, $this->source);
  106. yield "></div>
  107. ";
  108. }
  109. // line 28
  110. yield "
  111. <div class=\"pimcore_block_label\" ";
  112. // line 29
  113. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 29, $this->source); })()), 29, $this->source);
  114. yield "></div>
  115. <div class=\"pimcore_block_clear\" ";
  116. // line 30
  117. yield $this->sandbox->ensureToStringAllowed((isset($context["editmodeGenericAttributes"]) || array_key_exists("editmodeGenericAttributes", $context) ? $context["editmodeGenericAttributes"] : (function () { throw new RuntimeError('Variable "editmodeGenericAttributes" does not exist.', 30, $this->source); })()), 30, $this->source);
  118. yield "></div>
  119. </div>
  120. </div>
  121. ";
  122. // line 33
  123. if ((isset($context["editableDialog"]) || array_key_exists("editableDialog", $context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.', 33, $this->source); })())) {
  124. // line 34
  125. yield " <template id=\"dialogBoxConfig-";
  126. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["editableDialog"]) || array_key_exists("editableDialog", $context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.', 34, $this->source); })()), "id", [], "any", false, false, true, 34), 34, $this->source), "html", null, true);
  127. yield "\">";
  128. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(json_encode($this->sandbox->ensureToStringAllowed((isset($context["editableDialog"]) || array_key_exists("editableDialog", $context) ? $context["editableDialog"] : (function () { throw new RuntimeError('Variable "editableDialog" does not exist.', 34, $this->source); })()), 34, $this->source)), "html", null, true);
  129. yield "</template>
  130. ";
  131. // line 35
  132. yield $this->sandbox->ensureToStringAllowed((isset($context["dialogHtml"]) || array_key_exists("dialogHtml", $context) ? $context["dialogHtml"] : (function () { throw new RuntimeError('Variable "dialogHtml" does not exist.', 35, $this->source); })()), 35, $this->source);
  133. yield "
  134. ";
  135. }
  136. }
  137. // line 38
  138. yield "
  139. ";
  140. // line 39
  141. yield from $this->unwrap()->yieldBlock('areabrickWrapper', $context, $blocks);
  142. // line 52
  143. yield "
  144. ";
  145. // line 53
  146. if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 53, $this->source); })()) && (isset($context["isAreaBlock"]) || array_key_exists("isAreaBlock", $context) ? $context["isAreaBlock"] : (function () { throw new RuntimeError('Variable "isAreaBlock" does not exist.', 53, $this->source); })()))) {
  147. // line 54
  148. yield " </div>
  149. ";
  150. }
  151. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153. yield from [];
  154. }
  155. // line 39
  156. /**
  157. * @return iterable<null|scalar|\Stringable>
  158. */
  159. public function block_areabrickWrapper(array $context, array $blocks = []): iterable
  160. {
  161. $macros = $this->macros;
  162. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickWrapper"));
  164. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickWrapper"));
  166. // line 40
  167. yield " ";
  168. yield from $this->unwrap()->yieldBlock('areabrickOpenTag', $context, $blocks);
  169. // line 43
  170. yield "
  171. ";
  172. // line 44
  173. yield from $this->unwrap()->yieldBlock('areabrickFrontend', $context, $blocks);
  174. // line 47
  175. yield "
  176. ";
  177. // line 48
  178. yield from $this->unwrap()->yieldBlock('areabrickCloseTag', $context, $blocks);
  179. // line 51
  180. yield " ";
  181. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  183. yield from [];
  184. }
  185. // line 40
  186. /**
  187. * @return iterable<null|scalar|\Stringable>
  188. */
  189. public function block_areabrickOpenTag(array $context, array $blocks = []): iterable
  190. {
  191. $macros = $this->macros;
  192. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  193. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickOpenTag"));
  194. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  195. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickOpenTag"));
  196. // line 41
  197. yield " ";
  198. yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["brick"]) || array_key_exists("brick", $context) ? $context["brick"] : (function () { throw new RuntimeError('Variable "brick" does not exist.', 41, $this->source); })()), "htmlTagOpen", [(isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 41, $this->source); })())], "method", false, false, true, 41), 41, $this->source);
  199. yield "
  200. ";
  201. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  202. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  203. yield from [];
  204. }
  205. // line 44
  206. /**
  207. * @return iterable<null|scalar|\Stringable>
  208. */
  209. public function block_areabrickFrontend(array $context, array $blocks = []): iterable
  210. {
  211. $macros = $this->macros;
  212. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  213. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickFrontend"));
  214. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  215. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickFrontend"));
  216. // line 45
  217. yield " ";
  218. yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["templating"]) || array_key_exists("templating", $context) ? $context["templating"] : (function () { throw new RuntimeError('Variable "templating" does not exist.', 45, $this->source); })()), "render", [(isset($context["viewTemplate"]) || array_key_exists("viewTemplate", $context) ? $context["viewTemplate"] : (function () { throw new RuntimeError('Variable "viewTemplate" does not exist.', 45, $this->source); })()), (isset($context["viewParameters"]) || array_key_exists("viewParameters", $context) ? $context["viewParameters"] : (function () { throw new RuntimeError('Variable "viewParameters" does not exist.', 45, $this->source); })())], "method", false, false, true, 45), 45, $this->source);
  219. yield "
  220. ";
  221. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  222. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  223. yield from [];
  224. }
  225. // line 48
  226. /**
  227. * @return iterable<null|scalar|\Stringable>
  228. */
  229. public function block_areabrickCloseTag(array $context, array $blocks = []): iterable
  230. {
  231. $macros = $this->macros;
  232. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  233. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickCloseTag"));
  234. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  235. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "areabrickCloseTag"));
  236. // line 49
  237. yield " ";
  238. yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["brick"]) || array_key_exists("brick", $context) ? $context["brick"] : (function () { throw new RuntimeError('Variable "brick" does not exist.', 49, $this->source); })()), "htmlTagClose", [(isset($context["info"]) || array_key_exists("info", $context) ? $context["info"] : (function () { throw new RuntimeError('Variable "info" does not exist.', 49, $this->source); })())], "method", false, false, true, 49), 49, $this->source);
  239. yield "
  240. ";
  241. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  242. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243. yield from [];
  244. }
  245. /**
  246. * @codeCoverageIgnore
  247. */
  248. public function getTemplateName(): string
  249. {
  250. return "@PimcoreCore/Areabrick/wrapper.html.twig";
  251. }
  252. /**
  253. * @codeCoverageIgnore
  254. */
  255. public function isTraitable(): bool
  256. {
  257. return false;
  258. }
  259. /**
  260. * @codeCoverageIgnore
  261. */
  262. public function getDebugInfo(): array
  263. {
  264. return array ( 276 => 49, 263 => 48, 249 => 45, 236 => 44, 222 => 41, 209 => 40, 198 => 51, 196 => 48, 193 => 47, 191 => 44, 188 => 43, 185 => 40, 172 => 39, 159 => 54, 157 => 53, 154 => 52, 152 => 39, 149 => 38, 143 => 35, 136 => 34, 134 => 33, 128 => 30, 124 => 29, 121 => 28, 113 => 26, 111 => 25, 106 => 23, 102 => 22, 98 => 21, 93 => 19, 89 => 18, 85 => 17, 81 => 16, 77 => 15, 72 => 13, 65 => 12, 63 => 11, 60 => 10, 57 => 6, 54 => 4,);
  265. }
  266. public function getSourceContext(): Source
  267. {
  268. return new Source("{# @var brick \\Pimcore\\Extension\\Document\\Areabrick\\AreabrickInterface #}
  269. {# @var info \\Pimcore\\Model\\Document\\Editable\\Area\\Info #}
  270. {# @var templating \\Symfony\\Component\\Templating\\EngineInterface #}
  271. {# @var editmode bool #}
  272. {# @var viewTemplate string #}
  273. {# @var viewParameters array #}
  274. {# @var editableDialog \\Pimcore\\Extension\\Document\\Areabrick\\EditableDialogBoxConfiguration #}
  275. {% if editmode and isAreaBlock %}
  276. <div class=\"pimcore_area_entry pimcore_block_entry\" {{ editmodeOuterAttributes|raw }} {{ editmodeGenericAttributes|raw }}>
  277. <div class=\"pimcore_area_buttons\" {{ editmodeGenericAttributes|raw }}>
  278. <div class=\"pimcore_area_buttons_inner\">
  279. <div class=\"pimcore_block_plus_up\" {{ editmodeGenericAttributes|raw }}></div>
  280. <div class=\"pimcore_block_plus\" {{ editmodeGenericAttributes|raw }}></div>
  281. <div class=\"pimcore_block_minus\" {{ editmodeGenericAttributes|raw }}></div>
  282. <div class=\"pimcore_block_up\" {{ editmodeGenericAttributes|raw }}></div>
  283. <div class=\"pimcore_block_down\" {{ editmodeGenericAttributes|raw }}></div>
  284. <div class=\"pimcore_block_type\" {{ editmodeGenericAttributes|raw }}></div>
  285. <div class=\"pimcore_block_options\" {{ editmodeGenericAttributes|raw }}></div>
  286. <div class=\"pimcore_block_visibility\" {{ editmodeGenericAttributes|raw }}></div>
  287. {% if editableDialog %}
  288. <div class=\"pimcore_block_dialog\" {{ editmodeGenericAttributes|raw }} {{ editableDialogAttributes|raw }}></div>
  289. {% endif %}
  290. <div class=\"pimcore_block_label\" {{ editmodeGenericAttributes|raw }}></div>
  291. <div class=\"pimcore_block_clear\" {{ editmodeGenericAttributes|raw }}></div>
  292. </div>
  293. </div>
  294. {% if editableDialog %}
  295. <template id=\"dialogBoxConfig-{{ editableDialog.id }}\">{{ editableDialog|json_encode() }}</template>
  296. {{ dialogHtml|raw }}
  297. {% endif %}
  298. {% endif %}
  299. {% block areabrickWrapper %}
  300. {% block areabrickOpenTag %}
  301. {{ brick.htmlTagOpen(info) | raw }}
  302. {% endblock %}
  303. {% block areabrickFrontend %}
  304. {{ templating.render(viewTemplate, viewParameters) | raw }}
  305. {% endblock %}
  306. {% block areabrickCloseTag %}
  307. {{ brick.htmlTagClose(info) | raw }}
  308. {% endblock %}
  309. {% endblock %}
  310. {% if editmode and isAreaBlock %}
  311. </div>
  312. {% endif %}
  313. ", "@PimcoreCore/Areabrick/wrapper.html.twig", "/var/www/vhosts/mensa-fasching.de/uat/releases/20250218080531/vendor/pimcore/pimcore/bundles/CoreBundle/Resources/views/Areabrick/wrapper.html.twig");
  314. }
  315. public function checkSecurity()
  316. {
  317. static $tags = ["if" => 11, "block" => 39];
  318. static $filters = ["raw" => 12, "escape" => 34, "json_encode" => 34];
  319. static $functions = [];
  320. try {
  321. $this->sandbox->checkSecurity(
  322. ['if', 'block'],
  323. ['raw', 'escape', 'json_encode'],
  324. [],
  325. $this->source
  326. );
  327. } catch (SecurityError $e) {
  328. $e->setSourceContext($this->source);
  329. if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  330. $e->setTemplateLine($tags[$e->getTagName()]);
  331. } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  332. $e->setTemplateLine($filters[$e->getFilterName()]);
  333. } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  334. $e->setTemplateLine($functions[$e->getFunctionName()]);
  335. }
  336. throw $e;
  337. }
  338. }
  339. }