League => Competition

This commit is contained in:
Brian Miyaji
2014-12-09 18:09:38 +11:00
parent 1b882d8c1c
commit 675cf3774f
11 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
Number,Name,Positions,Teams,Leagues,Seasons,Nationality
Number,Name,Positions,Teams,Competitions,Seasons,Nationality
1,Joe Allen,Goalkeeper,Essendon Eagles,Primary League|Secondary League,2014,AU
3,Steven Gerrard,Defender,Carlton Kangaroos,Primary League,2014|2013,US
5,Daniel Sturridge,Midfielder|Forward,Southbank Sharks,Primary League|Secondary League,2014|2013,GB
1 Number Name Positions Teams Leagues Competitions Seasons Nationality
2 1 Joe Allen Goalkeeper Essendon Eagles Primary League|Secondary League Primary League|Secondary League 2014 AU
3 3 Steven Gerrard Defender Carlton Kangaroos Primary League Primary League 2014|2013 US
4 5 Daniel Sturridge Midfielder|Forward Southbank Sharks Primary League|Secondary League Primary League|Secondary League 2014|2013 GB

View File

@@ -1,4 +1,4 @@
Name,Jobs,Teams,Leagues,Seasons,Nationality
Name,Jobs,Teams,Competitions,Seasons,Nationality
Bobby Brown,Coach,Essendon Eagles,Primary League|Secondary League,2014,AU
Charles Johnson,Assistant Coach,Kensington Kangaroos,Primary League,2014,GB
Matt Smith,Waterboy,Southbank Sharks,Primary League|Secondary League,2013|2014,AU
1 Name Jobs Teams Leagues Competitions Seasons Nationality
2 Bobby Brown Coach Essendon Eagles Primary League|Secondary League Primary League|Secondary League 2014 AU
3 Charles Johnson Assistant Coach Kensington Kangaroos Primary League Primary League 2014 GB
4 Matt Smith Waterboy Southbank Sharks Primary League|Secondary League Primary League|Secondary League 2013|2014 AU

View File

@@ -1,4 +1,4 @@
Name,Leagues,Seasons,Site URL,Abbreviation,Home
Name,Competitions,Seasons,Site URL,Abbreviation,Home
Essendon Eagles,Primary League|Secondary League,2014,http://tboy.co/eagles,EAGLES,Little Park
Southbank Sharks,Primary League|Secondary League,2014|2013,http://tboy.co/sharks,SHARKS
Carlton Kangaroos,Primary League,2014|2013,http://tboy.co/roos,ROOS,Big Stadium
1 Name,Leagues,Seasons,Site URL,Abbreviation,Home Name,Competitions,Seasons,Site URL,Abbreviation,Home
2 Essendon Eagles,Primary League|Secondary League,2014,http://tboy.co/eagles,EAGLES,Little Park Essendon Eagles,Primary League|Secondary League,2014,http://tboy.co/eagles,EAGLES,Little Park
3 Southbank Sharks,Primary League|Secondary League,2014|2013,http://tboy.co/sharks,SHARKS Southbank Sharks,Primary League|Secondary League,2014|2013,http://tboy.co/sharks,SHARKS
4 Carlton Kangaroos,Primary League,2014|2013,http://tboy.co/roos,ROOS,Big Stadium Carlton Kangaroos,Primary League,2014|2013,http://tboy.co/roos,ROOS,Big Stadium

View File

@@ -468,8 +468,8 @@ if ( class_exists( 'WP_Importer' ) ) {
<td class="forminp forminp-radio" id="sp_formatdiv">
<fieldset id="post-formats-select">
<ul>
<li><input type="radio" name="sp_format" class="post-format" id="post-format-league" value="league" checked="checked"> <label for="post-format-league" class="post-format-icon post-format-league">League</label></li>
<li><input type="radio" name="sp_format" class="post-format" id="post-format-friendly" value="friendly"> <label for="post-format-friendly" class="post-format-icon post-format-friendly">Friendly</label></li>
<li><input type="radio" name="sp_format" class="post-format" id="post-format-league" value="league" checked="checked"> <label for="post-format-league" class="post-format-icon post-format-league"><?php _e( 'Competitive', 'sportspress' ); ?></label></li>
<li><input type="radio" name="sp_format" class="post-format" id="post-format-friendly" value="friendly"> <label for="post-format-friendly" class="post-format-icon post-format-friendly"><?php _e( 'Friendly', 'sportspress' ); ?></label></li>
<br>
</fieldset>
</td>

View File

@@ -112,7 +112,7 @@ class SP_Admin_CPT_Calendar extends SP_Admin_CPT {
$selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
$args = array(
'show_option_all' => __( 'Show all leagues', 'sportspress' ),
'show_option_all' => __( 'Show all competitions', 'sportspress' ),
'taxonomy' => 'sp_league',
'name' => 'sp_league',
'selected' => $selected

View File

@@ -147,7 +147,7 @@ class SP_Admin_CPT_Player extends SP_Admin_CPT {
$selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
$args = array(
'show_option_all' => __( 'Show all leagues', 'sportspress' ),
'show_option_all' => __( 'Show all competitions', 'sportspress' ),
'taxonomy' => 'sp_league',
'name' => 'sp_league',
'selected' => $selected

View File

@@ -131,7 +131,7 @@ class SP_Admin_CPT_Staff extends SP_Admin_CPT {
$selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
$args = array(
'show_option_all' => __( 'Show all leagues', 'sportspress' ),
'show_option_all' => __( 'Show all competitions', 'sportspress' ),
'taxonomy' => 'sp_league',
'name' => 'sp_league',
'selected' => $selected

View File

@@ -83,7 +83,7 @@ class SP_Admin_CPT_Table extends SP_Admin_CPT {
$selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
$args = array(
'show_option_all' => __( 'Show all leagues', 'sportspress' ),
'show_option_all' => __( 'Show all competitions', 'sportspress' ),
'taxonomy' => 'sp_league',
'name' => 'sp_league',
'selected' => $selected

View File

@@ -108,7 +108,7 @@ class SP_Admin_CPT_Team extends SP_Admin_CPT {
$selected = isset( $_REQUEST['sp_league'] ) ? $_REQUEST['sp_league'] : null;
$args = array(
'show_option_all' => __( 'Show all leagues', 'sportspress' ),
'show_option_all' => __( 'Show all competitions', 'sportspress' ),
'taxonomy' => 'sp_league',
'name' => 'sp_league',
'selected' => $selected

View File

@@ -77,7 +77,7 @@ class SP_AJAX {
<p>
<label>
<input class="checkbox" type="checkbox" name="show_league">
<?php _e( 'Display league', 'sportspress' ); ?>
<?php _e( 'Display competition', 'sportspress' ); ?>
</label>
</p>
<p class="submit">

View File

@@ -97,7 +97,7 @@ class SP_Widget_Countdown extends WP_Widget {
<label for="<?php echo $this->get_field_id('show_venue'); ?>"><?php _e( 'Display venue', 'sportspress' ); ?></label></p>
<p><input class="checkbox" type="checkbox" id="<?php echo $this->get_field_id('show_league'); ?>" name="<?php echo $this->get_field_name('show_league'); ?>" value="1" <?php checked( $show_league, 1 ); ?>>
<label for="<?php echo $this->get_field_id('show_league'); ?>"><?php _e( 'Display league', 'sportspress' ); ?></label></p>
<label for="<?php echo $this->get_field_id('show_league'); ?>"><?php _e( 'Display competition', 'sportspress' ); ?></label></p>
<?php
// Action to hook into