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