element in {@link tables_table}
- */
- var curr_last_row = $(tables_table).find('tr:last');
- /**
- * @var curr_last_row_index_string String containing the index of {@link curr_last_row}
- */
- var curr_last_row_index_string = $(curr_last_row).find('input:checkbox').attr('id').match(/\d+/)[0];
- /**
- * @var curr_last_row_index Index of {@link curr_last_row}
- */
- var curr_last_row_index = parseFloat(curr_last_row_index_string);
- /**
- * @var new_last_row_index Index of the new row to be appended to {@link tables_table}
- */
- var new_last_row_index = curr_last_row_index + 1;
- /**
- * @var new_last_row_id String containing the id of the row to be appended to {@link tables_table}
- */
- var new_last_row_id = 'checkbox_tbl_' + new_last_row_index;
-
- //append to table
- $(data.new_table_string)
- .find('input:checkbox')
- .val(new_last_row_id)
- .end()
- .appendTo(tables_table);
-
- //Sort the table
- $(tables_table).PMA_sort_table('th');
-
- //Refresh navigation frame as a new table has been added
- window.parent.refreshNavigation();
- }
- else {
- PMA_ajaxShowMessage(data.error);
- }
- }) // end $.post()
- } // end elseif()
- }) // end create table form submit button actions
+ }) // end create table form (add fields)
}, 'top.frame_content'); //end $(document).ready for 'Create Table'
diff --git a/libraries/build_action_titles.inc.php b/libraries/build_action_titles.inc.php
new file mode 100644
index 000000000..e9da5f65f
--- /dev/null
+++ b/libraries/build_action_titles.inc.php
@@ -0,0 +1,51 @@
+';
+ $titles['NoBrowse'] = '
';
+ $titles['Search'] = '
';
+ $titles['NoSearch'] = '
';
+ $titles['Insert'] = '
';
+ $titles['NoInsert'] = '
';
+ $titles['Structure'] = '
';
+ $titles['Drop'] = '
';
+ $titles['NoDrop'] = '
';
+ $titles['Empty'] = '
';
+ $titles['NoEmpty'] = '
';
+
+ if ('both' === $cfg['PropertiesIconic']) {
+ $titles['Browse'] .= __('Browse');
+ $titles['Search'] .= __('Search');
+ $titles['NoBrowse'] .= __('Browse');
+ $titles['NoSearch'] .= __('Search');
+ $titles['Insert'] .= __('Insert');
+ $titles['NoInsert'] .= __('Insert');
+ $titles['Structure'] .= __('Structure');
+ $titles['Drop'] .= __('Drop');
+ $titles['NoDrop'] .= __('Drop');
+ $titles['Empty'] .= __('Empty');
+ $titles['NoEmpty'] .= __('Empty');
+ }
+} else {
+ $titles['Browse'] = __('Browse');
+ $titles['Search'] = __('Search');
+ $titles['NoBrowse'] = __('Browse');
+ $titles['NoSearch'] = __('Search');
+ $titles['Insert'] = __('Insert');
+ $titles['NoInsert'] = __('Insert');
+ $titles['Structure'] = __('Structure');
+ $titles['Drop'] = __('Drop');
+ $titles['NoDrop'] = __('Drop');
+ $titles['Empty'] = __('Empty');
+ $titles['NoEmpty'] = __('Empty');
+}
+?>
diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php
index c093635fe..001fea6d1 100644
--- a/libraries/tbl_properties.inc.php
+++ b/libraries/tbl_properties.inc.php
@@ -369,7 +369,7 @@ for ($i = 0; $i < $num_fields; $i++) {
. ' class="textfield" />'
. '';
$content_cells[$i][$ci] .= __('ENUM or SET data too long?')
- . ' '
+ . ' '
. __('Get more editing space') . '
';
$ci++;
@@ -610,7 +610,7 @@ document.onkeydown = onKeyDownArrowsHandler;
}
?>
-