diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-09 10:55:03 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-09 13:09:38 +0100 |
| commit | 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch) | |
| tree | 5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/templates/navigation/item_unhide_dialog.twig | |
| parent | 7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff) | |
| download | ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2 ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip | |
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/templates/navigation/item_unhide_dialog.twig')
| -rw-r--r-- | srcs/phpmyadmin/templates/navigation/item_unhide_dialog.twig | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/navigation/item_unhide_dialog.twig b/srcs/phpmyadmin/templates/navigation/item_unhide_dialog.twig new file mode 100644 index 0000000..8303b59 --- /dev/null +++ b/srcs/phpmyadmin/templates/navigation/item_unhide_dialog.twig @@ -0,0 +1,29 @@ +<form class="ajax" action="navigation.php" method="post"> + <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="all100"> + <tbody> + {% for item in hidden[type] %} + <tr> + <td>{{ item }}</td> + <td class="right"> + <a class="unhideNavItem ajax" href="navigation.php" data-post="{{ get_common({ + 'unhideNavItem': true, + 'itemType': type, + 'itemName': item, + 'dbName': database + }, '') }}">{{ get_icon('show', 'Unhide'|trans) }}</a> + </td> + </tr> + {% endfor %} + </tbody> + </table> + {% endif %} + {% endfor %} + </fieldset> +</form> |
