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

40 lines
1.4 KiB
Twig

<thead>
<tr>
{% if is_superuser or allow_user_drop_database %}
<th></th>
{% endif %}
<th>
<a href="server_databases.php{{ Url_getCommon(url_params) }}">
{% trans 'Database' %}
{{ sort_by == 'SCHEMA_NAME' ? Util_getImage(
's_' ~ sort_order,
sort_order_text
) }}
</a>
</th>
{% for stat_name, stat in column_order if stat_name in first_database|keys %}
{% set url_params = url_params|merge({
'sort_by': stat_name,
'sort_order': sort_by == stat_name and sort_order == 'desc' ? 'asc' : 'desc'
}) %}
<th{{ stat['format'] is same as('byte') ? ' colspan="2"' }}>
<a href="server_databases.php{{ Url_getCommon(url_params) }}">
{{ stat['disp_name'] }}
{{ sort_by == stat_name ? Util_getImage(
's_' ~ sort_order,
sort_order_text
) }}
</a>
</th>
{% endfor %}
{% if master_replication %}
<th>{% trans 'Master replication' %}</th>
{% endif %}
{% if slave_replication %}
<th>{% trans 'Slave replication' %}</th>
{% endif %}
<th>{% trans 'Action' %}</th>
</tr>
</thead>