aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/display/export/options_rows.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/display/export/options_rows.twig')
-rw-r--r--srcs/phpmyadmin/templates/display/export/options_rows.twig35
1 files changed, 35 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/display/export/options_rows.twig b/srcs/phpmyadmin/templates/display/export/options_rows.twig
new file mode 100644
index 0000000..1d4f866
--- /dev/null
+++ b/srcs/phpmyadmin/templates/display/export/options_rows.twig
@@ -0,0 +1,35 @@
+<div class="exportoptions" id="rows">
+ <h3>{% trans 'Rows:' %}</h3>
+ <ul>
+ <li>
+ <input type="radio" name="allrows" value="0" id="radio_allrows_0"
+ {{- allrows is not null and allrows == 0 ? ' checked' }}>
+ <label for="radio_allrows_0">{% trans 'Dump some row(s)' %}</label>
+ <ul>
+ <li>
+ <label for="limit_to">{% trans 'Number of rows:' %}</label>
+ <input type="text" id="limit_to" name="limit_to" size="5" value="
+ {%- apply spaceless %}
+ {% if limit_to is not null %}
+ {{ limit_to }}
+ {% elseif unlim_num_rows is not empty and unlim_num_rows != 0 %}
+ {{ unlim_num_rows }}
+ {% else %}
+ {{ number_of_rows }}
+ {% endif %}
+ {% endapply %}" onfocus="this.select()">
+ </li>
+ <li>
+ <label for="limit_from">{% trans 'Row to begin at:' %}</label>
+ <input type="text" id="limit_from" name="limit_from" size="5" value="
+ {{- limit_from is not null ? limit_from : 0 }}" onfocus="this.select()">
+ </li>
+ </ul>
+ </li>
+ <li>
+ <input type="radio" name="allrows" value="1" id="radio_allrows_1"
+ {{- allrows is null or allrows == 1 ? ' checked' }}>
+ <label for="radio_allrows_1">{% trans 'Dump all rows' %}</label>
+ </li>
+ </ul>
+</div>