Prefix row number classes with sp-row-no-

This commit is contained in:
Brian Miyaji
2015-12-10 20:29:09 +11:00
parent db2bffa29f
commit 9b8a773971
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ endif;
$teams_output .= '—'; $teams_output .= '—';
endif; endif;
echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' row-' . $i . '">'; echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' sp-row-no-' . $i . '">';
$date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . get_post_time( get_option( 'date_format' ), false, $event, true ); $date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . get_post_time( get_option( 'date_format' ), false, $event, true );

View File

@@ -121,7 +121,7 @@ foreach ( $data as $team_id => $row ):
$td_class = ' sp-highlight'; $td_class = ' sp-highlight';
endif; endif;
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . $tr_class . ' row-no-' . $i . '">'; $output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . $tr_class . ' sp-row-no-' . $i . '">';
// Rank // Rank
$output .= '<td class="data-rank' . $td_class . '">' . sp_array_value( $row, 'pos' ) . '</td>'; $output .= '<td class="data-rank' . $td_class . '">' . sp_array_value( $row, 'pos' ) . '</td>';