From d163673d21e7ab7d9f54e6f475b6f81d9958e0d4 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 9 Jul 2014 16:56:30 +1000 Subject: [PATCH] Delete unused templates --- templates/player-performance-table.php | 60 -------------------------- templates/player-performance.php | 24 ----------- 2 files changed, 84 deletions(-) delete mode 100644 templates/player-performance-table.php delete mode 100644 templates/player-performance.php diff --git a/templates/player-performance-table.php b/templates/player-performance-table.php deleted file mode 100644 index df33a3cf..00000000 --- a/templates/player-performance-table.php +++ /dev/null @@ -1,60 +0,0 @@ -term_id ); - -// The first row should be column labels -$labels = $data[0]; - -// Remove the first row to leave us with the actual data -unset( $data[0] ); - -// Skip if there are no rows in the table -if ( empty( $data ) ) - return false; - -$output = '

' . $league->name . '

' . - '
' . - '' . '' . ''; - -foreach( $labels as $key => $label ): - $output .= ''; -endforeach; - -$output .= '' . '' . ''; - -$i = 0; - -foreach( $data as $season_id => $row ): - - $output .= ''; - - foreach( $labels as $key => $value ): - $output .= ''; - endforeach; - - $output .= ''; - - $i++; - -endforeach; - -$output .= '' . '
' . $label . '
' . sp_array_value( $row, $key, '—' ) . '
' . '
'; - -echo apply_filters( 'sportspress_player_league_performance', $output ); diff --git a/templates/player-performance.php b/templates/player-performance.php deleted file mode 100644 index 3cd861a9..00000000 --- a/templates/player-performance.php +++ /dev/null @@ -1,24 +0,0 @@ - $league - ) ); - endforeach; -endif;