aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/server/engines/show.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/server/engines/show.twig')
-rw-r--r--srcs/phpmyadmin/templates/server/engines/show.twig48
1 files changed, 48 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/server/engines/show.twig b/srcs/phpmyadmin/templates/server/engines/show.twig
new file mode 100644
index 0000000..088e3a0
--- /dev/null
+++ b/srcs/phpmyadmin/templates/server/engines/show.twig
@@ -0,0 +1,48 @@
+<h2>
+ {{ get_image('b_engine') }}
+ {% trans 'Storage engines' %}
+</h2>
+
+{% if engine is not empty %}
+ <h2>
+ {{ get_image('b_engine') }}
+ {{ engine.title }}
+ {{ show_mysql_docu(engine.help_page) }}
+ </h2>
+ <p><em>{{ engine.comment }}</em></p>
+
+ {% if engine.info_pages is not empty and engine.info_pages is iterable %}
+ <p>
+ <strong>[</strong>
+ {% if page is empty %}
+ <strong>{% trans 'Variables' %}</strong>
+ {% else %}
+ <a href="server_engines.php
+ {{- get_common({'engine': engine.engine}) }}">
+ {% trans 'Variables' %}
+ </a>
+ {% endif %}
+ {% for current, label in engine.info_pages %}
+ <strong>|</strong>
+ {% if page is defined and page == current %}
+ <strong>{{ label }}</strong>
+ {% else %}
+ <a href="server_engines.php
+ {{- get_common({'engine': engine.engine, 'page': current}) }}">
+ {{ label }}
+ </a>
+ {% endif %}
+ {% endfor %}
+ <strong>]</strong>
+ </p>
+ {% endif %}
+
+ {% if engine.page is not empty %}
+ {{ engine.page|raw }}
+ {% else %}
+ <p>{{ engine.support }}</p>
+ {{ engine.variables|raw }}
+ {% endif %}
+{% else %}
+ <p>{{ 'Unknown storage engine.'|trans|error }}</p>
+{% endif %}