League => Competition
This commit is contained in:
@@ -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,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,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
|
||||
|
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user