init web ems all
This commit is contained in:
95
phpMyAdmin/templates/database/structure/body_for_table_summary.twig
Executable file
95
phpMyAdmin/templates/database/structure/body_for_table_summary.twig
Executable file
@@ -0,0 +1,95 @@
|
||||
<tbody id="tbl_summary_row">
|
||||
<tr>
|
||||
<th class="print_ignore"></th>
|
||||
<th class="tbl_num nowrap">
|
||||
{% set num_tables_trans -%}
|
||||
{% trans %}%s table{% plural num_tables %}%s tables{% endtrans %}
|
||||
{%- endset %}
|
||||
{{ num_tables_trans|format(Util_formatNumber(num_tables, 0)) }}
|
||||
</th>
|
||||
{% if server_slave_status %}
|
||||
<th>{% trans 'Replication' %}</th>
|
||||
{% endif %}
|
||||
{% set sum_colspan = db_is_system_schema ? 4 : 7 %}
|
||||
{% if num_favorite_tables == 0 %}
|
||||
{% set sum_colspan = sum_colspan - 1 %}
|
||||
{% endif %}
|
||||
<th colspan="{{ sum_colspan }}" class="print_ignore">{% trans 'Sum' %}</th>
|
||||
{% set row_count_sum = Util_formatNumber(sum_entries, 0) %}
|
||||
{# If a table shows approximate rows count, display update-all-real-count anchor. #}
|
||||
{% set row_sum_url = [] %}
|
||||
{% if approx_rows is defined %}
|
||||
{% set row_sum_url = {
|
||||
'ajax_request': true,
|
||||
'db': db,
|
||||
'real_row_count': 'true',
|
||||
'real_row_count_all': 'true'
|
||||
} %}
|
||||
{% endif %}
|
||||
{% if approx_rows %}
|
||||
{% set cell_text -%}
|
||||
<a href="db_structure.php
|
||||
{{- Url_getCommon(row_sum_url) }}" class="ajax row_count_sum">~
|
||||
{{- row_count_sum -}}
|
||||
</a>
|
||||
{%- endset %}
|
||||
{% else %}
|
||||
{% set cell_text = row_count_sum %}
|
||||
{% endif %}
|
||||
<th class="value tbl_rows">{{ cell_text }}</th>
|
||||
{% if not (properties_num_columns > 1) %}
|
||||
{# MySQL <= 5.5.2 #}
|
||||
{% set default_engine = dbi.fetchValue('SELECT @@storage_engine;') %}
|
||||
{% if default_engine is empty %}
|
||||
{# MySQL >= 5.5.3 #}
|
||||
{% set default_engine = dbi.fetchValue('SELECT @@default_storage_engine;') %}
|
||||
{% endif %}
|
||||
<th class="center">
|
||||
<dfn title="{{ '%s is the default storage engine on this MySQL server.'|trans|format(default_engine) }}">
|
||||
{{ default_engine }}
|
||||
</dfn>
|
||||
</th>
|
||||
<th>
|
||||
{% if db_collation is not empty %}
|
||||
<dfn title="{{ Charsets_getCollationDescr(db_collation) }} ({% trans 'Default' %})">
|
||||
{{ db_collation }}
|
||||
</dfn>
|
||||
{% endif %}
|
||||
</th>
|
||||
{% endif %}
|
||||
|
||||
{% if is_show_stats %}
|
||||
{% set sum = Util_formatByteDown(sum_size, 3, 1) %}
|
||||
{% set sum_formatted = sum[0] %}
|
||||
{% set sum_unit = sum[1] %}
|
||||
<th class="value tbl_size">{{ sum_formatted }} {{ sum_unit }}</th>
|
||||
|
||||
{% set overhead = Util_formatByteDown(overhead_size, 3, 1) %}
|
||||
{% set overhead_formatted = overhead[0] %}
|
||||
{% set overhead_unit = overhead[1] %}
|
||||
<th class="value tbl_overhead">{{ overhead_formatted }} {{ overhead_unit }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if show_charset %}
|
||||
<th>{{ db_charset }}</th>
|
||||
{% endif %}
|
||||
{% if show_comment %}
|
||||
<th></th>
|
||||
{% endif %}
|
||||
{% if show_creation %}
|
||||
<th class="value tbl_creation">
|
||||
{{ create_time_all ? Util_localisedDate(strtotime(create_time_all)) : '-' }}
|
||||
</th>
|
||||
{% endif %}
|
||||
{% if show_last_update %}
|
||||
<th class="value tbl_last_update">
|
||||
{{ update_time_all ? Util_localisedDate(strtotime(update_time_all)) : '-' }}
|
||||
</th>
|
||||
{% endif %}
|
||||
{% if show_last_check %}
|
||||
<th class="value tbl_last_check">
|
||||
{{ check_time_all ? Util_localisedDate(strtotime(check_time_all)) : '-' }}
|
||||
</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</tbody>
|
||||
3
phpMyAdmin/templates/database/structure/browse_table.twig
Executable file
3
phpMyAdmin/templates/database/structure/browse_table.twig
Executable file
@@ -0,0 +1,3 @@
|
||||
<a href="sql.php{{ tbl_url_query|raw }}&pos=0">
|
||||
{{ title|raw }}
|
||||
</a>
|
||||
3
phpMyAdmin/templates/database/structure/browse_table_label.twig
Executable file
3
phpMyAdmin/templates/database/structure/browse_table_label.twig
Executable file
@@ -0,0 +1,3 @@
|
||||
<a href="sql.php{{ tbl_url_query|raw }}&pos=0" title="{{ title }}">
|
||||
{{ truename }}
|
||||
</a>
|
||||
40
phpMyAdmin/templates/database/structure/check_all_tables.twig
Executable file
40
phpMyAdmin/templates/database/structure/check_all_tables.twig
Executable file
@@ -0,0 +1,40 @@
|
||||
<div class="clearfloat print_ignore">
|
||||
<img class="selectallarrow" src="{{ pma_theme_image }}arrow_{{ text_dir }}.png" width="38" height="22" alt="{% trans 'With selected:' %}" />
|
||||
<input type="checkbox" id="tablesForm_checkall" class="checkall_box" title="{% trans 'Check all' %}" />
|
||||
<label for="tablesForm_checkall">{% trans 'Check all' %}</label>
|
||||
{% if overhead_check != '' %}
|
||||
/ <a href="#" class="checkall-filter" data-checkall-selector=".tbl-overhead">{% trans 'Check tables having overhead' %}</a>
|
||||
{% endif %}
|
||||
<select name="submit_mult" style="margin: 0 3em 0 3em;">
|
||||
<option value="{% trans 'With selected:' %}" selected="selected">{% trans 'With selected:' %}</option>
|
||||
<option value="copy_tbl">{% trans 'Copy table' %}</option>
|
||||
<option value="show_create">{% trans 'Show create' %}</option>
|
||||
<option value="export">{% trans 'Export' %}</option>
|
||||
{% if not db_is_system_schema and not disable_multi_table %}
|
||||
<optgroup label="{% trans 'Delete data or table' %}">
|
||||
<option value="empty_tbl">{% trans 'Empty' %}</option>
|
||||
<option value="drop_tbl">{% trans 'Drop' %}</option>
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'Table maintenance' %}">
|
||||
<option value="analyze_tbl">{% trans 'Analyze table' %}</option>
|
||||
<option value="check_tbl">{% trans 'Check table' %}</option>
|
||||
<option value="checksum_tbl">{% trans 'Checksum table' %}</option>
|
||||
<option value="optimize_tbl">{% trans 'Optimize table' %}</option>
|
||||
<option value="repair_tbl">{% trans 'Repair table' %}</option>
|
||||
</optgroup>
|
||||
<optgroup label="{% trans 'Prefix' %}">
|
||||
<option value="add_prefix_tbl">{% trans 'Add prefix to table' %}</option>
|
||||
<option value="replace_prefix_tbl">{% trans 'Replace table prefix' %}</option>
|
||||
<option value="copy_tbl_change_prefix">{% trans 'Copy table with prefix' %}</option>
|
||||
</optgroup>
|
||||
{% endif %}
|
||||
{% if central_columns_work is defined and central_columns_work %}
|
||||
<optgroup label="{% trans 'Central columns' %}">
|
||||
<option value="sync_unique_columns_central_list">{% trans 'Add columns to central list' %}</option>
|
||||
<option value="delete_unique_columns_central_list">{% trans 'Remove columns from central list' %}</option>
|
||||
<option value="make_consistent_with_central_list">{% trans 'Make consistent with central list' %}</option>
|
||||
</optgroup>
|
||||
{% endif %}
|
||||
</select>
|
||||
{{ hidden_fields|join('\n')|raw }}
|
||||
</div>
|
||||
4
phpMyAdmin/templates/database/structure/empty_table.twig
Executable file
4
phpMyAdmin/templates/database/structure/empty_table.twig
Executable file
@@ -0,0 +1,4 @@
|
||||
<a class="truncate_table_anchor ajax" href="sql.php" data-post="{{ tbl_url_query|raw }}&sql_query=
|
||||
{{- sql_query }}&message_to_show={{ message_to_show }}">
|
||||
{{ title|raw }}
|
||||
</a>
|
||||
7
phpMyAdmin/templates/database/structure/favorite_anchor.twig
Executable file
7
phpMyAdmin/templates/database/structure/favorite_anchor.twig
Executable file
@@ -0,0 +1,7 @@
|
||||
<a id="{{ table_name_hash }}_favorite_anchor"
|
||||
class="ajax favorite_table_anchor"
|
||||
href="db_structure.php{{ Url_getCommon(fav_params) }}"
|
||||
title="{{ already_favorite ? 'Remove from Favorites'|trans : 'Add to Favorites'|trans }}"
|
||||
data-favtargets="{{ db_table_name_hash }}" >
|
||||
{{ already_favorite ? titles['Favorite']|raw : titles['NoFavorite']|raw }}
|
||||
</a>
|
||||
@@ -0,0 +1,8 @@
|
||||
<p class="print_ignore">
|
||||
<a href="#" id="printView">
|
||||
{{ Util_getIcon('b_print', 'Print'|trans, true) }}
|
||||
</a>
|
||||
<a href="db_datadict.php{{ url_query }}" target="print_view">
|
||||
{{ Util_getIcon('b_tblanalyse', 'Data dictionary'|trans, true) }}
|
||||
</a>
|
||||
</p>
|
||||
3
phpMyAdmin/templates/database/structure/search_table.twig
Executable file
3
phpMyAdmin/templates/database/structure/search_table.twig
Executable file
@@ -0,0 +1,3 @@
|
||||
<a href="tbl_select.php{{ tbl_url_query|raw }}">
|
||||
{{ title|raw }}
|
||||
</a>
|
||||
31
phpMyAdmin/templates/database/structure/show_create.twig
Executable file
31
phpMyAdmin/templates/database/structure/show_create.twig
Executable file
@@ -0,0 +1,31 @@
|
||||
<div class="show_create_results">
|
||||
<h2>{% trans 'Showing create queries' %}</h2>
|
||||
{% set views = [] %}
|
||||
{% set tables = [] %}
|
||||
{% for object in db_objects %}
|
||||
{% if dbi.getTable(db, object).isView() %}
|
||||
{% set views = views|merge([object]) %}
|
||||
{% else %}
|
||||
{% set tables = tables|merge([object]) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if tables is not empty %}
|
||||
{% include 'database/structure/show_create_row.twig' with {
|
||||
'db': db,
|
||||
'title': 'Tables'|trans,
|
||||
'raw_title': 'Table',
|
||||
'db_objects': tables,
|
||||
'dbi': dbi
|
||||
} only %}
|
||||
{% endif %}
|
||||
|
||||
{% if views is not empty %}
|
||||
{% include 'database/structure/show_create_row.twig' with {
|
||||
'db': db,
|
||||
'title': 'Views'|trans,
|
||||
'raw_title': 'View',
|
||||
'db_objects': views,
|
||||
'dbi': dbi
|
||||
} only %}
|
||||
{% endif %}
|
||||
</div>
|
||||
19
phpMyAdmin/templates/database/structure/show_create_row.twig
Executable file
19
phpMyAdmin/templates/database/structure/show_create_row.twig
Executable file
@@ -0,0 +1,19 @@
|
||||
<fieldset>
|
||||
<legend>{{ title }}</legend>
|
||||
<table class="show_create">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ raw_title }}</th>
|
||||
<th>{{ 'Create %s'|trans|format(raw_title) }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for object in db_objects %}
|
||||
<tr>
|
||||
<td><strong>{{ Core_mimeDefaultFunction(object) }}</strong></td>
|
||||
<td>{{ Core_mimeDefaultFunction(dbi.getTable(db, object).showCreate()) }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
225
phpMyAdmin/templates/database/structure/structure_table_row.twig
Executable file
225
phpMyAdmin/templates/database/structure/structure_table_row.twig
Executable file
@@ -0,0 +1,225 @@
|
||||
<tr id="row_tbl_{{ curr }}"{{ table_is_view ? ' class="is_view"' }} data-filter-row="{{ current_table['TABLE_NAME']|upper }}">
|
||||
<td class="center print_ignore">
|
||||
<input type="checkbox"
|
||||
name="selected_tbl[]"
|
||||
class="{{ input_class }}"
|
||||
value="{{ current_table['TABLE_NAME'] }}"
|
||||
id="checkbox_tbl_{{ curr }}" />
|
||||
</td>
|
||||
<th>
|
||||
{{ browse_table_label|raw }}
|
||||
{{ tracking_icon|raw }}
|
||||
</th>
|
||||
{% if server_slave_status %}
|
||||
<td class="center">
|
||||
{{ ignored ? Util_getImage('s_cancel', 'Not replicated'|trans) }}
|
||||
{{ do ? Util_getImage('s_success', 'Replicated'|trans) }}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{# Favorite table anchor #}
|
||||
{% if num_favorite_tables > 0 %}
|
||||
<td class="center print_ignore">
|
||||
{# Check if current table is already in favorite list #}
|
||||
{% set fav_params = {
|
||||
'db': db,
|
||||
'ajax_request': true,
|
||||
'favorite_table': current_table['TABLE_NAME'],
|
||||
((already_favorite ? 'remove' : 'add') ~ '_favorite'): true
|
||||
} %}
|
||||
{% include 'database/structure/favorite_anchor.twig' with {
|
||||
'table_name_hash': md5(current_table['TABLE_NAME']),
|
||||
'db_table_name_hash': md5(db ~ '.' ~ current_table['TABLE_NAME']),
|
||||
'fav_params': fav_params,
|
||||
'already_favorite': already_favorite,
|
||||
'titles': titles
|
||||
} only %}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
<td class="center print_ignore">
|
||||
{{ browse_table|raw }}
|
||||
</td>
|
||||
<td class="center print_ignore">
|
||||
<a href="tbl_structure.php{{ tbl_url_query|raw }}">
|
||||
{{ titles['Structure']|raw }}
|
||||
</a>
|
||||
</td>
|
||||
<td class="center print_ignore">
|
||||
{{ search_table|raw }}
|
||||
</td>
|
||||
|
||||
{% if not db_is_system_schema %}
|
||||
<td class="insert_table center print_ignore">
|
||||
<a href="tbl_change.php{{ tbl_url_query|raw }}">{{ titles['Insert']|raw }}</a>
|
||||
</td>
|
||||
<td class="center print_ignore">{{ empty_table|raw }}</td>
|
||||
<td class="center print_ignore">
|
||||
<a class="ajax drop_table_anchor
|
||||
{{- table_is_view or current_table['ENGINE'] == null ? ' view' }}"
|
||||
href="sql.php" data-post="{{ tbl_url_query|raw }}&reload=1&purge=1&sql_query=
|
||||
{{- drop_query|url_encode }}&message_to_show={{ drop_message|url_encode }}">
|
||||
{{ titles['Drop']|raw }}
|
||||
</a>
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% if current_table['TABLE_ROWS'] is defined
|
||||
and (current_table['ENGINE'] != null or table_is_view) %}
|
||||
{# Get the row count #}
|
||||
{% set row_count = Util_formatNumber(current_table['TABLE_ROWS'], 0) %}
|
||||
|
||||
{# Content to be appended into 'tbl_rows' cell.
|
||||
If row count is approximate, display it as an anchor to get real count. #}
|
||||
<td class="value tbl_rows"
|
||||
data-table="{{ current_table['TABLE_NAME'] }}">
|
||||
{% if approx_rows %}
|
||||
<a href="db_structure.php{{ Url_getCommon({
|
||||
'ajax_request': true,
|
||||
'db': db,
|
||||
'table': current_table['TABLE_NAME'],
|
||||
'real_row_count': 'true'
|
||||
}) }}" class="ajax real_row_count">
|
||||
<bdi>
|
||||
~{{ row_count }}
|
||||
</bdi>
|
||||
</a>
|
||||
{% else %}
|
||||
{{ row_count }}
|
||||
{% endif %}
|
||||
{{ show_superscript|raw }}
|
||||
</td>
|
||||
|
||||
{% if not (properties_num_columns > 1) %}
|
||||
<td class="nowrap">
|
||||
{% if current_table['ENGINE'] is not empty %}
|
||||
{{ current_table['ENGINE'] }}
|
||||
{% elseif table_is_view %}
|
||||
{% trans 'View' %}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% if collation|length > 0 %}
|
||||
<td class="nowrap">
|
||||
{{ collation|raw }}
|
||||
</td>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if is_show_stats %}
|
||||
<td class="value tbl_size">
|
||||
<a href="tbl_structure.php{{ tbl_url_query|raw }}#showusage">
|
||||
<span>{{ formatted_size }}</span>
|
||||
<span class="unit">{{ unit }}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td class="value tbl_overhead">
|
||||
{{ overhead|raw }}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% if not (show_charset > 1) %}
|
||||
{% if charset|length > 0 %}
|
||||
<td class="nowrap">
|
||||
{{ charset|raw }}
|
||||
</td>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if show_comment %}
|
||||
{% set comment = current_table['Comment'] %}
|
||||
<td>
|
||||
{% if comment|length > limit_chars %}
|
||||
<abbr title="{{ comment }}">
|
||||
{{ comment|slice(0, limit_chars) }}
|
||||
...
|
||||
</abbr>
|
||||
{% else %}
|
||||
{{ comment }}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% if show_creation %}
|
||||
<td class="value tbl_creation">
|
||||
{{ create_time ? Util_localisedDate(strtotime(create_time)) : '-' }}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% if show_last_update %}
|
||||
<td class="value tbl_last_update">
|
||||
{{ update_time ? Util_localisedDate(strtotime(update_time)) : '-'}}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% if show_last_check %}
|
||||
<td class="value tbl_last_check">
|
||||
{{ check_time ? Util_localisedDate(strtotime(check_time)) : '-' }}
|
||||
</td>
|
||||
{% endif %}
|
||||
|
||||
{% elseif table_is_view %}
|
||||
<td class="value tbl_rows">-</td>
|
||||
<td class="nowrap">
|
||||
{% trans 'View' %}
|
||||
</td>
|
||||
<td class="nowrap">---</td>
|
||||
{% if is_show_stats %}
|
||||
<td class="value tbl_size">-</td>
|
||||
<td class="value tbl_overhead">-</td>
|
||||
{% endif %}
|
||||
{% if show_charset %}
|
||||
<td></td>
|
||||
{% endif %}
|
||||
{% if show_comment %}
|
||||
<td></td>
|
||||
{% endif %}
|
||||
{% if show_creation %}
|
||||
<td class="value tbl_creation">-</td>
|
||||
{% endif %}
|
||||
{% if show_last_update %}
|
||||
<td class="value tbl_last_update">-</td>
|
||||
{% endif %}
|
||||
{% if show_last_check %}
|
||||
<td class="value tbl_last_check">-</td>
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
{% set count = 0 %}
|
||||
{% if properties_num_columns %}
|
||||
{% set count = count + 2 %}
|
||||
{% endif %}
|
||||
{% if is_show_stats %}
|
||||
{% set count = count + 2 %}
|
||||
{% endif %}
|
||||
{% if show_charset %}
|
||||
{% set count = count + 1 %}
|
||||
{% endif %}
|
||||
{% if show_comment %}
|
||||
{% set count = count + 1 %}
|
||||
{% endif %}
|
||||
{% if show_creation %}
|
||||
{% set count = count + 1 %}
|
||||
{% endif %}
|
||||
{% if show_last_update %}
|
||||
{% set count = count + 1 %}
|
||||
{% endif %}
|
||||
{% if show_last_check %}
|
||||
{% set count = count + 1 %}
|
||||
{% endif %}
|
||||
|
||||
{% if db_is_system_schema %}
|
||||
{% set action_colspan = 3 %}
|
||||
{% else %}
|
||||
{% set action_colspan = 6 %}
|
||||
{% endif %}
|
||||
{% if num_favorite_tables > 0 %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
|
||||
{% set colspan_for_structure = action_colspan + 3 %}
|
||||
<td colspan="{{ colspan_for_structure - db_is_system_schema ? 6 : 9 }}"
|
||||
class="center">
|
||||
{% trans 'in use' %}
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
80
phpMyAdmin/templates/database/structure/table_header.twig
Executable file
80
phpMyAdmin/templates/database/structure/table_header.twig
Executable file
@@ -0,0 +1,80 @@
|
||||
<form method="post" action="db_structure.php" name="tablesForm" id="tablesForm">
|
||||
{{ Url_getHiddenInputs(db) }}
|
||||
<div class="responsivetable">
|
||||
<table id="structureTable" class="data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="print_ignore"></th>
|
||||
<th>{{ Util_sortableTableHeader('Table'|trans, 'table') }}</th>
|
||||
{% if replication %}
|
||||
<th>{% trans 'Replication' %}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if db_is_system_schema %}
|
||||
{% set action_colspan = 3 %}
|
||||
{% else %}
|
||||
{% set action_colspan = 6 %}
|
||||
{% endif %}
|
||||
{% if num_favorite_tables > 0 %}
|
||||
{% set action_colspan = action_colspan + 1 %}
|
||||
{% endif %}
|
||||
<th colspan="{{ action_colspan }}" class="print_ignore">
|
||||
{% trans 'Action' %}
|
||||
</th>
|
||||
{# larger values are more interesting so default sort order is DESC #}
|
||||
<th>
|
||||
{{ Util_sortableTableHeader('Rows'|trans, 'records', 'DESC') }}
|
||||
{{ Util_showHint(Sanitize_sanitize(
|
||||
'May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].'|trans
|
||||
)) }}
|
||||
</th>
|
||||
{% if not (properties_num_columns > 1) %}
|
||||
<th>{{ Util_sortableTableHeader('Type'|trans, 'type') }}</th>
|
||||
<th>{{ Util_sortableTableHeader('Collation'|trans, 'collation') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if is_show_stats %}
|
||||
{# larger values are more interesting so default sort order is DESC #}
|
||||
<th>{{ Util_sortableTableHeader('Size'|trans, 'size', 'DESC') }}</th>
|
||||
{# larger values are more interesting so default sort order is DESC #}
|
||||
<th>{{ Util_sortableTableHeader('Overhead'|trans, 'overhead', 'DESC') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if show_charset %}
|
||||
<th>{{ Util_sortableTableHeader('Charset'|trans, 'charset') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if show_comment %}
|
||||
<th>{{ Util_sortableTableHeader('Comment'|trans, 'comment') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if show_creation %}
|
||||
{# newer values are more interesting so default sort order is DESC #}
|
||||
<th>{{ Util_sortableTableHeader('Creation'|trans, 'creation', 'DESC') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if show_last_update %}
|
||||
{# newer values are more interesting so default sort order is DESC #}
|
||||
<th>{{ Util_sortableTableHeader('Last update'|trans, 'last_update', 'DESC') }}</th>
|
||||
{% endif %}
|
||||
|
||||
{% if show_last_check %}
|
||||
{# newer values are more interesting so default sort order is DESC #}
|
||||
<th>{{ Util_sortableTableHeader('Last check'|trans, 'last_check', 'DESC') }}</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for structure_table_row in structure_table_rows %}
|
||||
{% include 'database/structure/structure_table_row.twig' with structure_table_row only %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
{% if body_for_table_summary %}
|
||||
{% include 'database/structure/body_for_table_summary.twig' with body_for_table_summary only %}
|
||||
{% endif %}
|
||||
</table>
|
||||
</div>
|
||||
{% if check_all_tables %}
|
||||
{% include 'database/structure/check_all_tables.twig' with check_all_tables only %}
|
||||
{% endif %}
|
||||
</form>
|
||||
7
phpMyAdmin/templates/database/structure/tracking_icon.twig
Executable file
7
phpMyAdmin/templates/database/structure/tracking_icon.twig
Executable file
@@ -0,0 +1,7 @@
|
||||
<a href="tbl_tracking.php{{ Url_getCommon({'table': table, 'db': db}) }}">
|
||||
{% if is_tracked -%}
|
||||
{{ Util_getImage('eye', 'Tracking is active.'|trans) }}
|
||||
{%- else -%}
|
||||
{{ Util_getImage('eye_grey', 'Tracking is not active.'|trans) }}
|
||||
{%- endif %}
|
||||
</a>
|
||||
Reference in New Issue
Block a user