Welcome to mirror list, hosted at ThFree Co, Russian Federation.

item_unhide_dialog.twig « navigation « templates - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a69f085003b43bb6a2b43d6c0e064ed9911b612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<form class="ajax" action="{{ url('/navigation') }}" method="post">
  <fieldset class="pma-fieldset">
    {{ get_hidden_inputs(database, table) }}

    {% for type, label in types %}
      {% if (item_type is empty or item_type == type) and hidden[type] is iterable %}
        {{ not loop.first ? '<br>' }}
        <strong>{{ label }}</strong>
        <table class="table w-100">
          <tbody>
            {% for item in hidden[type] %}
              <tr>
                <td>{{ item }}</td>
                <td class="text-end">
                  <a class="unhideNavItem ajax" href="{{ url('/navigation') }}" data-post="{{ get_common({
                    'unhideNavItem': true,
                    'itemType': type,
                    'itemName': item,
                    'dbName': database
                  }, '', false) }}">{{ get_icon('show', 'Unhide'|trans) }}</a>
                </td>
              </tr>
            {% endfor %}
          </tbody>
        </table>
      {% endif %}
    {% endfor %}
  </fieldset>
</form>