Adjust player meta box for auto columns and split statistics

This commit is contained in:
Brian Miyaji
2016-04-02 03:57:53 +11:00
parent f7e345ec99
commit 1b2b8c1111
3 changed files with 16 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ foreach( $data as $season_id => $row ):
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . '">';
foreach( $labels as $key => $value ):
$output .= '<td class="data-' . $key . ( -1 === $season_id ? ' sp-highlight' : '' ) . '">' . sp_array_value( $row, $key, '&mdash;' ) . '</td>';
$output .= '<td class="data-' . $key . ( -1 === $season_id ? ' sp-highlight' : '' ) . '">' . sp_array_value( $row, $key, '' ) . '</td>';
endforeach;
$output .= '</tr>';