<form method="post" action="tbl_addfield.php" id="addColumns" name="addColumns"> {{ Url_getHiddenInputs(db, table) }} {% if Util_showIcons('ActionLinksMode') %} {{ Util_getImage('b_insrow', 'Add column'|trans) }} {% endif %} {% set num_fields -%} <input type="number" name="num_fields" value="1" onfocus="this.select()" min="1" required /> {%- endset %} {{ 'Add %s column(s)'|trans|format(num_fields)|raw }} <input type="hidden" name="field_where" value="after"/> {# I tried displaying the drop-down inside the label but with Firefox the drop-down was blinking #} <select name="after_field"> <option value="first" data-pos="first"> {% trans 'at beginning of table' %} </option> {% for one_column_name in columns_list %} <option value="{{ one_column_name }}" {{- loop.revindex0 == 0 ? ' selected="selected"' }}> {{ 'after %s'|trans|format(one_column_name) }} </option> {% endfor %} </select> <input type="submit" value="{% trans 'Go' %}" /> </form>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
action_row_in_structure_table.twig | File | 1.01 KB | 0644 |
|
actions_in_table_structure.twig | File | 4.94 KB | 0644 |
|
add_column.twig | File | 1.09 KB | 0644 |
|
check_all_table_column.twig | File | 2.68 KB | 0644 |
|
display_partitions.twig | File | 7.08 KB | 0644 |
|
display_structure.twig | File | 9.3 KB | 0644 |
|
display_table_stats.twig | File | 3.23 KB | 0644 |
|
move_columns_dialog.twig | File | 308 B | 0644 |
|
optional_action_links.twig | File | 1.34 KB | 0644 |
|
partition_definition_form.twig | File | 517 B | 0644 |
|
row_stats_table.twig | File | 3.14 KB | 0644 |
|
table_structure_header.twig | File | 763 B | 0644 |
|
table_structure_row.twig | File | 2.27 KB | 0644 |
|