Improve stats table filters

This commit is contained in:
Takumi
2013-08-01 00:55:21 +10:00
parent 5809170073
commit e09a5bb311
7 changed files with 85 additions and 79 deletions

View File

@@ -84,7 +84,7 @@ function sp_event_stats_meta( $post ) {
?>
<div>
<p><strong><?php echo $value ? get_the_title( $value ) : sprintf( __( 'Select %s' ), 'Team' ); ?></strong></p>
<?php sp_stats_table( $data, array(), $value, array( 'Player', 'Goals', 'Assists', 'Yellow Cards', 'Red Cards' ), true, false ); ?>
<?php sp_stats_table( $data, array(), $value, array( 'Player', 'Goals', 'Assists', 'Yellow Cards', 'Red Cards' ), true ); ?>
</div>
<?php
endforeach;