Translated using Weblate (Estonian)
[phpmyadmin.git] / templates / select_lang.twig
bloba8bddc812833f1b04c508e8ec01b6713f5942213
1     <form method="get" action="index.php" class="disableAjax">
2     {{ get_hidden_inputs(_form_params) }}
4     {% if use_fieldset %}
5         <fieldset>
6             <legend lang="en" dir="ltr">{{ language_title|raw }}</legend>
7     {% else %}
8         <bdo lang="en" dir="ltr">
9             <label for="sel-lang">{{ language_title|raw }}</label>
10         </bdo>
11     {% endif %}
13     <select name="lang" class="autosubmit" lang="en" dir="ltr" id="sel-lang">
15     {% for language in available_languages %}
16         {# Is current one active ? #}
17         <option value="{{ language.getCode()|lower }}"
18             {%- if language.isActive() %}
19                 selected="selected"
20             {%- endif -%}
21             >
22         {{ language.getName()|raw }}
23         </option>
24     {% endfor %}
26     </select>
28     {% if use_fieldset %}
29         </fieldset>
30     {% endif %}
32     </form>