Remove odd CSS class logic from PHP file
Odd CSS class is no longer needed, background coloring now done with CSS pseudo-class. Signed-off-by: Patric Gustafsson <patricjgustafsson@outlook.com>
This commit is contained in:
parent
c150f06b33
commit
91f3928c2d
@ -55,16 +55,14 @@ $th = array(
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$odd_row = true;
|
||||
foreach ($types[$ttype] as $key => $transform) {
|
||||
$desc = PMA_getTransformationDescription($types[$ttype . '_file'][$key]);
|
||||
?>
|
||||
<tr class="<?php echo $odd_row ? 'odd' : 'even'; ?>">
|
||||
<tr>
|
||||
<td><?php echo $transform; ?></td>
|
||||
<td><?php echo $desc; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
$odd_row = !$odd_row;
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user