Row coloring issue and incorrect table code
Fixes issue #12831 Signed-off-by: Shreyas Sinha <shreyas.sinha14@gmail.com>
This commit is contained in:
parent
a0e0eea03d
commit
4a2695cf5b
@ -583,10 +583,6 @@ function PMA_getValueColumn($column, $backup_field, $column_name_appendix,
|
||||
} elseif ($GLOBALS['cfg']['LongtextDoubleTextarea']
|
||||
&& mb_strstr($column['pma_type'], 'longtext')
|
||||
) {
|
||||
$html_output = ' </td>';
|
||||
$html_output .= '</tr>';
|
||||
$html_output .= '<tr class="' . ($odd_row ? 'odd' : 'even') . '">'
|
||||
. '<td colspan="5" class="right">';
|
||||
$html_output .= PMA_getTextarea(
|
||||
$column, $backup_field, $column_name_appendix, $onChangeClause,
|
||||
$tabindex, $tabindex_for_value, $idindex, $text_dir,
|
||||
@ -2663,11 +2659,6 @@ function PMA_getHtmlForFunctionOption($odd_row, $column, $column_name_appendix)
|
||||
$longDoubleTextArea = $GLOBALS['cfg']['LongtextDoubleTextarea'];
|
||||
return '<tr class="noclick ' . ($odd_row ? 'odd' : 'even' ) . '">'
|
||||
. '<td '
|
||||
. ($longDoubleTextArea
|
||||
&& mb_strstr($column['True_Type'], 'longtext')
|
||||
? 'rowspan="2"'
|
||||
: ''
|
||||
)
|
||||
. 'class="center">'
|
||||
. $column['Field_title']
|
||||
. '<input type="hidden" name="fields_name' . $column_name_appendix
|
||||
@ -2942,9 +2933,6 @@ function PMA_getHtmlForInsertEditFormColumn($table_columns, $column_number,
|
||||
$no_support_types, $gis_data_types, $extracted_columnspec, $readOnly
|
||||
);
|
||||
}
|
||||
$html_output .= '</td>'
|
||||
. '</tr>';
|
||||
|
||||
return $html_output;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user