Merge pull request #9110 from twomice/CRM-19408_extension_getremote_api
[civicrm-core.git] / settings / Map.setting.php
index 83a2be2e8e282afbe678a40f9d01d9cff4c68fa4..8d4a5e0bfa55dc9c4c5e80e9c9dd5c7d58323337 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2016
  * $Id$
  *
  * Settings metadata file
@@ -36,8 +36,6 @@
 return array(
   'geoAPIKey' => array(
     'add' => '4.7',
-    'prefetch' => 1,
-    'config_only' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -57,8 +55,6 @@ return array(
   ),
   'geoProvider' => array(
     'add' => '4.7',
-    'prefetch' => 1,
-    'config_only' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -66,8 +62,11 @@ return array(
     'group' => 'map',
     'name' => 'geoProvider',
     'type' => 'String',
-    'quick_form_type' => 'Element',
+    'quick_form_type' => 'Select',
     'html_type' => 'Select',
+    'html_attributes' => array(
+      'class' => 'crm-select2',
+    ),
     'pseudoconstant' => array(
       'callback' => 'CRM_Core_SelectValues::geoProvider',
     ),
@@ -77,8 +76,6 @@ return array(
   ),
   'mapAPIKey' => array(
     'add' => '4.7',
-    'prefetch' => 1,
-    'config_only' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -98,8 +95,6 @@ return array(
   ),
   'mapProvider' => array(
     'add' => '4.7',
-    'prefetch' => 1,
-    'config_only' => 1,
     'help_text' => NULL,
     'is_domain' => 1,
     'is_contact' => 0,
@@ -107,8 +102,11 @@ return array(
     'group' => 'map',
     'name' => 'mapProvider',
     'type' => 'String',
-    'quick_form_type' => 'Element',
-    'html_type' => 'Select ',
+    'quick_form_type' => 'Select',
+    'html_type' => 'Select',
+    'html_attributes' => array(
+      'class' => 'crm-select2',
+    ),
     'pseudoconstant' => array(
       'callback' => 'CRM_Core_SelectValues::mapProvider',
     ),