diff --git a/ChangeLog b/ChangeLog index 4638f0b9d..42c0c8824 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ needed with the new fpdf library; also now output inline, I find it faster this way, please tell me if you prefer the old dialog method and why. + * tbl_change.php: bug #1038401, tabbing from value to value 2004-10-13 Michal Čihař * libraries/fpdf/fpdf.php: Updated to 1.52. diff --git a/tbl_change.php b/tbl_change.php index f9aaf299b..ece297237 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -210,9 +210,9 @@ while ($trow = PMA_DBI_fetch_assoc($table_def)) { } $tabindex = 0; -$tab1 = +2; -$tab2 = +1; -$tab3 = 0; +$tabindex_for_function = +1000; +$tabindex_for_null = +2000; +$tabindex_for_value = 0; $o_rows = 0; foreach ($loop_array AS $vrowcount => $vrow) { if ($vrow === FALSE) { @@ -428,7 +428,7 @@ foreach ($loop_array AS $vrowcount => $vrow) { } else { ?> - ="return unNullify('', '')" tabindex="" id="field__1"> $vrow) { echo ' ' . "\n"; if (!(($cfg['ProtectBinary'] && $is_blob) || ($cfg['ProtectBinary'] == 'all' && $is_binary)) && $row_table_def['Null'] == 'YES') { - echo ' $vrow) { - ="return unNullify('', '')" tabindex="" id="field__3" value="" /> + ="return unNullify('', '')" tabindex="" id="field__3" value="" /> @@ -547,7 +547,7 @@ foreach ($loop_array AS $vrowcount => $vrow) { - ="return unNullify('', '')" tabindex="" id="field__3"> @@ -562,7 +562,7 @@ foreach ($loop_array AS $vrowcount => $vrow) { + ="return unNullify('', '')" tabindex=""> $vrow) { + ="return unNullify('', '')" tabindex=""> $vrow) { if (strlen($row_table_def['Type']) > 20) { echo "\n"; ?> - ="return unNullify('', '')" tabindex="" id="field__3"> $vrow) { && isset($row_table_def['Default']) && $enum_atom == $row_table_def['Default'])) { echo ' checked="checked"'; } - echo 'tabindex="' . ($tabindex + $tab3) . '" />'; - echo '' . "\n"; + echo 'tabindex="' . ($tabindex + $tabindex_for_value) . '" />'; + echo '' . "\n"; } // end for } // end else @@ -655,7 +655,7 @@ foreach ($loop_array AS $vrowcount => $vrow) { - ="return unNullify('', '')" tabindex="" id="field__3"> $vrow) { + ="return unNullify('', '')" tabindex="" > $vrow) { ?> - ="return unNullify('', '')" tabindex="" id="field__3" /> + ="return unNullify('', '')" tabindex="" id="field__3" /> $vrow) { echo "\n"; ?> + ="return unNullify('', '')" tabindex="" > - ="return unNullify('', '')" tabindex="" id="field__3" /> + ="return unNullify('', '')" tabindex="" id="field__3" /> @@ -833,9 +833,9 @@ foreach ($loop_array AS $vrowcount => $vrow) { -
+
      
- + -- --    - tabindex="" style="vertical-align: middle" />
+ tabindex="" style="vertical-align: middle" />
      
- tabindex="" style="vertical-align: middle" />
+ tabindex="" style="vertical-align: middle" />
      
- tabindex="" style="vertical-align: middle" /> + tabindex="" style="vertical-align: middle" /> - - + +