e35ebe28f4b4f11ac66f35155ee51d3485e63edadbf4ef49c8b12656eb6fc344.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?php
  2. /* list/item.twig */
  3. class __TwigTemplate_1c51641d9ca55d24690fe99fb44dcd99ba60e455870b686e7a456e69599b8789 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 "<li";
  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 ((((isset($context["url"]) || array_key_exists("url", $context)) && twig_test_iterable(($context["url"] ?? null))) && !twig_test_empty($this->getAttribute(($context["url"] ?? null), "href", [], "array")))) {
  31. // line 5
  32. echo " <a";
  33. if ( !twig_test_empty($this->getAttribute(($context["url"] ?? null), "href", [], "array"))) {
  34. echo " href=\"";
  35. echo $this->getAttribute(($context["url"] ?? null), "href", [], "array");
  36. echo "\"";
  37. }
  38. // line 6
  39. if ( !twig_test_empty($this->getAttribute(($context["url"] ?? null), "target", [], "array"))) {
  40. echo " target=\"";
  41. echo twig_escape_filter($this->env, $this->getAttribute(($context["url"] ?? null), "target", [], "array"), "html", null, true);
  42. echo "\"";
  43. }
  44. // line 7
  45. if (( !twig_test_empty($this->getAttribute(($context["url"] ?? null), "target", [], "array")) && ($this->getAttribute(($context["url"] ?? null), "target", [], "array") == "_blank"))) {
  46. echo " rel=\"noopener noreferrer\"";
  47. }
  48. // line 8
  49. if ( !twig_test_empty($this->getAttribute(($context["url"] ?? null), "id", [], "array"))) {
  50. echo " id=\"";
  51. echo twig_escape_filter($this->env, $this->getAttribute(($context["url"] ?? null), "id", [], "array"), "html", null, true);
  52. echo "\"";
  53. }
  54. // line 9
  55. if ( !twig_test_empty($this->getAttribute(($context["url"] ?? null), "class", [], "array"))) {
  56. echo " class=\"";
  57. echo twig_escape_filter($this->env, $this->getAttribute(($context["url"] ?? null), "class", [], "array"), "html", null, true);
  58. echo "\"";
  59. }
  60. // line 10
  61. if ( !twig_test_empty($this->getAttribute(($context["url"] ?? null), "title", [], "array"))) {
  62. echo " title=\"";
  63. echo twig_escape_filter($this->env, $this->getAttribute(($context["url"] ?? null), "title", [], "array"), "html", null, true);
  64. echo "\"";
  65. }
  66. echo ">
  67. ";
  68. }
  69. // line 12
  70. echo " ";
  71. echo ($context["content"] ?? null);
  72. echo "
  73. ";
  74. // line 13
  75. if ((((isset($context["url"]) || array_key_exists("url", $context)) && twig_test_iterable(($context["url"] ?? null))) && !twig_test_empty($this->getAttribute(($context["url"] ?? null), "href", [], "array")))) {
  76. // line 14
  77. echo " </a>
  78. ";
  79. }
  80. // line 16
  81. echo " ";
  82. if ( !twig_test_empty(($context["mysql_help_page"] ?? null))) {
  83. // line 17
  84. echo " ";
  85. echo PhpMyAdmin\Util::showMySQLDocu(($context["mysql_help_page"] ?? null));
  86. echo "
  87. ";
  88. }
  89. // line 19
  90. echo "</li>
  91. ";
  92. }
  93. public function getTemplateName()
  94. {
  95. return "list/item.twig";
  96. }
  97. public function isTraitable()
  98. {
  99. return false;
  100. }
  101. public function getDebugInfo()
  102. {
  103. return array ( 95 => 19, 89 => 17, 86 => 16, 82 => 14, 80 => 13, 75 => 12, 66 => 10, 60 => 9, 54 => 8, 50 => 7, 44 => 6, 37 => 5, 35 => 4, 26 => 2, 19 => 1,);
  104. }
  105. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  106. public function getSource()
  107. {
  108. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  109. return $this->getSourceContext()->getCode();
  110. }
  111. public function getSourceContext()
  112. {
  113. return new Twig_Source("", "list/item.twig", "D:\\Project\\phpstudy_pro\\x64\\Release\\WWW\\phpMyAdmin4.8.5\\templates\\list\\item.twig");
  114. }
  115. }