diff options
author | Michal Čihař <michal@cihar.com> | 2016-12-07 12:13:03 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-12-07 12:17:15 +0300 |
commit | f36f61314fbf973776cf57aebd42364891875375 (patch) | |
tree | f61c6159a547931ff7c1eda56bccb49b3817d3b7 /db_export.php | |
parent | 2c00f5e8acfce106c2d7225874ad8f60c38b899f (diff) |
Remove odd/even markup
Issue #12070
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_export.php')
-rw-r--r-- | db_export.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/db_export.php b/db_export.php index 316c7523f7..5eb9deeafb 100644 --- a/db_export.php +++ b/db_export.php @@ -90,7 +90,6 @@ foreach (array('table_select', 'table_structure', 'table_data') as $one_key) { } } -$odd = true; foreach ($tables as $each_table) { if (isset($_GET['table_select']) && is_array($_GET['table_select'])) { $is_checked = PMA_getCheckedClause( @@ -118,7 +117,7 @@ foreach ($tables as $each_table) { $data_checked = $is_checked; } $table_html = htmlspecialchars($each_table['Name']); - $multi_values .= '<tr class="' . ($odd ? 'odd' : 'even') . ' marked">'; + $multi_values .= '<tr class="marked">'; $multi_values .= '<td><input type="checkbox" name="table_select[]"' . ' value="' . $table_html . '"' . $is_checked . ' class="checkall"/></td>'; $multi_values .= '<td class="export_table_name">' @@ -130,7 +129,6 @@ foreach ($tables as $each_table) { . '<input type="checkbox" name="table_data[]"' . ' value="' . $table_html . '"' . $data_checked . ' /></td>'; $multi_values .= '</tr>'; - $odd = ! $odd; } // end for $multi_values .= "\n"; |