"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.0.1-all-languages/templates/table/structure/action_row_in_structure_table.twig" (7 Jan 2020, 1021 Bytes) of package /linux/www/phpMyAdmin-5.0.1-all-languages.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "action_row_in_structure_table.twig": 4.9.2_vs_5.0.0.

    1 <li class="{{ class }}">
    2 {% if type == 'text'
    3     or type == 'blob'
    4     or tbl_storage_engine == 'ARCHIVE'
    5     or has_field %}
    6     {{ titles['No' ~ action]|raw }}
    7 {% else %}
    8     <a rel="samepage" class="ajax add_key print_ignore
    9         {%- if has_link_class %}
   10             add_primary_key_anchor
   11         {%- elseif action == 'Index' %}
   12             add_index_anchor
   13         {%- elseif action == 'Unique' %}
   14             add_unique_anchor
   15         {%- elseif action == 'Spatial' %}
   16             add_spatial_anchor
   17         {%- endif %}" href="tbl_structure.php" data-post="{{ url_query|raw -}}
   18         &amp;add_key=1&amp;sql_query=
   19         {{- ('ALTER TABLE ' ~
   20             backquote(table) ~
   21             (is_primary ? (primary ? ' DROP PRIMARY KEY,')) ~
   22             ' ' ~
   23             syntax ~
   24             '(' ~
   25             backquote(row['Field']) ~
   26             ');')|url_encode -}}
   27             &amp;message_to_show={{ message|format(row['Field']|e)|url_encode }}">
   28         {{ titles[action]|raw }}
   29     </a>
   30 {% endif %}
   31 </li>