4289c0a8e6c6aefa1a50e045c35c7ded64cc509787ed5022914fa85b34acf005.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. /* list/unordered.twig */
  3. class __TwigTemplate_f7797f8c0fd6fafe204028c5ef1b2ae63e42afbee766ff8a60c1e3f08bab0d20 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = [
  10. ];
  11. }
  12. protected function doDisplay(array $context, array $blocks = [])
  13. {
  14. // line 1
  15. echo "<ul";
  16. if ( !twig_test_empty(($context["id"] ?? null))) {
  17. echo " id=\"";
  18. echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
  19. echo "\"";
  20. }
  21. // line 2
  22. if ( !twig_test_empty(($context["class"] ?? null))) {
  23. echo " class=\"";
  24. echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
  25. echo "\"";
  26. }
  27. echo ">
  28. ";
  29. // line 4
  30. if ( !twig_test_empty(($context["items"] ?? null))) {
  31. // line 5
  32. echo " ";
  33. $context['_parent'] = $context;
  34. $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
  35. foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  36. // line 6
  37. echo " ";
  38. if ( !twig_test_iterable($context["item"])) {
  39. // line 7
  40. echo " ";
  41. $context["item"] = ["content" => $context["item"]];
  42. // line 8
  43. echo " ";
  44. }
  45. // line 9
  46. echo " ";
  47. $this->loadTemplate("list/item.twig", "list/unordered.twig", 9)->display($context["item"]);
  48. // line 10
  49. echo " ";
  50. }
  51. $_parent = $context['_parent'];
  52. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  53. $context = array_intersect_key($context, $_parent) + $_parent;
  54. // line 11
  55. echo " ";
  56. } elseif ( !twig_test_empty(($context["content"] ?? null))) {
  57. // line 12
  58. echo " ";
  59. echo ($context["content"] ?? null);
  60. echo "
  61. ";
  62. }
  63. // line 14
  64. echo "</ul>
  65. ";
  66. }
  67. public function getTemplateName()
  68. {
  69. return "list/unordered.twig";
  70. }
  71. public function isTraitable()
  72. {
  73. return false;
  74. }
  75. public function getDebugInfo()
  76. {
  77. return array ( 69 => 14, 63 => 12, 60 => 11, 54 => 10, 51 => 9, 48 => 8, 45 => 7, 42 => 6, 37 => 5, 35 => 4, 26 => 2, 19 => 1,);
  78. }
  79. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  80. public function getSource()
  81. {
  82. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  83. return $this->getSourceContext()->getCode();
  84. }
  85. public function getSourceContext()
  86. {
  87. return new Twig_Source("", "list/unordered.twig", "D:\\Project\\phpstudy_pro\\x64\\Release\\WWW\\phpMyAdmin4.8.5\\templates\\list\\unordered.twig");
  88. }
  89. }