Commit | Line | Data |
---|---|---|
3784888f TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
fee14197 | 4 | | CiviCRM version 5 | |
3784888f | 5 | +--------------------------------------------------------------------+ |
4a99ac35 | 6 | | Copyright CiviCRM LLC (c) 2004-2017 | |
3784888f TO |
7 | +--------------------------------------------------------------------+ |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
10 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
11 | | under the terms of the GNU Affero General Public License | | |
12 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
13 | | | | |
14 | | CiviCRM is distributed in the hope that it will be useful, but | | |
15 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
16 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
17 | | See the GNU Affero General Public License for more details. | | |
18 | | | | |
19 | | You should have received a copy of the GNU Affero General Public | | |
20 | | License and the CiviCRM Licensing Exception along | | |
21 | | with this program; if not, contact CiviCRM LLC | | |
22 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
23 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
24 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
25 | +--------------------------------------------------------------------+ | |
26 | */ | |
27 | ||
28 | /** | |
29 | * | |
30 | * @package CRM | |
4a99ac35 | 31 | * @copyright CiviCRM LLC (c) 2004-2017 |
3784888f TO |
32 | * $Id$ |
33 | * | |
34 | * Settings metadata file | |
35 | */ | |
36 | return array( | |
37 | 'geoAPIKey' => array( | |
38 | 'add' => '4.7', | |
3784888f TO |
39 | 'help_text' => NULL, |
40 | 'is_domain' => 1, | |
41 | 'is_contact' => 0, | |
42 | 'group_name' => 'Map Preferences', | |
43 | 'group' => 'map', | |
44 | 'name' => 'geoAPIKey', | |
45 | 'type' => 'String', | |
46 | 'quick_form_type' => 'Element', | |
47 | 'html_type' => 'text', | |
48 | 'html_attributes' => array( | |
49 | 'size' => '32', | |
50 | 'maxlength' => '64', | |
51 | ), | |
52 | 'default' => NULL, | |
53 | 'title' => 'Geo Provider Key', | |
54 | 'description' => 'Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).', | |
55 | ), | |
56 | 'geoProvider' => array( | |
57 | 'add' => '4.7', | |
3784888f TO |
58 | 'help_text' => NULL, |
59 | 'is_domain' => 1, | |
60 | 'is_contact' => 0, | |
61 | 'group_name' => 'Map Preferences', | |
62 | 'group' => 'map', | |
63 | 'name' => 'geoProvider', | |
64 | 'type' => 'String', | |
1ec598f3 | 65 | 'quick_form_type' => 'Select', |
3784888f | 66 | 'html_type' => 'Select', |
1ec598f3 TO |
67 | 'html_attributes' => array( |
68 | 'class' => 'crm-select2', | |
69 | ), | |
3784888f TO |
70 | 'pseudoconstant' => array( |
71 | 'callback' => 'CRM_Core_SelectValues::geoProvider', | |
72 | ), | |
73 | 'default' => NULL, | |
74 | 'title' => 'Geocoding Provider', | |
89155632 | 75 | 'description' => 'This can be the same or different from the mapping provider selected.', |
3784888f TO |
76 | ), |
77 | 'mapAPIKey' => array( | |
78 | 'add' => '4.7', | |
3784888f TO |
79 | 'help_text' => NULL, |
80 | 'is_domain' => 1, | |
81 | 'is_contact' => 0, | |
82 | 'group_name' => 'Map Preferences', | |
83 | 'group' => 'map', | |
84 | 'name' => 'mapAPIKey', | |
85 | 'type' => 'String', | |
86 | 'quick_form_type' => 'Element', | |
87 | 'html_type' => 'text', | |
88 | 'html_attributes' => array( | |
89 | 'size' => '32', | |
90 | 'maxlength' => '64', | |
91 | ), | |
92 | 'default' => NULL, | |
93 | 'title' => 'Map Provider Key', | |
3301f200 | 94 | 'description' => 'Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google.com for the latest information.', |
3784888f TO |
95 | ), |
96 | 'mapProvider' => array( | |
97 | 'add' => '4.7', | |
3784888f TO |
98 | 'help_text' => NULL, |
99 | 'is_domain' => 1, | |
100 | 'is_contact' => 0, | |
101 | 'group_name' => 'Map Preferences', | |
102 | 'group' => 'map', | |
103 | 'name' => 'mapProvider', | |
104 | 'type' => 'String', | |
1ec598f3 TO |
105 | 'quick_form_type' => 'Select', |
106 | 'html_type' => 'Select', | |
107 | 'html_attributes' => array( | |
108 | 'class' => 'crm-select2', | |
109 | ), | |
3784888f TO |
110 | 'pseudoconstant' => array( |
111 | 'callback' => 'CRM_Core_SelectValues::mapProvider', | |
112 | ), | |
113 | 'default' => NULL, | |
114 | 'title' => 'Mapping Provider', | |
115 | 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.', | |
116 | ), | |
117 | ); |