aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/display/export/hidden_inputs.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/display/export/hidden_inputs.twig')
-rw-r--r--srcs/phpmyadmin/templates/display/export/hidden_inputs.twig23
1 files changed, 23 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/display/export/hidden_inputs.twig b/srcs/phpmyadmin/templates/display/export/hidden_inputs.twig
new file mode 100644
index 0000000..fc7c04e
--- /dev/null
+++ b/srcs/phpmyadmin/templates/display/export/hidden_inputs.twig
@@ -0,0 +1,23 @@
+{% if export_type == 'server' %}
+ {{ get_hidden_inputs('', '', 1) }}
+{% elseif export_type == 'database' %}
+ {{ get_hidden_inputs(db, '', 1) }}
+{% else %}
+ {{ get_hidden_inputs(db, table, 1) }}
+{% endif %}
+
+{# Just to keep this value for possible next display of this form after saving on server #}
+{% if single_table is not empty %}
+ <input type="hidden" name="single_table" value="TRUE">
+{% endif %}
+
+<input type="hidden" name="export_type" value="{{ export_type }}">
+
+{# The export method (quick, custom or custom-no-form) #}
+<input type="hidden" name="export_method" value="{{ export_method }}">
+
+{% if sql_query is not empty %}
+ <input type="hidden" name="sql_query" value="{{ sql_query }}">
+{% endif %}
+
+<input type="hidden" name="template_id" value="{{ template_id }}">