From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../templates/database/structure/show_create.twig | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 srcs/phpmyadmin/templates/database/structure/show_create.twig (limited to 'srcs/phpmyadmin/templates/database/structure/show_create.twig') diff --git a/srcs/phpmyadmin/templates/database/structure/show_create.twig b/srcs/phpmyadmin/templates/database/structure/show_create.twig deleted file mode 100644 index 520e974..0000000 --- a/srcs/phpmyadmin/templates/database/structure/show_create.twig +++ /dev/null @@ -1,31 +0,0 @@ -
-

{% trans 'Showing create queries' %}

- {% 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 %} -
-- cgit