Use variable slugs instead of generated stats keys in player stats

This commit is contained in:
Takumi
2013-08-07 03:08:16 +10:00
parent d704c6bc1b
commit 753a35f16c
2 changed files with 13 additions and 10 deletions

View File

@@ -62,15 +62,15 @@ $sportspress_options = array(
A: $against
GD: $for-$against
PTS: 3$wins+$ties',
'sp_event_stats_columns' => 'Goals: $statsa
Assists: $statsb
Yellow Cards: $statsc
Red Cards: $statsd',
'sp_event_stats_columns' => 'Goals: $goals
Assists: $assists
Yellow Cards: $yellowcards
Red Cards: $redcards',
'sp_player_stats_columns' => 'Attendances: $played
Goals: $statsa
Assists: $statsb
Yellow Cards: $statsc
Red Cards: $statsd',
Goals: $goals
Assists: $assists
Yellow Cards: $yellowcards
Red Cards: $redcards'
)
);