e1df34b86a64ed9bd2422fa15fc4f26d926ac15caf3f6882d92b4621e6c69415.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?php
  2. /* select_lang.twig */
  3. class __TwigTemplate_70058083762955518da2b089e86519e05b892fb3e1af1614120b6103acb5c77c 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 " <form method=\"get\" action=\"index.php\" class=\"disableAjax\">
  16. ";
  17. // line 2
  18. echo PhpMyAdmin\Url::getHiddenInputs(($context["_form_params"] ?? null));
  19. echo "
  20. ";
  21. // line 4
  22. if (($context["use_fieldset"] ?? null)) {
  23. // line 5
  24. echo " <fieldset>
  25. <legend lang=\"en\" dir=\"ltr\">";
  26. // line 6
  27. echo ($context["language_title"] ?? null);
  28. echo "</legend>
  29. ";
  30. } else {
  31. // line 8
  32. echo " <bdo lang=\"en\" dir=\"ltr\">
  33. <label for=\"sel-lang\">";
  34. // line 9
  35. echo ($context["language_title"] ?? null);
  36. echo "</label>
  37. </bdo>
  38. ";
  39. }
  40. // line 12
  41. echo "
  42. <select name=\"lang\" class=\"autosubmit\" lang=\"en\" dir=\"ltr\" id=\"sel-lang\">
  43. ";
  44. // line 15
  45. $context['_parent'] = $context;
  46. $context['_seq'] = twig_ensure_traversable(($context["available_languages"] ?? null));
  47. foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
  48. // line 16
  49. echo " ";
  50. // line 17
  51. echo " <option value=\"";
  52. echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->getAttribute($context["language"], "getCode", [], "method")), "html", null, true);
  53. echo "\"";
  54. // line 18
  55. if ($this->getAttribute($context["language"], "isActive", [], "method")) {
  56. // line 19
  57. echo " selected=\"selected\"";
  58. }
  59. // line 21
  60. echo ">
  61. ";
  62. // line 22
  63. echo $this->getAttribute($context["language"], "getName", [], "method");
  64. echo "
  65. </option>
  66. ";
  67. }
  68. $_parent = $context['_parent'];
  69. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
  70. $context = array_intersect_key($context, $_parent) + $_parent;
  71. // line 25
  72. echo "
  73. </select>
  74. ";
  75. // line 28
  76. if (($context["use_fieldset"] ?? null)) {
  77. // line 29
  78. echo " </fieldset>
  79. ";
  80. }
  81. // line 31
  82. echo "
  83. </form>
  84. ";
  85. }
  86. public function getTemplateName()
  87. {
  88. return "select_lang.twig";
  89. }
  90. public function isTraitable()
  91. {
  92. return false;
  93. }
  94. public function getDebugInfo()
  95. {
  96. return array ( 89 => 31, 85 => 29, 83 => 28, 78 => 25, 69 => 22, 66 => 21, 63 => 19, 61 => 18, 57 => 17, 55 => 16, 51 => 15, 46 => 12, 40 => 9, 37 => 8, 32 => 6, 29 => 5, 27 => 4, 22 => 2, 19 => 1,);
  97. }
  98. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  99. public function getSource()
  100. {
  101. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  102. return $this->getSourceContext()->getCode();
  103. }
  104. public function getSourceContext()
  105. {
  106. return new Twig_Source("", "select_lang.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\select_lang.twig");
  107. }
  108. }