Move maps setting to events tab
This commit is contained in:
@@ -262,7 +262,7 @@ class SP_Admin_Welcome {
|
|||||||
'title' => __( 'Mode', 'sportspress' ),
|
'title' => __( 'Mode', 'sportspress' ),
|
||||||
'id' => 'sportspress_mode',
|
'id' => 'sportspress_mode',
|
||||||
'default' => 'team',
|
'default' => 'team',
|
||||||
'type' => 'select',
|
'type' => 'radio',
|
||||||
'options' => array(
|
'options' => array(
|
||||||
'team' => __( 'Teams', 'sportspress' ),
|
'team' => __( 'Teams', 'sportspress' ),
|
||||||
'player' => __( 'Players', 'sportspress' ),
|
'player' => __( 'Players', 'sportspress' ),
|
||||||
|
|||||||
@@ -152,6 +152,19 @@ class SP_Settings_Events extends SP_Settings_Page {
|
|||||||
'checkboxgroup' => 'end',
|
'checkboxgroup' => 'end',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
array(
|
||||||
|
'title' => __( 'Google Maps', 'sportspress' ),
|
||||||
|
'id' => 'sportspress_map_type',
|
||||||
|
'default' => 'ROADMAP',
|
||||||
|
'type' => 'radio',
|
||||||
|
'options' => array(
|
||||||
|
'ROADMAP' => __( 'Default', 'sportspress' ),
|
||||||
|
'SATELLITE' => __( 'Satellite', 'sportspress' ),
|
||||||
|
'HYBRID' => __( 'Hybrid', 'sportspress' ),
|
||||||
|
'TERRAIN' => __( 'Terrain', 'sportspress' ),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'title' => __( 'Full Time', 'sportspress' ),
|
'title' => __( 'Full Time', 'sportspress' ),
|
||||||
'id' => 'sportspress_event_minutes',
|
'id' => 'sportspress_event_minutes',
|
||||||
|
|||||||
@@ -61,26 +61,13 @@ class SP_Settings_General extends SP_Settings_Page {
|
|||||||
'title' => __( 'Mode', 'sportspress' ),
|
'title' => __( 'Mode', 'sportspress' ),
|
||||||
'id' => 'sportspress_mode',
|
'id' => 'sportspress_mode',
|
||||||
'default' => 'team',
|
'default' => 'team',
|
||||||
'type' => 'select',
|
'type' => 'radio',
|
||||||
'options' => array(
|
'options' => array(
|
||||||
'team' => __( 'Teams', 'sportspress' ),
|
'team' => __( 'Teams', 'sportspress' ),
|
||||||
'player' => __( 'Players', 'sportspress' ),
|
'player' => __( 'Players', 'sportspress' ),
|
||||||
),
|
),
|
||||||
'desc_tip' => _x( 'Who competes in events?', 'mode setting description', 'sportspress' ),
|
'desc_tip' => _x( 'Who competes in events?', 'mode setting description', 'sportspress' ),
|
||||||
),
|
),
|
||||||
|
|
||||||
array(
|
|
||||||
'title' => __( 'Google Maps', 'sportspress' ),
|
|
||||||
'id' => 'sportspress_map_type',
|
|
||||||
'default' => 'ROADMAP',
|
|
||||||
'type' => 'select',
|
|
||||||
'options' => array(
|
|
||||||
'ROADMAP' => __( 'Default', 'sportspress' ),
|
|
||||||
'SATELLITE' => __( 'Satellite', 'sportspress' ),
|
|
||||||
'HYBRID' => __( 'Hybrid', 'sportspress' ),
|
|
||||||
'TERRAIN' => __( 'Terrain', 'sportspress' ),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
)),
|
)),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
|
|||||||
Reference in New Issue
Block a user