Display league tables on team pages close #44
This commit is contained in:
@@ -12,9 +12,7 @@ $strings = 'tinyMCE.addI18n({' . _WP_Editors::$mce_locale . ':{
|
||||
countdown: "' . esc_js( __( 'Countdown', 'sportspress' ) ) . '",
|
||||
performance: "' . esc_js( __( 'Performance', 'sportspress' ) ) . '",
|
||||
calendar: "' . esc_js( __( 'Calendar', 'sportspress' ) ) . '",
|
||||
team: "' . esc_js( __( 'Team', 'sportspress' ) ) . '",
|
||||
statistics: "' . esc_js( __( 'Statistics', 'sportspress' ) ) . '",
|
||||
table_columns: "' . esc_js( __( 'Table Columns', 'sportspress' ) ) . '",
|
||||
league_table: "' . esc_js( __( 'League Table', 'sportspress' ) ) . '",
|
||||
player_list: "' . esc_js( __( 'Player List', 'sportspress' ) ) . '",
|
||||
list: "' . esc_js( __( 'List', 'sportspress' ) ) . '",
|
||||
|
||||
@@ -88,21 +88,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
text: ed.getLang( 'sportspress.team' ),
|
||||
menu: [
|
||||
{
|
||||
text: ed.getLang( 'sportspress.table_columns' ),
|
||||
onclick: function() {
|
||||
// triggers the thickbox
|
||||
var width = jQuery(window).width(), H = jQuery(window).height(), W = ( 720 < width ) ? 720 : width;
|
||||
W = W - 80;
|
||||
H = H - 84;
|
||||
tb_show( ed.getLang( 'sportspress.team' ) + ' - ' + ed.getLang( 'sportspress.table_columns' ), 'admin-ajax.php?action=sportspress_team_columns_shortcode&width=' + W + '&height=' + H );
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
text: ed.getLang( 'sportspress.league_table' ),
|
||||
onclick : function() {
|
||||
|
||||
Reference in New Issue
Block a user