var/cache/dev/manitou-master2025.dtv-projects.com/twig/34/344a2a1388986b4cc57b30cfd3112764.php line 108

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. /* platform/component/organism/theme_default_security_footer.html.twig */
  15. class __TwigTemplate_82f3f3da29284e0c6e08be045d7101bc extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->parent = false;
  24. $this->blocks = [
  25. ];
  26. }
  27. protected function doDisplay(array $context, array $blocks = [])
  28. {
  29. $macros = $this->macros;
  30. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "platform/component/organism/theme_default_security_footer.html.twig"));
  32. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "platform/component/organism/theme_default_security_footer.html.twig"));
  34. // line 1
  35. if ( !array_key_exists("componentKey", $context)) {
  36. // line 2
  37. yield "\t";
  38. $context["componentKey"] = "theme_default_security_footer";
  39. }
  40. // line 4
  41. $context["item_config"] = $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->generateComponentOptions((isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 4, $this->source); })()), (isset($context["componentKey"]) || array_key_exists("componentKey", $context) ? $context["componentKey"] : (function () { throw new RuntimeError('Variable "componentKey" does not exist.', 4, $this->source); })()));
  42. // line 5
  43. yield "
  44. <footer data-component-acl=\"";
  45. // line 6
  46. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["componentKey"]) || array_key_exists("componentKey", $context) ? $context["componentKey"] : (function () { throw new RuntimeError('Variable "componentKey" does not exist.', 6, $this->source); })()), "html", null, true);
  47. yield "\" class=\"main-footer ";
  48. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["item_config"]) || array_key_exists("item_config", $context) ? $context["item_config"] : (function () { throw new RuntimeError('Variable "item_config" does not exist.', 6, $this->source); })()), "item", [], "any", false, false, false, 6), "class", [], "any", false, false, false, 6), "html", null, true);
  49. yield "\" ";
  50. if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "background", [], "any", false, true, false, 6), "color", [], "any", true, true, false, 6)) {
  51. yield "style=\"background-color:";
  52. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 6, $this->source); })()), "background", [], "any", false, false, false, 6), "color", [], "any", false, false, false, 6), "html", null, true);
  53. yield "\"";
  54. }
  55. yield ">
  56. \t";
  57. // line 7
  58. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "container", [], "any", true, true, false, 7) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 7, $this->source); })()), "container", [], "any", false, false, false, 7) == true))) {
  59. // line 8
  60. yield "\t\t<div class=\"container\">
  61. \t\t\t<div class=\"row main-footer-sections ";
  62. // line 9
  63. if (CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "wrapper", [], "any", true, true, false, 9)) {
  64. yield " ";
  65. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 9, $this->source); })()), "wrapper", [], "any", false, false, false, 9), "html", null, true);
  66. }
  67. yield "\">
  68. \t";
  69. } else {
  70. // line 11
  71. yield "\t\t\t<div class=\"d-flex main-footer-sections ";
  72. if (CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "wrapper", [], "any", true, true, false, 11)) {
  73. yield " ";
  74. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 11, $this->source); })()), "wrapper", [], "any", false, false, false, 11), "html", null, true);
  75. }
  76. yield "\" style=\"flex-wrap: wrap;\">
  77. \t";
  78. }
  79. // line 13
  80. yield "
  81. \t\t\t";
  82. // line 14
  83. $context['_parent'] = $context;
  84. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 14, $this->source); })()), "sections", [], "any", false, false, false, 14));
  85. foreach ($context['_seq'] as $context["key"] => $context["item"]) {
  86. // line 15
  87. yield "\t\t\t\t<div class=\"col";
  88. if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "col", [], "any", true, true, false, 15)) {
  89. yield "-";
  90. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "col", [], "any", false, false, false, 15), "html", null, true);
  91. }
  92. yield " ";
  93. if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "class", [], "any", true, true, false, 15)) {
  94. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "class", [], "any", false, false, false, 15), "html", null, true);
  95. }
  96. yield "\">
  97. \t\t\t\t\t";
  98. // line 16
  99. yield $this->env->getRuntime('App\Twig\Runtime\PlatformComponentRuntime')->component($context["item"], ("security.footer.sections." . $context["key"]));
  100. yield "
  101. \t\t\t\t</div>
  102. \t\t\t";
  103. }
  104. $_parent = $context['_parent'];
  105. unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
  106. $context = array_intersect_key($context, $_parent) + $_parent;
  107. // line 19
  108. yield "
  109. \t";
  110. // line 20
  111. if ((CoreExtension::getAttribute($this->env, $this->source, ($context["value"] ?? null), "container", [], "any", true, true, false, 20) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["value"]) || array_key_exists("value", $context) ? $context["value"] : (function () { throw new RuntimeError('Variable "value" does not exist.', 20, $this->source); })()), "container", [], "any", false, false, false, 20) == true))) {
  112. // line 21
  113. yield "\t\t\t</div>
  114. \t\t</div>
  115. \t";
  116. } else {
  117. // line 24
  118. yield "\t\t</div>
  119. \t";
  120. }
  121. // line 26
  122. yield "</footer>
  123. ";
  124. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  126. return; yield '';
  127. }
  128. /**
  129. * @codeCoverageIgnore
  130. */
  131. public function getTemplateName()
  132. {
  133. return "platform/component/organism/theme_default_security_footer.html.twig";
  134. }
  135. /**
  136. * @codeCoverageIgnore
  137. */
  138. public function isTraitable()
  139. {
  140. return false;
  141. }
  142. /**
  143. * @codeCoverageIgnore
  144. */
  145. public function getDebugInfo()
  146. {
  147. return array ( 131 => 26, 127 => 24, 122 => 21, 120 => 20, 117 => 19, 108 => 16, 96 => 15, 92 => 14, 89 => 13, 80 => 11, 72 => 9, 69 => 8, 67 => 7, 55 => 6, 52 => 5, 50 => 4, 46 => 2, 44 => 1,);
  148. }
  149. public function getSourceContext()
  150. {
  151. return new Source("{% if componentKey is not defined %}
  152. \t{% set componentKey = \"theme_default_security_footer\" %}
  153. {% endif %}
  154. {% set item_config = generateComponentOptions(value, componentKey)%}
  155. <footer data-component-acl=\"{{ componentKey }}\" class=\"main-footer {{ item_config.item.class }}\" {% if value.background.color is defined %}style=\"background-color:{{ value.background.color }}\"{% endif %}>
  156. \t{% if value.container is defined and value.container == true %}
  157. \t\t<div class=\"container\">
  158. \t\t\t<div class=\"row main-footer-sections {% if value.wrapper is defined %} {{value.wrapper}}{%endif%}\">
  159. \t{% else %}
  160. \t\t\t<div class=\"d-flex main-footer-sections {% if value.wrapper is defined %} {{value.wrapper}}{%endif%}\" style=\"flex-wrap: wrap;\">
  161. \t{% endif %}
  162. \t\t\t{% for key, item in value.sections %}
  163. \t\t\t\t<div class=\"col{% if item.col is defined %}-{{ item.col }}{% endif %} {% if item.class is defined %}{{ item.class }}{% endif %}\">
  164. \t\t\t\t\t{{ component(item, 'security.footer.sections.' ~ key) }}
  165. \t\t\t\t</div>
  166. \t\t\t{% endfor %}
  167. \t{% if value.container is defined and value.container == true %}
  168. \t\t\t</div>
  169. \t\t</div>
  170. \t{% else %}
  171. \t\t</div>
  172. \t{% endif %}
  173. </footer>
  174. ", "platform/component/organism/theme_default_security_footer.html.twig", "/var/www/dtv-preprod/current/templates/platform/component/organism/theme_default_security_footer.html.twig");
  175. }
  176. }