@@ -2683,7 +2683,8 @@ function PMA_getHtmlForInsertEditFormHeader($has_blob_field, $is_upload)
26832683 * @param bool $insert_mode whether insert mode
26842684 * @param array $current_row current row
26852685 * @param bool $odd_row whether odd row
2686- * @param int $o_rows row offset
2686+ * @param int &$o_rows row offset
2687+ * @param int &$tabindex tab index
26872688 * @param int $columns_cnt columns count
26882689 * @param bool $is_upload whether upload
26892690 * @param int $tabindex_for_function tab index offset for function
@@ -2703,7 +2704,7 @@ function PMA_getHtmlForInsertEditFormHeader($has_blob_field, $is_upload)
27032704 */
27042705function PMA_getHtmlForInsertEditFormColumn ($ table_columns , $ i , $ column , $ comments_map ,
27052706 $ timestamp_seen , $ current_result , $ chg_evt_handler , $ jsvkey , $ vkey ,
2706- $ insert_mode , $ current_row , $ odd_row , $ o_rows , $ columns_cnt , $ is_upload ,
2707+ $ insert_mode , $ current_row , $ odd_row , & $ o_rows, & $ tabindex , $ columns_cnt , $ is_upload ,
27072708 $ tabindex_for_function , $ foreigners , $ tabindex_for_null , $ tabindex_for_value ,
27082709 $ table , $ db , $ row_id , $ titles , $ biggest_max_file_size ,
27092710 $ default_char_editing , $ text_dir
@@ -2848,6 +2849,7 @@ function PMA_getHtmlForInsertEditFormColumn($table_columns, $i, $column, $commen
28482849 * @param bool $insert_mode whether insert mode
28492850 * @param array $current_row current row
28502851 * @param int &$o_rows row offset
2852+ * @param int &$tabindex tab index
28512853 * @param int $columns_cnt columns count
28522854 * @param bool $is_upload whether upload
28532855 * @param int $tabindex_for_function tab index offset for function
@@ -2865,17 +2867,13 @@ function PMA_getHtmlForInsertEditFormColumn($table_columns, $i, $column, $commen
28652867 */
28662868function PMA_getHtmlForInsertEditRow ($ url_params , $ table_columns ,
28672869 $ column , $ comments_map , $ timestamp_seen , $ current_result , $ chg_evt_handler ,
2868- $ jsvkey , $ vkey , $ insert_mode , $ current_row , &$ o_rows , $ columns_cnt ,
2870+ $ jsvkey , $ vkey , $ insert_mode , $ current_row , &$ o_rows , & $ tabindex , $ columns_cnt ,
28692871 $ is_upload , $ tabindex_for_function , $ foreigners , $ tabindex_for_null ,
28702872 $ tabindex_for_value , $ table , $ db , $ row_id , $ titles ,
28712873 $ biggest_max_file_size , $ text_dir
28722874) {
28732875 $ html_output = PMA_getHeadAndFootOfInsertRowTable ($ url_params )
28742876 . '<tbody> ' ;
2875-
2876- // Sets a multiplier used for input-field counts
2877- // (as zero cannot be used, advance the counter plus one)
2878- $ m_rows = $ o_rows + 1 ;
28792877
28802878 //store the default value for CharEditing
28812879 $ default_char_editing = $ GLOBALS ['cfg ' ]['CharEditing ' ];
@@ -2885,7 +2883,7 @@ function PMA_getHtmlForInsertEditRow($url_params, $table_columns,
28852883 $ html_output .= PMA_getHtmlForInsertEditFormColumn (
28862884 $ table_columns , $ i , $ column , $ comments_map , $ timestamp_seen ,
28872885 $ current_result , $ chg_evt_handler , $ jsvkey , $ vkey , $ insert_mode ,
2888- $ current_row , $ odd_row , $ o_rows , $ columns_cnt , $ is_upload ,
2886+ $ current_row , $ odd_row , $ o_rows , $ tabindex , $ columns_cnt , $ is_upload ,
28892887 $ tabindex_for_function , $ foreigners , $ tabindex_for_null ,
28902888 $ tabindex_for_value , $ table , $ db , $ row_id , $ titles ,
28912889 $ biggest_max_file_size , $ default_char_editing , $ text_dir
0 commit comments