Move maps setting to events tab
This commit is contained in:
@@ -262,7 +262,7 @@ class SP_Admin_Welcome {
|
||||
'title' => __( 'Mode', 'sportspress' ),
|
||||
'id' => 'sportspress_mode',
|
||||
'default' => 'team',
|
||||
'type' => 'select',
|
||||
'type' => 'radio',
|
||||
'options' => array(
|
||||
'team' => __( 'Teams', 'sportspress' ),
|
||||
'player' => __( 'Players', 'sportspress' ),
|
||||
|
||||
@@ -151,6 +151,19 @@ class SP_Settings_Events extends SP_Settings_Page {
|
||||
'type' => 'checkbox',
|
||||
'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(
|
||||
'title' => __( 'Full Time', 'sportspress' ),
|
||||
|
||||
@@ -61,26 +61,13 @@ class SP_Settings_General extends SP_Settings_Page {
|
||||
'title' => __( 'Mode', 'sportspress' ),
|
||||
'id' => 'sportspress_mode',
|
||||
'default' => 'team',
|
||||
'type' => 'select',
|
||||
'type' => 'radio',
|
||||
'options' => array(
|
||||
'team' => __( 'Teams', 'sportspress' ),
|
||||
'player' => __( 'Players', '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(
|
||||
|
||||
Reference in New Issue
Block a user