Files
sam-kd/dbeditor/templates/div_for_slider_effect.twig
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

17 lines
694 B
Twig

{% if initial_sliders_state == 'disabled' %}
<div{% if id is defined %} id="{{ id }}"{% endif %}>
{% else %}
{#
Bad hack on the next line. document.write() conflicts with jQuery,
hence, opening the <div> with PHP itself instead of JavaScript.
@todo find a better solution that uses $.append(), the recommended
method maybe by using an additional param, the id of the div to
append to
#}
<div{% if id is defined %} id="{{ id }}"
{%- endif %} {% if initial_sliders_state == 'closed' -%}
style="display: none; overflow:auto;"{% endif %} class="pma_auto_slider"
{%- if message is defined %} title="{{ message }}"{% endif %}>
{% endif %}