Translated using Weblate (French)
[phpmyadmin.git] / templates / div_for_slider_effect.twig
blob64539993d80b8d9ae587cec5a82c82edee7aff02
1 {% if initial_sliders_state == 'disabled' %}
2     <div{% if id is defined %} id="{{ id }}"{% endif %}>
3 {% else %}
4     {#
5     Bad hack on the next line. document.write() conflicts with jQuery,
6     hence, opening the <div> with PHP itself instead of JavaScript.
8     @todo find a better solution that uses $.append(), the recommended
9     method maybe by using an additional param, the id of the div to
10     append to
11     #}
12     <div{% if id is defined %} id="{{ id }}"
13         {%- endif %} {% if initial_sliders_state == 'closed' -%}
14         style="display: none; overflow:auto;"{% endif %} class="pma_auto_slider"
15         {%- if message is defined %} title="{{ message }}"{% endif %}>
16 {% endif %}