4e18d70cfbb6bf445e549032d630cf93936a72ce6b59fa0dd9614ca6619336e3.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Markup;
  6. use Twig\Sandbox\SecurityError;
  7. use Twig\Sandbox\SecurityNotAllowedTagError;
  8. use Twig\Sandbox\SecurityNotAllowedFilterError;
  9. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  10. use Twig\Source;
  11. use Twig\Template;
  12. /* config/form_display/fieldset_top.twig */
  13. class __TwigTemplate_c8841cd40e8c14ed1253f099ea6a975fa9d9a006dc8ac4b694449b8b40736db7 extends \Twig\Template
  14. {
  15. public function __construct(Environment $env)
  16. {
  17. parent::__construct($env);
  18. $this->parent = false;
  19. $this->blocks = [
  20. ];
  21. }
  22. protected function doDisplay(array $context, array $blocks = [])
  23. {
  24. // line 1
  25. echo "<fieldset";
  26. // line 2
  27. $context['_parent'] = $context;
  28. $context['_seq'] = twig_ensure_traversable(($context["attributes"] ?? null));
  29. foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  30. // line 3
  31. echo " ";
  32. echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  33. echo "=\"";
  34. echo twig_escape_filter($this->env, $context["value"], "html", null, true);
  35. echo "\"";
  36. }
  37. $_parent = $context['_parent'];
  38. unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  39. $context = array_intersect_key($context, $_parent) + $_parent;
  40. // line 4
  41. echo ">
  42. <legend>";
  43. // line 5
  44. echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
  45. echo "</legend>
  46. ";
  47. // line 6
  48. if ( !twig_test_empty(($context["description"] ?? null))) {
  49. // line 7
  50. echo " <p>";
  51. echo ($context["description"] ?? null);
  52. echo "</p>
  53. ";
  54. }
  55. // line 10
  56. if ((twig_test_iterable(($context["errors"] ?? null)) && (twig_length_filter($this->env, ($context["errors"] ?? null)) > 0))) {
  57. // line 11
  58. echo " <dl class=\"errors\">
  59. ";
  60. // line 12
  61. $context['_parent'] = $context;
  62. $context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null));
  63. foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  64. // line 13
  65. echo " <dd>";
  66. echo twig_escape_filter($this->env, $context["error"], "html", null, true);
  67. echo "</dd>
  68. ";
  69. }
  70. $_parent = $context['_parent'];
  71. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  72. $context = array_intersect_key($context, $_parent) + $_parent;
  73. // line 15
  74. echo " </dl>
  75. ";
  76. }
  77. // line 17
  78. echo "<table width=\"100%\" cellspacing=\"0\">
  79. ";
  80. }
  81. public function getTemplateName()
  82. {
  83. return "config/form_display/fieldset_top.twig";
  84. }
  85. public function isTraitable()
  86. {
  87. return false;
  88. }
  89. public function getDebugInfo()
  90. {
  91. return array ( 83 => 17, 79 => 15, 70 => 13, 66 => 12, 63 => 11, 61 => 10, 55 => 7, 53 => 6, 49 => 5, 46 => 4, 36 => 3, 32 => 2, 30 => 1,);
  92. }
  93. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  94. public function getSource()
  95. {
  96. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  97. return $this->getSourceContext()->getCode();
  98. }
  99. public function getSourceContext()
  100. {
  101. return new Source("", "config/form_display/fieldset_top.twig", "/www/pma/templates/config/form_display/fieldset_top.twig");
  102. }
  103. }