0eb1aeda282ccbbe77a54d41933472e0fa22cbdb67d065a70f10e52ef8eee03a.php 5.0 KB

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